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

Disassembly:
push 0xffffffffffffffff
push 0x4b6718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
mov ebp, dword [esi + 0x60]
push edi
add ebp, eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], ebp
jne 0x4247ea
mov eax, dword [esi + 0x68]
cmp eax, edi
jne 0x4247cd
mov dword [esp + 0x10], edi
jmp 0x4247e6
mov ecx, dword [esi + 0x6c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x50]
call fcn.00488fe0
mov ebx, dword [esi + 0x60]
cmp ebx, ebp
mov dword [esp + 0x80], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x14], ebx
jge 0x4249f8
lea edi, [ebx + ebx*2]
shl edi, 2
mov eax, dword [esi + 0x68]
test eax, eax
je 0x42483f
mov ecx, dword [esi + 0x6c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x4249f6
mov eax, dword [esi + 0x68]
lea ecx, [edi + eax]
call fcn.00403010
cmp word [eax], 0x9a81
jne 0x424863
inc ebp
mov dword [esp + 0x10], ebp
jmp 0x4249e6
mov eax, dword [esi + 0x68]
push 1
lea ecx, [edi + eax]
push 0x20
lea ebx, [edi + eax]
call fcn.00403010
mov eax, dword [eax + 0x10]
push eax
mov ecx, ebx
call fcn.00403010
mov ecx, dword [eax + 0xc]
push ecx
lea ecx, [esp + 0x60]
call fcn.00488d90
test eax, eax
lea ecx, [esp + 0x50]
jne 0x424a06
push eax
call fcn.00488ae0
mov eax, dword [esi + 0x34]
dec eax
je 0x424901
dec eax
je 0x4248d8
dec eax
jne 0x424a2e
mov eax, dword [esi + 0x68]
lea ecx, [edi + eax]
call fcn.00403010
mov cl, byte [esi + 0x30]
test cl, cl
jne 0x4248d2
push eax
lea edx, [esp + 0x54]
push edx
mov ecx, esi
call fcn.004241a0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
jmp 0x424928
mov eax, dword [esi + 0x68]
lea ecx, [edi + eax]
call fcn.00403010
mov cl, byte [esi + 0x30]
test cl, cl
jne 0x4248fb
push eax
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.00423d90
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
jmp 0x424928
mov eax, dword [esi + 0x68]
lea ecx, [edi + eax]
call fcn.00403010
mov cl, byte [esi + 0x30]
test cl, cl
jne 0x424924
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.00423c50
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x424a2e
mov eax, dword [esi + 0x68]
mov ebx, dword [esi + 0x58]
mov ebp, dword [esi + 0x5c]
lea ecx, [edi + eax]
call fcn.00403010
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
add eax, 4
add ecx, ebp
mov dword [esp + 0x28], ecx
push 0
lea ecx, [esp + 0x40]
add edx, ebx
lea eax, [esp + 0x28]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], eax
call fcn.0041dd30
mov ecx, dword [esp + 0x90]
push eax
push 0xa
call fcn.004790c0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4249de
mov eax, dword [esi + 0x68]
lea ecx, [edi + eax]
lea ebp, [edi + eax]
call fcn.00403010
mov ebx, dword [eax + 0x10]
mov ecx, ebp
call fcn.00403010
mov eax, dword [eax + 0xc]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x44], ebx
call dword [0x4bb2a8]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x90]
push eax
push eax
call dword [0x4bb2c4]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
inc ebx
add edi, 0xc
cmp ebx, ebp
mov dword [esp + 0x14], ebx
jl 0x424823
xor edi, edi
mov dword [esi + 0x60], ebp
mov eax, dword [esi + 0x68]
cmp eax, edi
jne 0x424a5c
xor eax, eax
jmp 0x424a71
mov dword [esp + 0x80], 0xffffffff
call fcn.00488c90
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 8
lea ecx, [esp + 0x50]
mov dword [esp + 0x80], 0xffffffff
call fcn.00488c90
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 8
mov esi, dword [esi + 0x6c]
sub esi, eax
mov eax, 0x2aaaaaab
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ecx, ecx
cmp ebp, eax
setl cl
mov dword [esp + 0x80], 0xffffffff
mov esi, ecx
lea ecx, [esp + 0x50]
call fcn.00488c90
mov ecx, dword [esp + 0x78]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 8