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

Disassembly:
push 0xffffffffffffffff
push 0x6dff2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x4e]
push edi
lea ecx, [esp + 0x4b]
push eax
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb0], 0
call fcn.0042e460
lea edx, [esp + 0x53]
lea eax, [esp + 0x17]
push edx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0xec], 1
call fcn.00407ac0
mov cl, byte [esp + 0x17]
lea edx, [esp + 0x2f]
mov byte [esp + 0x30], cl
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0xe8], 2
call fcn.004f6840
mov edi, dword [esp + 0xf4]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov byte [esp + 0xe8], 3
call fcn.004f7b90
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
je 0x405007
mov edi, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
lea ebx, [eax + 0xc]
sub esp, 0xc
mov edx, dword [esi]
mov ebp, esp
mov eax, dword [ebx]
mov dword [esp + 0x2c], ebx
mov dword [ebp], eax
mov eax, dword [esp + 0xfc]
mov dword [ebp + 4], ecx
mov ecx, esi
mov dword [ebp + 8], eax
call dword [edx + 0x34]
push ebx
lea ecx, [esp + 0x58]
mov word [eax], di
call fcn.0040a390
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
cmp eax, ecx
je 0x404c63
mov edx, eax
mov ecx, ebx
call fcn.004052d0
test al, al
jne 0x404c5f
mov byte [esp + 0x14], al
jmp 0x404c83
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
push ebx
sub eax, ecx
sar eax, 3
lea ecx, [ecx + eax*8]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00630c10
mov dword [esp + 0x40], eax
mov byte [esp + 0x14], 1
lea edx, [esp + 0x14]
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0xd4]
call fcn.005ca5a0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [ebx]
mov eax, dword [edx + 0x28]
mov eax, dword [eax + ecx*8]
mov ecx, dword [ebx + 4]
cmp ecx, eax
jle 0x404d80
mov edx, dword [ebx]
mov eax, ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb8], 0
push ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0xc0], 1
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
call fcn.004598d0
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x98]
mov dword [esp + 0x98], edx
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0xa0], eax
call fcn.0040a390
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
cmp eax, ecx
je 0x404d43
mov edx, eax
lea ecx, [esp + 0x98]
call fcn.004052d0
test al, al
jne 0x404d3f
mov byte [esp + 0x16], al
jmp 0x404d6a
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x98]
sub eax, ecx
push edx
sar eax, 3
lea eax, [ecx + eax*8]
lea ecx, [esp + 0x58]
push eax
call fcn.00630c10
mov dword [esp + 0x4c], eax
mov byte [esp + 0x16], 1
lea ecx, [esp + 0x16]
lea edx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0xdc]
call fcn.005ca5a0
mov eax, dword [esi + 4]
mov edx, dword [ebx]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x28]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + edx*8 + 4]
dec eax
cmp ecx, eax
jge 0x404e61
mov eax, edx
lea edx, [esp + 0x78]
xor ebp, ebp
mov dword [esp + 0x94], ecx
push edx
lea ecx, [esp + 0x94]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], 1
mov dword [esp + 0x94], eax
call fcn.00416100
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
lea edx, [esp + 0xa0]
mov dword [esp + 0xa4], ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0xa4], eax
call fcn.0040a390
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
cmp eax, ecx
je 0x404e22
mov edx, eax
lea ecx, [esp + 0xa0]
call fcn.004052d0
test al, al
jne 0x404e1e
mov byte [esp + 0x13], al
jmp 0x404e49
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x5c]
sub eax, ecx
sar eax, 3
lea edx, [ecx + eax*8]
lea ecx, [esp + 0x58]
push edx
call fcn.00630c10
mov dword [esp + 0x44], eax
mov byte [esp + 0x13], 1
lea eax, [esp + 0x13]
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0xc8]
call fcn.005ca5a0
jmp 0x404e63
xor ebp, ebp
mov al, byte [0x81de08]
test al, 1
jne 0x404eb3
mov dl, al
or eax, 0xffffffff
or dl, 1
push 0x4052f0
mov byte [0x81de08], dl
mov dword [0x81dde0], eax
mov dword [0x81dde4], eax
mov dword [0x81dde8], eax
mov dword [0x81ddec], ebp
mov dword [0x81ddf0], ebp
mov dword [0x81ddf4], eax
mov dword [0x81ddf8], ebp
mov dword [0x81ddfc], ebp
call fcn.006601e7
add esp, 4
mov eax, 0x81dde0
mov dword [esp + 0x18], eax
jmp 0x404ec0
xor ebp, ebp
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [esp + 0x8c], ecx
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], edx
call fcn.00416100
mov edi, dword [esp + 0x88]
cmp edi, ebp
jl 0x404fd2
mov edx, dword [esi + 4]
mov eax, dword [edx + 8]
cmp edi, dword [eax + 4]
jge 0x404fd2
push edi
mov ecx, esi
call fcn.004058c0
mov ebp, dword [esp + 0x8c]
cmp ebp, eax
jl 0x404fd2
push edi
mov ecx, esi
call fcn.004058e0
cmp ebp, eax
jge 0x404fd2
sub esp, 0xc
mov edx, dword [esi]
mov ecx, esp
mov eax, ebp
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xfc]
mov dword [ecx + 8], eax
mov ecx, esi
call dword [edx + 0x2c]
mov edi, eax
mov ecx, dword [edi + 8]
add ecx, 4
call fcn.004f6860
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x404fce
mov ecx, dword [edi + 8]
lea edx, [esp + 0x24]
push edx
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x34]
mov eax, dword [eax + ebp*4]
mov dword [esp + 0x28], eax
call fcn.0040b120
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x74], eax
cmp eax, ecx
je 0x404f8f
mov ecx, dword [esp + 0x24]
mov edx, dword [eax]
cmp ecx, edx
jl 0x404f8f
mov byte [esp + 0x15], 0
jmp 0x404fb3
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x24]
sub eax, ecx
push edx
sar eax, 2
lea eax, [ecx + eax*4]
lea ecx, [esp + 0x34]
push eax
call fcn.00407920
mov dword [esp + 0x74], eax
mov byte [esp + 0x15], 1
lea ecx, [esp + 0x15]
lea edx, [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0xb4]
call fcn.005ca5a0
inc ebp
cmp ebp, ebx
jl 0x404f57
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add eax, 8
cmp eax, 0x81de00
mov dword [esp + 0x18], eax
jb 0x404ebe
lea ecx, [esp + 0x28]
call fcn.00408930
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jne 0x404c08
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
cmp edi, eax
je 0x4050be
mov ecx, dword [edi]
sub esp, 0xc
mov dword [esp + 0x24], ecx
mov edx, dword [edi + 4]
mov dword [esp + 0x28], edx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [esi]
mov ebx, esp
mov dword [ebx], eax
mov eax, dword [esp + 0xfc]
mov dword [ebx + 4], ecx
mov ecx, esi
mov dword [ebx + 8], eax
call dword [edx + 0x38]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xac], ecx
lea ecx, [esp + 0xac]
mov ebp, eax
mov eax, dword [esp + 0xf0]
push ecx
mov ecx, esi
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], eax
call fcn.004063b0
xor edx, edx
mov ebx, eax
mov dx, word [ebp + 2]
cmp ebx, edx
je 0x405288
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub esp, 0xc
mov edx, dword [esi]
mov ebp, esp
mov dword [ebp], eax
mov eax, dword [esp + 0xfc]
mov dword [ebp + 4], ecx
mov ecx, esi
mov dword [ebp + 8], eax
call dword [edx + 0x34]
mov word [eax + 2], bx
add edi, 8
cmp edi, dword [esp + 0x5c]
jne 0x405017
mov edx, dword [esi + 4]
lea edi, [esi + 4]
cmp dword [edx], 1
jbe 0x4050d0
mov ecx, edi
call fcn.0040a3f0
mov eax, dword [edi]
mov edi, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
cmp edi, eax
je 0x4051c0
mov eax, dword [edi]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x14]
mov ecx, dword [edi]
mov ebp, eax
mov eax, dword [esi]
lea edx, [esp + 0xc0]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [esi + 4]
mov ecx, dword [edi]
add eax, 4
push ecx
lea ecx, [eax + 0xc]
call fcn.00403b80
mov ebx, dword [eax]
mov eax, dword [esi]
lea ecx, [esp + 0xc0]
mov dword [esp + 0x18], ebx
push ecx
push ebp
mov ecx, esi
call dword [eax + 4]
mov ebp, eax
cmp ebp, ebx
je 0x4051b1
mov edx, dword [edi]
mov ecx, esi
push edx
call fcn.00407100
mov eax, dword [esp + 0x20]
mov ebx, dword [edi]
lea ecx, [eax + 0x10]
call fcn.00409a80
mov eax, dword [eax + 4]
mov ecx, ebx
sar ecx, 0xc
and ebx, 0xfff
lea ecx, [eax + ecx*4]
call fcn.00409a60
mov eax, dword [eax + 4]
mov edx, ebx
sar edx, 6
and ebx, 0x3f
lea ecx, [eax + edx*4]
call fcn.00409a40
mov eax, dword [eax + 4]
mov ecx, esi
mov dword [eax + ebx*8], ebp
mov eax, dword [edi]
push eax
call fcn.00406a20
mov ebx, dword [esp + 0x18]
mov eax, dword [edi]
lea ecx, [esp + 0x78]
lea edx, [esp + 0xac]
sub ebp, ebx
push ecx
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebp
call fcn.00407ea0
mov eax, dword [esp + 0x38]
add edi, 4
cmp edi, eax
jne 0x4050e9
mov esi, dword [esp + 0xec]
mov al, byte [esp + 0x54]
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
mov byte [esi], al
call fcn.006322a0
lea edx, [esp + 0x64]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0xe8], 4
call fcn.00405430
mov dword [esp + 0xa8], 1
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0xec], 2
call fcn.004d1a20
mov edx, dword [esp + 0x34]
push edx
call fcn.00652870
xor eax, eax
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x64]
mov dword [esp + 0xe4], 5
call fcn.00407b70
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xec], 0
call fcn.004d1a20
mov edx, dword [esp + 0x58]
push edx
call fcn.00652870
mov ecx, dword [esp + 0xe0]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret 0xc
mov ecx, dword [esp + 0xf4]
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
push edx
mov ebx, dword [ecx + 4]
push eax
call fcn.004088a0
cmp dword [esp + 0x20], ebx
jne 0x4050b1
mov eax, dword [esp + 0x58]
sub edi, eax
sar edi, 3
lea ecx, [eax + edi*8]
push ecx
lea ecx, [esp + 0x58]
call fcn.0040a170
mov edi, eax
jmp 0x4050b4