Function at 0x4060c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x425044
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x430510]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push esi
push edi
mov eax, dword [0x430510]
xor eax, esp
push eax
lea eax, [esp + 0x658]
mov dword fs:[0], eax
call fcn.00402930
push 0x52e32d
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov ecx, dword [0x432474]
sub ecx, dword [0x432470]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x24], ebx
je 0x406698
mov dword [esp + 0x10], ebx
nop
mov esi, 7
xor ecx, ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], cx
mov dword [esp + 0x660], ebx
xor edx, edx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
lea ecx, [esp + 0x78]
mov byte [esp + 0x660], 1
call fcn.00403f20
xor eax, eax
mov dword [esp + 0x70], esi
mov word [esp + 0x5c], ax
push 1
mov eax, 0x429208
lea esi, [esp + 0x60]
mov dword [esp + 0x70], ebx
call fcn.00409a60
lea edi, [esp + 0xb0]
mov byte [esp + 0x660], 2
call fcn.00404fb0
mov esi, eax
lea ecx, [esp + 0x5c]
cmp ecx, esi
je 0x406230
cmp dword [esp + 0x70], 8
jb 0x4061db
mov edx, dword [esp + 0x5c]
push edx
call fcn.004140b8
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
cmp dword [esi + 0x14], 8
jae 0x40620d
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x60]
push esi
push edx
call fcn.00414260
add esp, 0xc
jmp 0x406215
mov eax, dword [esi]
mov dword [esp + 0x5c], eax
mov dword [esi], ebx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x6c], ecx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x70], edx
xor eax, eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], ax
jmp 0x406235
mov edi, 7
cmp dword [esp + 0xc4], 8
jb 0x40624f
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.004140b8
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
sub esp, 0x1c
mov byte [esp + 0x67c], 4
mov ecx, esp
mov dword [esp + 0x6c], esp
push ebx
lea eax, [esp + 0x7c]
xor edx, edx
push eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00409060
sub esp, 0x1c
mov byte [esp + 0x698], 5
mov ecx, esp
mov dword [esp + 0x84], esp
push ebx
lea eax, [esp + 0xb4]
xor edx, edx
push eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00409060
sub esp, 0x1c
mov byte [esp + 0x6b4], 6
mov ecx, esp
mov dword [esp + 0xac], esp
push ebx
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push 0x4313bc
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00409060
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x6d0], 7
mov dword [esp + 0xc4], esp
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push ebx
mov word [ecx], ax
push 0x4313a0
or eax, 0xffffffff
call fcn.00409060
mov eax, dword [esp + 0x80]
mov byte [esp + 0x6d0], 8
add eax, dword [0x432470]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xd4], esp
push ebx
xor edx, edx
push eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00409060
lea eax, [esp + 0x158]
push eax
mov byte [esp + 0x6f0], 4
call fcn.0040b8e0
push 0x100
mov byte [esp + 0x664], 9
push ebx
lea ecx, [esp + 0x184]
push ecx
call fcn.0041a000
add esp, 0xc
push 0x40
lea edx, [esp + 0x280]
push ebx
push edx
call fcn.0041a000
add esp, 0xc
push 0x20a
lea eax, [esp + 0x2c4]
push ebx
push eax
mov dword [esp + 0x2c8], ebx
call fcn.0041a000
add esp, 0xc
push 0x80
lea ecx, [esp + 0x4ce]
push ebx
push ecx
call fcn.0041a000
add esp, 0xc
push 0x100
lea edx, [esp + 0x54e]
push ebx
push edx
call fcn.0041a000
add esp, 0xc
push 1
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0xd4]
call fcn.0040c540
test eax, eax
jle 0x40641d
mov ecx, dword [esp + 0x178]
add ecx, 0xffffff38
jne 0x40641d
lea edx, [esp + 0x17c]
push edx
lea ecx, [esp + 0x18]
call fcn.004049b0
add esp, 4
test al, al
jne 0x406501
lea esi, [esp + 0xcc]
call fcn.0040c5d0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40643a
push eax
call fcn.004140b8
add esp, 4
mov esi, 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x70], esi
jb 0x40645e
mov eax, dword [esp + 0x5c]
push eax
call fcn.004140b8
add esp, 4
xor ecx, ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
cmp dword [esp + 0x8c], esi
jb 0x406483
mov edx, dword [esp + 0x78]
push edx
call fcn.004140b8
add esp, 4
xor eax, eax
mov dword [esp + 0x660], 0xffffffff
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], ax
cmp dword [esp + 0xa8], esi
jb 0x4064bc
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004140b8
add esp, 4
mov ecx, dword [0x432474]
sub ecx, dword [0x432470]
mov esi, dword [esp + 0x24]
add dword [esp + 0x10], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [esp + 0x24], esi
cmp esi, eax
jb 0x406140
push 0x52e32d
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406112
lea ecx, [esp + 0x54a]
push str.EMPTY
push ecx
call fcn.00422980
add esp, 8
test eax, eax
je 0x4065d3
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x54a]
mov byte [esp + 0x660], 0xb
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406548
sub eax, edx
mov edx, dword [esp + 0x48]
push edx
lea eax, [esp + eax + 0x54e]
push eax
lea edx, [esp + 0x552]
push edx
xor ecx, ecx
push ecx
lea eax, [esp + 0x48]
push eax
call fcn.0040b0b0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00402020
add esp, 4
test al, al
je 0x406591
lea ecx, [esp + 0x28]
call fcn.004047f0
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4065a2
push eax
call fcn.004140b8
add esp, 4
mov byte [esp + 0x660], 9
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
cmp eax, ebx
je 0x4065c7
push eax
call fcn.004140b8
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
sub esp, 0x4d0
mov ecx, 0x134
lea esi, [esp + 0x64c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00405aa0
add esp, 0x4d0
lea esi, [esp + 0xcc]
call fcn.0040c5d0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x406611
push eax
call fcn.004140b8
add esp, 4
mov esi, 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x70], esi
jb 0x406635
mov edx, dword [esp + 0x5c]
push edx
call fcn.004140b8
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
cmp dword [esp + 0x8c], esi
jb 0x40665f
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004140b8
add esp, 4
xor edx, edx
mov dword [esp + 0x660], 0xffffffff
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
cmp dword [esp + 0xa8], esi
jb 0x406698
mov eax, dword [esp + 0x94]
push eax
call fcn.004140b8
add esp, 4
push 0x52e32d
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406112