Function at 0x4036d0
Capabilities:
Check for time delay via gettickcount
Create directory
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43034e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x43fb24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x43faf0]
mov edx, dword [eax + 0xc]
mov esi, dword [ebp + 8]
mov ecx, 0x43faf0
call edx
add eax, 0x10
mov dword [ebp - 0xa10], eax
mov eax, dword [0x43faf0]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x43faf0
mov dword [ebp - 4], edi
call edx
add eax, 0x10
mov dword [ebp - 0xa00], eax
mov eax, dword [0x43faf0]
mov edx, dword [eax + 0xc]
mov ecx, 0x43faf0
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0xa04], eax
push str.temp_
lea eax, [ebp - 0x9f0]
push 0x441430
push eax
mov byte [ebp - 4], 2
call fcn.004030a0
add esp, 0xc
mov eax, dword [esi + 0x3a4]
mov ecx, dword [esi + 0x39c]
push eax
push edi
push 0x406
push ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0xa34], edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x9f0]
push edx
call fcn.0041f310
add esp, 4
test eax, eax
jne 0x4037b4
mov eax, dword [ebp - 0x9f0]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esi + 0x3b0]
sub ecx, dword [esi + 0x3ac]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0xa08], edi
test ecx, ecx
jle 0x403f9a
mov dword [ebp - 0xa28], edi
push 0x920
call fcn.00420e47
add esp, 4
mov dword [ebp - 0xa38], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x403819
mov ecx, eax
call fcn.00404990
mov ebx, eax
mov dword [ebp - 0xa20], eax
jmp 0x403821
xor ebx, ebx
mov dword [ebp - 0xa20], ebx
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00404a10
test eax, eax
je 0x404242
mov edx, dword [0x43faf0]
mov eax, dword [edx + 0xc]
mov ecx, 0x43faf0
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0xa0c], edi
mov eax, dword [ebp - 0xa28]
add eax, dword [esi + 0x3ac]
mov byte [ebp - 4], 5
push eax
add eax, 4
push eax
lea eax, [ebp - 0xa54]
push eax
call fcn.00402fe0
add esp, 0xc
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
mov byte [ebp - 4], 6
cmp eax, edi
je 0x4038d6
cmp dword [edi + 0xc], 0
jl 0x4038c6
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4038c6
push eax
call fcn.004027f0
mov dword [ebp - 0xa24], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4038b5
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0xa24]
add ecx, 0x10
mov dword [ebp - 0xa0c], ecx
jmp 0x4038d6
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0xa0c]
call fcn.00402e20
mov eax, dword [ebp - 0xa54]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4038fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0xa0c]
lea ecx, [ebp - 0xa50]
push ecx
lea edx, [ebp - 0xa00]
push edx
lea eax, [ebp - 0xa10]
push eax
lea ecx, [ebp - 0xa04]
push ecx
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
mov dword [ebp - 0xa38], esp
mov dword [ebp - 0xa24], esp
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x403956
cmp eax, dword [edi]
jne 0x403956
mov dword [ebp - 0x9fc], edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x403994
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x9fc], eax
test eax, eax
je 0x404268
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x9fc]
mov dword [ecx + 4], eax
mov eax, dword [edi + 4]
inc eax
push eax
add edi, 0x10
push edi
push eax
add ecx, 0x10
push ecx
call fcn.0041fde2
add esp, 0x10
mov ecx, dword [ebp - 0x9fc]
mov edx, dword [ebp - 0xa24]
add ecx, 0x10
mov dword [edx], ecx
mov ecx, ebx
call fcn.00405510
xor edi, edi
mov byte [ebp - 0x558], 0x5c
mov dword [ebp - 0x554], edi
mov dword [ebp - 0x550], edi
lea eax, [ebp - 0xa00]
push eax
lea ecx, [ebp - 0x9f0]
push ecx
lea edx, [ebp - 0xa44]
push edx
mov byte [ebp - 4], 7
mov dword [ebp - 0x9fc], edi
call fcn.00402fe0
mov eax, dword [eax]
add esp, 0xc
push eax
lea ecx, [ebp - 0x79c]
call fcn.004028f0
cmp eax, 1
mov eax, dword [ebp - 0xa44]
sete byte [ebp - 0x9f5]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x9f5], 0
je 0x403a49
xor edi, edi
cmp dword [ebp - 0x550], edi
je 0x403a3d
mov edi, dword [ebp - 0x77c]
jmp 0x403a43
mov dword [ebp - 0xa38], edi
mov dword [ebp - 0x9fc], edi
mov edx, dword [ebp - 0xa04]
push 0
push 0
push edi
mov edi, dword [ebp - 0xa0c]
push 0
push 0
lea ecx, [ebp - 0xa58]
push ecx
push edi
push edx
mov ecx, ebx
call fcn.00404da0
mov ecx, ebx
call fcn.00404a80
test eax, eax
je 0x40426d
mov eax, dword [ebp - 0xa50]
mov ecx, dword [ebp - 0xa04]
push eax
push ecx
mov ecx, ebx
call fcn.00404cd0
test eax, eax
je 0x40426d
xor edi, edi
push edi
push edi
mov ecx, ebx
call fcn.00404ff0
test eax, eax
je 0x4042db
push edi
push 0x2710
mov ecx, ebx
call fcn.00404b10
test eax, eax
je 0x4042db
lea edx, [ebp - 0xa2c]
push edx
mov ecx, ebx
call fcn.00404b60
mov eax, dword [0x43faf0]
mov edx, dword [eax + 0xc]
mov ecx, 0x43faf0
call edx
add eax, 0x10
mov dword [ebp - 0xa18], eax
mov eax, dword [0x43faf0]
mov edx, dword [eax + 0xc]
mov ecx, 0x43faf0
mov byte [ebp - 4], 8
call edx
add eax, 0x10
mov dword [ebp - 0x9f4], eax
mov ecx, dword [esi + 0x3b0]
sub ecx, dword [esi + 0x3ac]
mov edi, dword [ebp - 0xa08]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0xa00]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
inc edi
push edi
push ecx
lea edx, [ebp - 0xa18]
push 0x43282c
push edx
mov byte [ebp - 4], 9
mov dword [ebp - 0xa38], edi
call fcn.004031f0
add esp, 0x14
push 8
push 0x4326e4
lea ecx, [ebp - 0x9f4]
call fcn.00402e20
mov eax, dword [ebp - 0x9f4]
mov ecx, dword [ebp - 0xa18]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push ecx
push 0x8035
push edx
call edi
mov eax, dword [ebp - 0xa18]
mov ecx, dword [esi + 0x30c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x403ba0
push 0x100
lea edx, [ebp - 0x130]
push edx
mov ecx, ebx
call fcn.00404c00
cmp eax, 0xffffffff
jle 0x403bc0
mov byte [ebp + eax - 0x130], 0
jne 0x403ba0
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
push 0x1e
lea eax, [ebp - 0x30]
push eax
push str.Content_Length
mov ecx, ebx
call fcn.00405910
mov ecx, ebx
call fcn.00404c60
lea ecx, [ebp - 0x30]
push ecx
call fcn.004210b3
add esp, 4
mov dword [ebp - 0xa08], eax
add eax, dword [ebp - 0x9fc]
push eax
mov eax, dword [esi + 0x398]
push 0
push 0x406
push eax
call edi
mov ecx, dword [esi + 0x398]
push 0
push 0
push 0x402
push ecx
call edi
mov eax, dword [esi + 0x3ac]
add eax, dword [ebp - 0xa28]
lea edx, [ebp - 0x9f0]
push eax
push edx
lea eax, [ebp - 0xa14]
push eax
call fcn.00402fe0
add esp, 0xc
mov ecx, dword [ebp - 0xa14]
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push ecx
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0xa1c], edi
cmp edi, 0xffffffff
je 0x404329
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0xa48], eax
mov dword [ebp - 0xa40], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x9fc]
add dword [ebp - 0xa34], edx
mov dword [ebp - 0xa4c], eax
cmp dword [ebp - 0xa08], ebx
jle 0x403e2b
lea esp, [esp]
mov ecx, dword [ebp - 0xa20]
push 0x400
lea eax, [ebp - 0x530]
push eax
call fcn.00405060
mov edi, eax
test edi, edi
je 0x4043d5
cmp edi, 0xffffffff
je 0x40445e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp - 0xa1c]
push 0
lea ecx, [ebp - 0xa40]
push ecx
push edi
lea edx, [ebp - 0x530]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0xa1c]
push 2
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x9fc]
mov edx, dword [esi + 0x398]
add dword [ebp - 0xa34], edi
add eax, edi
push 0
push eax
push 0x402
add ebx, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push edx
mov dword [ebp - 0x9fc], eax
call edi
mov eax, dword [ebp - 0xa34]
mov ecx, dword [esi + 0x39c]
push 0
push eax
push 0x402
push ecx
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xa4c]
cmp eax, 0x3e8
jbe 0x403e19
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xa4c], eax
mov eax, ebx
sub eax, dword [ebp - 0xa48]
mov ecx, 0x43faf0
cdq
and edx, 0x3ff
lea edi, [edx + eax]
mov edx, dword [0x43faf0]
mov eax, dword [edx + 0xc]
sar edi, 0xa
mov dword [ebp - 0xa48], ebx
call eax
add eax, 0x10
mov dword [ebp - 0xa24], eax
push edi
lea ecx, [ebp - 0xa24]
push 0x432808
push ecx
mov byte [ebp - 4], 0xb
call fcn.004031f0
mov edi, dword [ebp - 0xa24]
mov edx, dword [esi + 0x378]
add esp, 0xc
push edi
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, dword [ebp - 0xa08]
jl 0x403cd0
mov edi, dword [ebp - 0xa1c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x43faf0]
mov eax, dword [edx + 0xc]
mov ecx, 0x43faf0
call eax
add eax, 0x10
mov dword [ebp - 0x9fc], eax
mov dword [ebp - 0x538], 0xf
mov dword [ebp - 0x53c], 0
mov byte [ebp - 0x54c], 0
lea ecx, [ebp - 0x54c]
push ecx
lea ecx, [ebp - 0xa14]
mov byte [ebp - 4], 0xd
call fcn.00402c50
push eax
call fcn.0041f3f0
mov eax, dword [ebp - 0xa14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00420cc1
add esp, 0x10
test eax, eax
js 0x4044db
mov ecx, dword [ebp - 0xa14]
cmp eax, dword [ecx - 8]
jg 0x4044db
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0xa14]
mov byte [eax + edx], 0
cmp dword [ebp - 0x538], 0x10
mov eax, dword [ebp - 0x54c]
jae 0x403ece
lea eax, [ebp - 0x54c]
push eax
lea eax, [ebp - 0x9fc]
push 0x432804
push eax
call fcn.004031f0
mov eax, dword [esi + 0x3ac]
add eax, dword [ebp - 0xa28]
lea ecx, [ebp - 0x9fc]
add eax, 0xc
push eax
push ecx
call fcn.00402c20
add esp, 0x14
test al, al
jne 0x40447e
lea ecx, [ebp - 0x54c]
call fcn.00402d70
lea ecx, [ebp - 0x9fc]
call fcn.00402ac0
lea ecx, [ebp - 0xa14]
call fcn.00402ac0
lea ecx, [ebp - 0x9f4]
call fcn.00402ac0
lea ecx, [ebp - 0xa18]
call fcn.00402ac0
lea ecx, [ebp - 0x79c]
call fcn.004028c0
lea ecx, [ebp - 0xa0c]
mov byte [ebp - 4], 3
call fcn.00402ac0
mov ecx, dword [esi + 0x3b0]
sub ecx, dword [esi + 0x3ac]
mov edi, dword [ebp - 0xa38]
add dword [ebp - 0xa28], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xa08], edi
cmp edi, eax
jl 0x4037ed
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
xor edi, edi
mov edx, dword [esi + 0x378]
push 0x4327f0
push edx
call ebx
mov eax, dword [esi + 0x30c]
push 0x4327e4
push eax
call ebx
mov ecx, dword [esi + 4]
push edi
push edi
push 0x8036
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x30c]
push 0x4327d8
push edx
call ebx
mov byte [ebp - 0x7a8], 0x5c
mov dword [ebp - 0x7a4], edi
mov dword [ebp - 0x7a0], edi
mov eax, dword [0x43faf0]
mov edx, dword [eax + 0xc]
mov ecx, 0x43faf0
mov byte [ebp - 4], 0xe
call edx
add eax, 0x10
mov dword [ebp - 0xa30], eax
mov eax, dword [0x43faf0]
mov edx, dword [eax + 0xc]
mov ecx, 0x43faf0
call edx
add eax, 0x10
mov dword [ebp - 0xa2c], eax
mov ecx, dword [esi + 0x3b0]
sub ecx, dword [esi + 0x3ac]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xa1c], edi
test eax, eax
jle 0x4046b0
xor ebx, ebx
mov dword [ebp - 0xa20], ebx
mov ecx, dword [esi + 0x3ac]
lea eax, [ebx + ecx]
push eax
add eax, 0x10
push eax
lea edx, [ebp - 0x9f4]
push edx
call fcn.00402fe0
add esp, 0xc
mov eax, dword [ebp - 0x9f4]
push eax
lea ecx, [ebp - 0x9ec]
mov byte [ebp - 4], 0x10
call fcn.004028f0
cmp eax, 1
jne 0x40409a
mov ecx, dword [ebp - 0x9f4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x3ac]
add eax, ebx
add eax, 0x10
push eax
call fcn.0041f310
add esp, 4
test eax, eax
jne 0x4040c4
mov edx, dword [esi + 0x3ac]
mov eax, dword [ebx + edx + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esi + 0x3ac]
add eax, ebx
push eax
lea eax, [ebp - 0x9f0]
push eax
lea ecx, [ebp - 0xa38]
push ecx
call fcn.00402fe0
mov edx, dword [ebp - 0x9f4]
mov eax, dword [eax]
add esp, 0xc
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov eax, dword [ebp - 0xa38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404115
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x9f4]
push ecx
lea edx, [ebp - 0x9f0]
push edx
lea eax, [ebp - 0xa40]
push eax
call fcn.00402fe0
mov eax, dword [eax]
add esp, 0xc
push eax
lea ecx, [ebp - 0x9ec]
call fcn.004028f0
cmp eax, 1
mov eax, dword [ebp - 0xa40]
sete byte [ebp - 0x9f5]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40416c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x9f5], 0
je 0x4041bd
lea ecx, [ebp - 0x9f4]
push ecx
lea edx, [ebp - 0x9f0]
push edx
lea eax, [ebp - 0xa44]
push eax
call fcn.00402fe0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0xa44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x3ac]
mov eax, dword [eax + ebx + 0x18]
push 0x4327d5
push eax
call fcn.00420ddd
add esp, 8
cmp eax, edi
setne al
test al, al
je 0x40464a
mov edx, dword [ebp - 0x9f4]
mov eax, dword [ebp - 0xa30]
add eax, 0xfffffff0
lea edi, [edx - 0x10]
mov dword [ebp - 0xa08], eax
cmp edi, eax
je 0x40455f
cmp dword [eax + 0xc], 0
jl 0x40454f
mov ecx, dword [edi]
cmp ecx, dword [eax]
jne 0x40454f
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x4044e5
cmp eax, dword [edi]
jne 0x4044e5
mov ebx, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x404519
mov ecx, dword [esi + 0x30c]
push 0x4327bc
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esi + 0x300]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x40477d
call fcn.004027e0
mov ecx, dword [esi + 0x30c]
push 0x4327bc
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esi + 0x300]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x554]
xor esi, esi
mov dword [ebp - 0x550], esi
cmp eax, esi
je 0x4042b2
cmp eax, 0xffffffff
je 0x4042b2
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x554], esi
lea eax, [edi - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40477d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40477d
mov ecx, dword [esi + 0x30c]
push 0x4327bc
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esi + 0x300]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x554]
mov dword [ebp - 0x550], edi
cmp eax, edi
je 0x40431e
cmp eax, 0xffffffff
je 0x40431e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x554], edi
mov eax, dword [ebp - 0xa0c]
add eax, 0xfffffff0
jmp 0x4042b5
mov ecx, dword [esi + 0x30c]
push 0x4327ac
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esi + 0x300]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0xa14]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404370
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x9f4]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404396
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xa18]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4043bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x79c]
call fcn.004028c0
mov eax, dword [ebp - 0xa0c]
add eax, 0xfffffff0
jmp 0x4042b5
mov ecx, dword [esi + 0x30c]
push 0x432798
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esi + 0x300]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
lea ecx, [ebp - 0xa14]
call fcn.00402ac0
lea ecx, [ebp - 0x9f4]
call fcn.00402ac0
lea ecx, [ebp - 0xa18]
call fcn.00402ac0
lea ecx, [ebp - 0x79c]
call fcn.004028c0
lea ecx, [ebp - 0xa0c]
call fcn.00402ac0
lea ecx, [ebp - 0x9f0]
call fcn.00402ac0
lea ecx, [ebp - 0xa04]
call fcn.00402ac0
lea ecx, [ebp - 0xa00]
call fcn.00402ac0
lea ecx, [ebp - 0xa10]
call fcn.00402ac0
jmp 0x404818
mov eax, dword [esi + 0x30c]
push 0x432788
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [esi + 0x300]
push 1
push ecx
jmp 0x4043f0
mov edx, dword [ebp - 0xa14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x30c]
push 0x43276c
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edi, dword [ebp - 0xa20]
mov ecx, edi
call fcn.00404ac0
mov ecx, edi
call sub.WS2_32.dll_WSACleanup
mov ecx, dword [esi + 0x300]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
lea ecx, [ebp - 0x54c]
call fcn.00402d70
lea ecx, [ebp - 0x9fc]
call fcn.00402ac0
jmp 0x4043f6
push 0x80070057
call fcn.00401010
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x404268
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
inc eax
push eax
add edi, 0x10
push edi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0041fde2
add esp, 0x10
mov eax, dword [ebp - 0xa08]
add eax, 0xc
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x40453e
mov eax, dword [ebp - 0xa08]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0x10
mov dword [ebp - 0xa30], ebx
mov ebx, dword [ebp - 0xa20]
jmp 0x40455f
mov eax, dword [edx - 0xc]
push eax
push edx
lea ecx, [ebp - 0xa30]
call fcn.00402e20
mov ecx, dword [esi + 0x3ac]
mov edx, dword [ebx + ecx + 0x18]
lea eax, [ebx + ecx + 0x18]
mov eax, dword [ebp - 0xa2c]
add eax, 0xfffffff0
lea edi, [edx - 0x10]
mov dword [ebp - 0xa08], eax
cmp edi, eax
je 0x404636
cmp dword [eax + 0xc], 0
jl 0x404626
mov ecx, dword [edi]
cmp ecx, dword [eax]
jne 0x404626
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x4045bc
cmp eax, dword [edi]
jne 0x4045bc
mov ebx, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4045f0
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x404268
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
inc eax
push eax
add edi, 0x10
push edi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0041fde2
add esp, 0x10
mov eax, dword [ebp - 0xa08]
add eax, 0xc
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x404615
mov eax, dword [ebp - 0xa08]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0x10
mov dword [ebp - 0xa2c], ebx
mov ebx, dword [ebp - 0xa20]
jmp 0x404636
mov eax, dword [edx - 0xc]
push eax
push edx
lea ecx, [ebp - 0xa2c]
call fcn.00402e20
lea ecx, [ebp - 0xa30]
push ecx
lea ecx, [esi + 0x3bc]
call fcn.004035c0
xor edi, edi
mov eax, dword [ebp - 0x9f4]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404670
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x3b0]
sub ecx, dword [esi + 0x3ac]
inc dword [ebp - 0xa1c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ebx, 0x1c
add ecx, edx
mov dword [ebp - 0xa20], ebx
cmp dword [ebp - 0xa1c], ecx
jl 0x404055
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x4413e4
lea edx, [ebp - 0xa38]
push 0x441430
push edx
call fcn.00402fe0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0xa38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4046f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x30c]
push 0x432760
push ecx
call ebx
mov edx, dword [esi + 4]
push edi
push edi
push 0x8037
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0xa2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404739
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xa30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40475b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x7a4]
mov dword [ebp - 0x7a0], edi
cmp eax, edi
je 0x40477d
cmp eax, 0xffffffff
je 0x40477d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x7a4], edi
mov eax, dword [ebp - 0x9f0]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4047a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xa04]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4047c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xa00]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4047ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xa10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404818
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fef9
mov esp, ebp
pop ebp
ret 4