Function at 0x4101c0
Capabilities:
Check for time delay via gettickcount
Create thread
Delete file
Move file
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x495f79
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x4bc4a0]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc4a0]
xor eax, esp
push eax
lea eax, [esp + 0x370]
mov dword fs:[0], eax
mov esi, dword [esp + 0x384]
lea edi, [esi + 8]
push edi
call fcn.0040d740
add esp, 4
test al, al
jne 0x41021c
mov eax, 0xffffff43
jmp 0x4114ca
push edi
call fcn.0040d710
add esp, 4
test al, al
je 0x41023a
test byte [esp + 0x388], 8
je 0x410291
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x103
lea eax, [esp + 0x26d]
push 0
push eax
mov byte [esp + 0x274], 0
call fcn.00466720
lea edx, [esp + 0x274]
add esp, 0xc
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x410264
lea eax, [esi + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410274
sub eax, edx
add eax, 7
cmp eax, 0x104
jb 0x41029b
mov eax, 0xffffff48
jmp 0x4114ca
mov eax, 0xffffff44
jmp 0x4114ca
lea eax, [esi + 8]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4102a0
mov ecx, dword [str..tq.dat]
mov dword [eax], ecx
mov edx, dword [0x49d434]
push esi
mov dword [eax + 4], edx
call fcn.0041e630
add esp, 4
test al, al
je 0x4102da
test byte [esp + 0x388], 4
jne 0x4102da
mov eax, 0xffffff3f
jmp 0x4114ca
lea eax, [esp + 0x20]
push eax
xor bl, bl
push esi
mov dword [esp + 0x28], 0xffffffff
mov byte [esp + 0x1f], bl
call fcn.0041e9a0
add esp, 8
test al, al
je 0x41035a
mov ebp, dword [esi + 0xa14]
xor edi, edi
mov bl, 1
test ebp, ebp
jle 0x41032c
mov ecx, dword [esi + 0xa18]
add ecx, 0x1c
mov eax, dword [ecx]
cdq
add dword [esi + 0xa80], eax
adc dword [esi + 0xa84], edx
inc edi
add ecx, 0x28
cmp edi, dword [esi + 0xa14]
jl 0x410311
xor ecx, ecx
test ebp, ebp
jle 0x41035a
mov eax, dword [esi + 0xa18]
add eax, 0x20
jmp 0x410340
cmp byte [eax], 0
je 0x410353
inc ecx
add eax, 0x28
cmp ecx, dword [esi + 0xa14]
jl 0x410340
jmp 0x41035a
mov byte [esp + 0x17], 1
xor bl, bl
test byte [esp + 0x388], 0x10
jne 0x410385
cmp dword [esp + 0x20], 0xffffffff
jne 0x410385
lea eax, [esi + 8]
push eax
call fcn.0040d710
add esp, 4
test al, al
je 0x410385
mov eax, 0xffffff45
jmp 0x4114ca
test byte [esp + 0x388], 2
jne 0x41039d
test bl, bl
je 0x41039d
mov eax, 0xffffff3e
jmp 0x4114ca
cmp byte [esp + 0x17], 0
je 0x4103b8
lea eax, [esi + 8]
push eax
call fcn.0040d710
add esp, 4
test al, al
jne 0x4103b8
mov byte [esp + 0x17], al
mov ecx, dword [0x4bdcf8]
mov ecx, dword [ecx + 0x280]
lea edi, [esi + 8]
push edi
call fcn.00422590
mov eax, dword [0x4bdcf8]
mov ecx, dword [eax + 0x280]
lea edx, [esp + 0x268]
push edx
call fcn.00422590
push esi
call fcn.0041ef00
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [esp + 0x17], 0
mov dword [esi + 0xa7c], eax
je 0x410454
mov eax, dword [esp + 0x380]
push esi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esi + 0x210]
push edx
push eax
call fcn.00417fc0
mov ecx, dword [esi + 0xa64]
mov ebp, dword [esi + 0xa60]
add esp, 0x10
test ecx, ecx
jl 0x4105a6
jg 0x41043c
test ebp, ebp
jbe 0x4105a6
cmp ebp, eax
jne 0x410448
cmp ecx, edx
je 0x4105a6
mov dword [esi + 0xa60], eax
mov dword [esi + 0xa64], edx
xor ebx, ebx
mov edi, 1
mov dword [esp + 0x1c], edi
mov dword [esi + 0xa80], ebx
mov dword [esi + 0xa84], ebx
cmp dword [esi + 0xa60], ebx
jne 0x4104a4
cmp dword [esi + 0xa64], ebx
jne 0x4104aa
mov edx, dword [esp + 0x380]
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x210]
push ecx
push edx
call fcn.00417fc0
add esp, 0x10
mov dword [esi + 0xa60], eax
mov dword [esi + 0xa64], edx
cmp dword [esi + 0xa64], ebx
jg 0x410658
jl 0x4104be
cmp dword [esi + 0xa60], ebx
ja 0x410658
lea ebp, [esi + 0x210]
push esi
push ebp
call fcn.0041a700
add esp, 8
cmp edx, ebx
mov dword [esi + 0xa60], eax
mov dword [esi + 0xa64], edx
jg 0x410654
jl 0x4104ec
cmp eax, ebx
ja 0x410654
mov dword [esp + 0x18], ebx
cmp dword [esi], ebx
jne 0x410546
mov ecx, dword [esp + 0x380]
push esi
lea eax, [esp + 0x20]
push eax
push ebp
push ecx
call fcn.00417fc0
add esp, 0x10
cmp edx, ebx
mov dword [esi + 0xa60], eax
mov dword [esi + 0xa64], edx
jg 0x410546
jl 0x410521
cmp eax, ebx
ja 0x410546
xor edi, edi
cmp dword [esi], ebx
jne 0x410538
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x3c
jl 0x410523
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 1
mov dword [esp + 0x18], eax
jl 0x4104f0
cmp dword [esi + 0xa64], ebx
jg 0x410658
jl 0x410560
cmp dword [esi + 0xa60], ebx
ja 0x410658
push str.try_single_thread_down
call fcn.00416810
mov eax, dword [esp + 0x384]
push esi
lea edx, [esp + 0x5c]
push edx
push ebp
push eax
call fcn.00418010
add esp, 0x14
test eax, eax
je 0x41064a
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esi + 0xa60], ecx
mov dword [esi + 0xa64], edx
mov dword [esp + 0x1c], ebx
jmp 0x410658
push 0
push 0x40000080
push 3
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x80
push str...p2psrc_srcdown.cpp
push edi
push eax
push str.__file_in:_0x_x:_s__file:__s:_u
mov dword [esi + 0xa10], eax
call fcn.00416770
add esp, 0x14
cmp dword [esi + 0xa10], 0xffffffff
jne 0x4105f1
mov eax, 0xffffff47
jmp 0x4114ca
mov ecx, dword [esp + 0x20]
push ecx
push esi
call fcn.0041f1d0
add esp, 8
test al, al
jne 0x4107a5
mov edx, dword [esi + 0xa10]
push 0x86
push str...p2psrc_srcdown.cpp
push edx
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
test eax, eax
je 0x410640
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], 0
mov eax, 0xffffff4d
jmp 0x4114ca
mov eax, 0xffffff41
jmp 0x4114ca
mov dword [esp + 0x1c], edi
mov ecx, dword [esi + 0xa64]
mov edx, dword [esi + 0xa60]
lea ebp, [esi + 0xa18]
push ebp
lea eax, [esi + 0xa14]
push eax
push ecx
push edx
call fcn.0040bcd0
add esp, 0x10
test eax, eax
jne 0x41068a
mov eax, 0xffffff3c
jmp 0x4114ca
mov eax, dword [esi + 0xa64]
mov ecx, dword [esi + 0xa60]
push eax
push ecx
lea edi, [esi + 8]
push edi
call fcn.0040d8c0
add esp, 0xc
test eax, eax
jne 0x4106b2
mov eax, 0xffffff4b
jmp 0x4114ca
push ebx
push 0x40000080
push 2
push ebx
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0xc0
push str...p2psrc_srcdown.cpp
push edi
push eax
push str.__file_in:_0x_x:_s__file:__s:_u
mov dword [esi + 0xa10], eax
call fcn.00416770
add esp, 0x14
cmp dword [esi + 0xa10], 0xffffffff
jne 0x4106fb
mov eax, 0xffffff46
jmp 0x4114ca
cmp dword [esp + 0x1c], ebx
je 0x4114a4
cmp dword [esi + 0xa64], ebx
jl 0x4114a4
jg 0x410723
cmp dword [esi + 0xa60], 0x32000
jb 0x4114a4
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
jne 0x410781
lea edx, [esp + 0x20]
push edx
push esi
call fcn.0041fc70
add esp, 8
test al, al
jne 0x4107a5
mov eax, dword [esi + 0xa10]
push 0xcf
push str...p2psrc_srcdown.cpp
push eax
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
test eax, eax
je 0x410777
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], 0
mov eax, 0xffffff4c
jmp 0x4114ca
push eax
push esi
call fcn.0041f1d0
add esp, 8
test al, al
jne 0x4107a5
mov ecx, dword [esi + 0xa10]
push 0xd7
push str...p2psrc_srcdown.cpp
push ecx
jmp 0x410618
xor ebx, ebx
cmp dword [esi + 0xa14], ebx
jg 0x4107ee
mov edx, dword [esi + 0xa10]
push 0xdf
push str...p2psrc_srcdown.cpp
push edx
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
cmp eax, ebx
je 0x4107e4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], ebx
mov eax, 0xffffff3d
jmp 0x4114ca
cmp dword [esi], ebx
je 0x410831
mov eax, dword [esi + 0xa10]
push 0xe5
push str...p2psrc_srcdown.cpp
push eax
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
cmp eax, ebx
je 0x410827
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], ebx
mov eax, 0xffffff39
jmp 0x4114ca
lea ecx, [esp + 0x24]
push ecx
push ebx
push esi
push 0x40e420
push ebx
push ebx
call fcn.00466665
push 0xec
push str...p2psrc_srcdown.cpp
lea edx, [esp + 0x44]
mov edi, eax
push edx
push edi
push str.__thrd:_0x_x:0x_x__file:__s:_u
mov dword [esp + 0x48], edi
call fcn.00416770
add esp, 0x2c
push edi
mov ecx, esi
call fcn.0040e1b0
lea ebp, [esi + 0xbec]
mov ecx, ebp
call fcn.00426530
mov edi, eax
push edi
push edi
push esi
call fcn.0040c6c0
add esp, 8
push eax
push esi
call fcn.0040f030
add esp, 0xc
test al, al
jne 0x4108d3
mov eax, dword [esi + 0xa10]
push 0xf3
push str...p2psrc_srcdown.cpp
push eax
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
cmp eax, ebx
je 0x4108cc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], ebx
xor eax, eax
jmp 0x4114ca
cmp dword [edi + 4], ebx
jne 0x410914
mov ebx, 4
lea ecx, [ecx]
push edi
mov ecx, ebp
call fcn.00428690
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x410902
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0xc20]
call fcn.004100c0
sub ebx, 1
jne 0x4108e0
mov edx, dword [esi + 0xc50]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor edi, edi
cmp dword [esi + 0xa14], ebx
jle 0x410942
mov ecx, dword [esi + 0xa18]
add ecx, 0x1c
mov eax, dword [ecx]
cdq
add dword [esi + 0xa58], eax
adc dword [esi + 0xa5c], edx
inc edi
add ecx, 0x28
cmp edi, dword [esi + 0xa14]
jl 0x410927
cmp byte [esi + 0xa68], 0
je 0x41096d
mov eax, dword [esi + 0xa74]
mov ecx, dword [esi + 0xa38]
push 0x40e440
push esi
push eax
add ecx, 0x23c34600
push ecx
call fcn.0042b250
add esp, 0x10
lea edx, [esp + 0x24]
push edx
push ebx
lea eax, [esp + 0x50]
push eax
push 0x41c3f0
push ebx
push ebx
mov dword [esp + 0x60], esi
call fcn.00466665
push 0x11a
push str...p2psrc_srcdown.cpp
lea ecx, [esp + 0x44]
push ecx
push eax
push str.__thrd:_0x_x:0x_x__file:__s:_u
mov dword [esp + 0x58], eax
call fcn.00416770
add esp, 0x2c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0xa88]
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0xa8c]
push edi
push edx
mov dword [esi + 0xb94], eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [esi], ebx
jne 0x410ceb
mov ecx, dword [edi]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x410b9e
cmp dword [esp + 0x28], 0x103
je 0x410b9e
push str.dl_insert_res
call fcn.00416810
mov edx, dword [esi + 0xc30]
sub edx, dword [esi + 0xc2c]
lea ebp, [esi + 0xc20]
add esp, 4
test edx, 0xfffffffc
je 0x410b2e
lea ecx, [esp + 0x30]
call fcn.0040fde0
lea edi, [esi + 0xc38]
push edi
mov dword [esp + 0x37c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
lea ecx, [esp + 0x34]
call fcn.00410130
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp ebp, eax
jbe 0x410a66
call fcn.0046814b
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
lea ebx, [ebx]
mov ebx, eax
cmp dword [esp + 0x3c], eax
jbe 0x410a7d
call fcn.0046814b
test edi, edi
je 0x410a87
cmp edi, dword [esp + 0x30]
je 0x410a8c
call fcn.0046814b
cmp ebp, ebx
je 0x410af5
test edi, edi
jne 0x410aed
call fcn.0046814b
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x410aa5
call fcn.0046814b
test edi, edi
jne 0x410af1
call fcn.0046814b
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x410aba
call fcn.0046814b
mov eax, dword [ebp]
push eax
push eax
push esi
call fcn.0040c6c0
add esp, 8
push eax
push esi
call fcn.0040f030
add esp, 0xc
push ebp
push edi
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040fa30
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [esp + 0x40]
jmp 0x410a70
mov eax, dword [edi]
jmp 0x410a9b
mov eax, dword [edi]
jmp 0x410ab0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x378], 0xffffffff
test eax, eax
je 0x410b11
push eax
call fcn.0042ec92
add esp, 4
mov ecx, dword [esp + 0x30]
xor eax, eax
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.0042ec92
add esp, 4
xor ebx, ebx
mov edx, dword [esi + 0xa8c]
push 0x139
push str...p2psrc_srcdown.cpp
push edx
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa8c]
add esp, 0x10
cmp eax, ebx
je 0x410b63
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa8c], ebx
lea eax, [esp + 0x24]
push eax
push ebx
push esi
push 0x40e420
push ebx
push ebx
call fcn.00466665
push 0x13a
push str...p2psrc_srcdown.cpp
lea ecx, [esp + 0x44]
push ecx
push eax
push str.__thrd:_0x_x:0x_x__file:__s:_u
mov dword [esi + 0xa8c], eax
call fcn.00416770
add esp, 0x2c
jmp 0x410e38
mov ebp, 1
xor edi, edi
cmp dword [esi + 0xa88], ebp
jle 0x410bf4
lea ebx, [esi + 0xa90]
mov eax, dword [ebx]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x410bcf
cmp dword [esp + 0x28], 0x103
jne 0x410bdd
inc ebp
add ebx, 4
cmp ebp, dword [esi + 0xa88]
jl 0x410bb3
jmp 0x410bf2
mov ecx, dword [esi + ebp*4 + 0xa8c]
push ecx
lea ecx, [esi + 0xbec]
call fcn.00426460
mov edi, eax
xor ebx, ebx
mov edx, dword [esi + ebp*4 + 0xa8c]
push edx
mov ecx, esi
call fcn.0040e1e0
test al, al
je 0x410e5c
cmp edi, ebx
je 0x410e6e
cmp dword [edi], ebx
jne 0x410c23
cmp dword [edi + 8], ebx
je 0x410c23
mov dword [edi + 8], 3
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x410c44
cmp eax, 3
je 0x410c44
mov dword [edi + 0x18], ebx
cmp dword [esi + 0xa88], 1
jle 0x410ceb
jmp 0x410e38
push edi
push esi
call fcn.0040c6c0
add esp, 8
cmp eax, ebx
jne 0x410c8e
cmp dword [edi + 4], 3
jne 0x410c80
mov eax, dword [edi + 0x58]
push 0x167
push str...p2psrc_srcdown.cpp
push eax
push str.__sock_cls:_0x_x__file:__s:_u
call fcn.00416770
mov ecx, dword [edi + 0x58]
add esp, 0x10
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 0x58], ebx
mov dword [edi + 0x18], ebx
cmp dword [esi + 0xa88], 1
jle 0x410ceb
jmp 0x410ca1
push edi
push eax
push esi
call fcn.0040f140
add esp, 0xc
test al, al
je 0x410e80
cmp dword [esi + 0xb8c], ebx
jle 0x410e19
cmp dword [esi + 0xb90], ebx
jne 0x410e0d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xb94]
cmp eax, dword [esi + 0xb8c]
jbe 0x410e19
push esi
mov byte [esi + 0xb98], 1
call fcn.0040e770
push str.down_time_out
call fcn.004168b0
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esi + 0xb9c]
push ecx
call edi
push esi
call fcn.00420380
mov edx, dword [esi + 0xc50]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0040e1e0
mov eax, dword [esi + 0xa88]
cmp eax, ebx
je 0x410d38
push 0xffffffffffffffff
push 1
lea ecx, [esi + 0xa8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esi + 0xc54]
push eax
call edi
mov edi, dword [esp + 0x2c]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x19a
push str...p2psrc_srcdown.cpp
push edi
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
add esp, 0x10
cmp edi, ebx
je 0x410d71
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0xa38]
add ecx, 0x35a4e900
push ecx
call fcn.0042a610
mov edx, dword [esi + 0xa38]
add edx, 0x23c34600
push edx
call fcn.0042a610
add esp, 8
cmp dword [esi], ebx
je 0x410e92
cmp dword [esi + 0xc5c], ebx
je 0x410dc0
mov ecx, dword [0x4bdcf8]
mov ecx, dword [ecx + 0x280]
lea eax, [esi + 0xbc9]
push eax
call fcn.00422030
mov edx, dword [esi + 0xa10]
push 0x1a4
push str...p2psrc_srcdown.cpp
push edx
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
cmp eax, ebx
je 0x410df5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], ebx
movzx eax, byte [esi + 0xb98]
neg eax
sbb eax, eax
and eax, 0x16
add eax, 0xffffff39
jmp 0x4114ca
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb94], eax
push ebx
lea edx, [esi + 0xb90]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
call fcn.00420380
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0xa88]
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0xa8c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [esi], ebx
je 0x4109d4
jmp 0x410ceb
push str.erase_thread_err
call fcn.004168b0
add esp, 4
jmp 0x410ceb
push str.dl_no_find_res
call fcn.004168b0
add esp, 4
jmp 0x410ceb
push str.down_err
call fcn.004168b0
add esp, 4
jmp 0x410ceb
xor ebp, ebp
xor ecx, ecx
cmp dword [esi + 0xa14], ebp
mov bl, 1
jle 0x410ec5
mov eax, dword [esi + 0xa18]
add eax, 0x20
lea esp, [esp]
cmp byte [eax], 0
je 0x410ec3
inc ecx
add eax, 0x28
cmp ecx, dword [esi + 0xa14]
jl 0x410eb0
jmp 0x410ec5
xor bl, bl
cmp dword [esi + 0xc58], ebp
je 0x410ef3
cmp byte [esi + 0xbc9], 0
lea eax, [esi + 0xbc9]
mov dword [esi + 0xc58], ebp
je 0x410ef3
push eax
mov eax, dword [0x4bdcf8]
mov ecx, dword [eax + 0x280]
call fcn.00422030
mov ecx, dword [esi + 0xa10]
push 0x1bd
push str...p2psrc_srcdown.cpp
push ecx
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
cmp eax, ebp
je 0x410f28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], ebp
test bl, bl
je 0x411424
mov edx, dword [esi + 0xa14]
mov eax, dword [esi + 0xa18]
lea edi, [esi + 0xba8]
push edi
push edx
push eax
call fcn.0040b370
add esp, 0xc
test eax, eax
jne 0x410f5b
mov eax, 0xffffff49
jmp 0x4114ca
mov ecx, dword [esi + 0xa58]
mov edx, dword [0x4bdcf8]
mov dword [edx + 0x278], ecx
mov eax, dword [esi + 0xa5c]
mov ecx, dword [0x4bdcf8]
mov dword [ecx + 0x27c], eax
mov edx, dword [0x4bdcf8]
mov eax, dword [edx + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x4bdcf8]
add edx, 0x14
cmp byte [edx], 0
jne 0x410fac
mov ecx, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x410fa2
mov ecx, dword [0x4bdcf8]
mov edx, dword [ecx + 0x284]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x103
lea eax, [esp + 0x169]
push ebp
push eax
mov byte [esp + 0x170], 0
call fcn.00466720
lea eax, [esi + 8]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410fe3
lea ecx, [esi + 8]
lea edi, [esp + 0x164]
sub eax, edx
sub edi, ecx
mov dl, byte [ecx]
mov byte [ecx + edi], dl
inc ecx
test dl, dl
jne 0x410ff8
mov ecx, dword [esp + 0x20]
mov byte [esp + eax + 0x15d], dl
push ecx
lea edx, [esp + 0x168]
push edx
push esi
call fcn.0041f730
add esp, 0xc
test al, al
je 0x410640
push 1
lea eax, [esp + 0x168]
push eax
lea ebx, [esi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x411229
push 0xa00000
call fcn.0042ec9d
push 0x1d7
mov edi, eax
push str...p2psrc_srcdown.cpp
push edi
push str.__new:_0x_x__file:__s:_u
call fcn.004166d0
add esp, 0x14
test edi, edi
je 0x4110c2
push 0
push 0x80
push 3
push 0
push 3
push accept
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x1de
push str...p2psrc_srcdown.cpp
mov ebp, eax
push ebx
push ebp
push str.__file_in:_0x_x:_s__file:__s:_u
call fcn.00416770
add esp, 0x14
cmp ebp, 0xffffffff
jne 0x4110cc
push 0x1e1
push str...p2psrc_srcdown.cpp
push edi
push str.__del:_0x_x__file:__s:_u
call fcn.004166d0
push edi
call fcn.0042ec92
add esp, 0x14
mov eax, 0xffffff4a
jmp 0x4114ca
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
lea ecx, [esp + 0x17c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x1e6
push str...p2psrc_srcdown.cpp
lea edx, [esp + 0x16c]
push edx
mov ebx, eax
push ebx
push str.__file_in:_0x_x:_s__file:__s:_u
call fcn.00416770
add esp, 0x14
cmp ebx, 0xffffffff
jne 0x41115b
push 0x1e9
push str...p2psrc_srcdown.cpp
push edi
push str.__del:_0x_x__file:__s:_u
call fcn.004166d0
push edi
call fcn.0042ec92
push 0x1ea
push str...p2psrc_srcdown.cpp
push ebp
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
add esp, 0x24
test ebp, ebp
je 0x411151
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffff4a
jmp 0x4114ca
push 0
lea eax, [esp + 0x1c]
push eax
push 0xa00000
push edi
push ebp
mov byte [esp + 0x2b], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4111bd
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x4111bd
push 0
lea ecx, [esp + 0x50]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4111b8
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x4c]
jne 0x4111b8
push 0
lea eax, [esp + 0x1c]
push eax
push 0xa00000
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x411178
jmp 0x4111bd
mov byte [esp + 0x17], 0
push 0x203
push str...p2psrc_srcdown.cpp
push edi
push str.__del:_0x_x__file:__s:_u
call fcn.004166d0
push edi
call fcn.0042ec92
push 0x204
push str...p2psrc_srcdown.cpp
push ebx
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
add esp, 0x24
test ebx, ebx
je 0x4111fb
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x205
push str...p2psrc_srcdown.cpp
push ebp
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
add esp, 0x10
test ebp, ebp
je 0x41121e
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x17], 0
je 0x4110c2
push 0x258
call fcn.0042ec63
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x378], 1
test eax, eax
je 0x411254
mov ecx, eax
call fcn.00424d90
mov edi, eax
jmp 0x411256
xor edi, edi
push 0x20e
push str...p2psrc_srcdown.cpp
push edi
push str.__new:_0x_x__file:__s:_u
mov dword [esp + 0x388], 0xffffffff
call fcn.004166d0
mov ecx, dword [esi + 0xa60]
mov dword [edi + 0x18], ecx
mov edx, dword [esi + 0xa64]
mov dword [edi + 0x1c], edx
mov eax, dword [esi + 0xa14]
mov dword [edi], eax
lea eax, [esi + 0xba8]
mov ecx, edi
add esp, 0x10
sub ecx, eax
lea edx, [ecx + 0x228]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4112a3
lea eax, [esp + 0x164]
mov edx, edi
mov ecx, eax
sub edx, ecx
add edx, 0x20
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4112c0
lea eax, [esi + 0x10c]
mov edx, edi
sub edx, eax
add edx, 0x124
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4112e0
mov eax, dword [0x4bdcf8]
mov ecx, dword [eax + 0x280]
xor ebx, ebx
push ebx
push edi
call fcn.00421ba0
cmp dword [esi], ebx
jne 0x410827
mov edx, dword [esi + 0xba4]
cmp edx, ebx
jne 0x41131e
mov ecx, dword [0x4bdcf8]
mov ecx, dword [ecx + 0x288]
jmp 0x411357
xor ecx, ecx
cmp dword [esi + 0xa14], ebx
jle 0x41135d
mov eax, dword [esi + 0xa18]
add eax, 0xc
add edx, 0xc
mov edi, dword [eax]
cmp edi, dword [edx]
jne 0x41134b
inc ecx
add edx, 0x28
add eax, 0x28
cmp ecx, dword [esi + 0xa14]
jl 0x411334
jmp 0x41135d
mov edx, dword [0x4bdcf8]
mov ecx, dword [edx + 0x288]
push esi
call fcn.00429310
mov eax, dword [esi + 0xa60]
fldz
mov ecx, dword [esi + 0xa64]
fstp qword [esi + 0xa50]
mov dword [esi + 0xa58], eax
mov eax, dword [esi + 0xa6c]
mov dword [esi + 0xa5c], ecx
mov dword [esi + 0xa3c], 0x64
mov dword [esi + 0xa40], ebx
mov dword [esi + 0xa44], ebx
mov dword [esi + 0xa48], ebx
cmp eax, ebx
je 0x4113bb
push 0x3e7
lea ecx, [esi + 0xa38]
push ecx
push 0x52c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xa70]
cmp eax, ebx
je 0x41140d
mov edx, dword [esi + 0xa3c]
mov dword [eax + 0xc], edx
fld qword [esi + 0xa50]
mov eax, dword [esi + 0xa70]
fstp qword [eax + 0x10]
mov eax, dword [esi + 0xa70]
mov ecx, dword [esi + 0xa58]
mov dword [eax + 0x18], ecx
mov edx, dword [esi + 0xa5c]
mov dword [eax + 0x1c], edx
mov eax, dword [esi + 0xa70]
mov ecx, dword [esi + 0xa60]
mov dword [eax + 0x20], ecx
mov edx, dword [esi + 0xa64]
mov dword [eax + 0x24], edx
push str.complete_
call fcn.00416810
add esp, 4
mov eax, 1
jmp 0x4114ca
fldz
mov eax, dword [esi + 0xa6c]
fstp qword [esi + 0xa50]
cmp eax, ebp
je 0x41144e
push 0x3e7
lea ecx, [esi + 0xa38]
push ecx
push 0x52c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xa70]
cmp eax, ebp
je 0x4114a0
mov ecx, dword [esi + 0xa3c]
mov dword [eax + 0xc], ecx
fld qword [esi + 0xa50]
mov edx, dword [esi + 0xa70]
fstp qword [edx + 0x10]
mov eax, dword [esi + 0xa70]
mov ecx, dword [esi + 0xa58]
mov dword [eax + 0x18], ecx
mov edx, dword [esi + 0xa5c]
mov dword [eax + 0x1c], edx
mov eax, dword [esi + 0xa70]
mov ecx, dword [esi + 0xa60]
mov dword [eax + 0x20], ecx
mov edx, dword [esi + 0xa64]
mov dword [eax + 0x24], edx
xor eax, eax
jmp 0x4114ca
push str.use_single_thread_down
call fcn.00416810
add esp, 4
lea ecx, [esi + 0xbec]
call fcn.00426530
push eax
mov eax, dword [ebp]
push eax
push esi
call fcn.0040ebb0
add esp, 0xc
mov ecx, dword [esp + 0x370]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.00466555
add esp, 0x368
ret