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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb8
mov edi, eax
mov byte [esp + 0xc], 0
mov ebx, dword [edi + 0x28]
mov eax, ebx
mov edx, dword [0x45d194]
call fcn.0040518c
test al, al
je 0x46866b
mov eax, dword [ebx + 0x58]
mov dword [esp + 8], eax
jmp 0x468671
xor eax, eax
mov dword [esp + 8], eax
cmp dword [edi + 0x9c], 0
jle 0x4687c3
mov eax, dword [edi + 0x68]
call fcn.00408338
mov ebp, eax
test ebp, ebp
jl 0x4686ac
inc ebp
xor esi, esi
lea eax, [esi + esi*2]
mov edx, dword [edi + 0x68]
mov eax, dword [edx + eax*4]
cmp byte [eax + 0x20], 0
je 0x4686a8
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xa4]
inc esi
dec ebp
jne 0x46868f
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x68]
call fcn.00408338
mov ebp, eax
test ebp, ebp
jl 0x46870c
inc ebp
xor esi, esi
lea eax, [esi + esi*2]
mov edx, dword [edi + 0x68]
mov eax, dword [edx + eax*4]
cmp byte [eax + 0x20], 0
je 0x468708
mov ebx, eax
mov eax, ebx
call fcn.00457b20
add eax, dword [esp + 8]
add dword [esp + 0x10], eax
cmp byte [ebx + 0x79], 0
je 0x468708
mov eax, ebx
call fcn.00457b20
add eax, dword [esp + 8]
add dword [esp + 0x14], eax
inc dword [esp + 0x18]
inc esi
dec ebp
jne 0x4686cf
mov eax, dword [edi + 0x9c]
cmp eax, dword [esp + 0x10]
jge 0x4687c3
cmp dword [esp + 0x14], 0
jle 0x4687c3
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp + 4], edx
imul eax, dword [esp + 0x18], 0x32
cmp eax, dword [esp + 4]
jge 0x468740
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
cdq
idiv dword [esp + 0x18]
inc eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov byte [esp + 0xd], 0
mov eax, dword [edi + 0x68]
call fcn.00408338
mov ebp, eax
test ebp, ebp
jl 0x4687b7
inc ebp
xor esi, esi
lea eax, [esi + esi*2]
mov edx, dword [edi + 0x68]
mov eax, dword [edx + eax*4]
cmp byte [eax + 0x20], 0
je 0x4687b3
mov ebx, eax
cmp byte [ebx + 0x79], 0
je 0x4687b3
mov eax, ebx
call fcn.00457b20
cmp eax, dword [esp + 0x1c]
jl 0x4687b3
mov eax, ebx
call fcn.00457b20
mov edx, eax
sub edx, dword [esp + 4]
mov eax, ebx
call fcn.004570e0
mov byte [esp + 0xd], 1
mov byte [esp + 0xc], 1
inc esi
dec ebp
jne 0x468771
cmp byte [esp + 0xd], 0
je 0x4687c3
jmp 0x4686ac
movzx eax, byte [edi + 0x90]
sub al, 1
jb 0x46886c
je 0x4687d9
jmp 0x4688f0
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x74]
mov dword [esp], eax
mov eax, dword [edi + 0x68]
call fcn.00408338
mov esi, eax
cmp esi, 0
jl 0x4688f0
lea eax, [esi + esi*2]
mov edx, dword [edi + 0x68]
mov ebx, dword [edx + eax*4]
cmp byte [ebx + 0x20], 0
je 0x468861
mov eax, dword [esp]
cmp eax, dword [ebx + 0x18]
je 0x468853
mov eax, ebx
call fcn.00457b20
mov ebp, dword [esp]
sub ebp, eax
mov eax, ebx
call fcn.00457b20
mov dword [esp + 0x20], eax
mov eax, ebx
call fcn.00457af0
mov dword [esp + 0x28], ebp
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x2c], edx
add ebp, dword [esp + 0x20]
mov dword [esp + 0x30], ebp
add eax, edx
mov dword [esp + 0x34], eax
lea edx, [esp + 0x28]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov byte [esp + 0xc], 1
mov eax, ebx
call fcn.00457b20
add eax, dword [esp + 8]
sub dword [esp], eax
dec esi
cmp esi, 0xffffffff
jne 0x4687f5
jmp 0x4688f0
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x10]
mov dword [esp], eax
mov eax, dword [edi + 0x68]
call fcn.00408338
mov ebp, eax
test ebp, ebp
jl 0x4688f0
inc ebp
xor esi, esi
lea eax, [esi + esi*2]
mov edx, dword [edi + 0x68]
mov ebx, dword [edx + eax*4]
cmp byte [ebx + 0x20], 0
je 0x4688ec
mov eax, dword [esp]
cmp eax, dword [ebx + 0x10]
je 0x4688de
mov eax, ebx
call fcn.00457b20
mov dword [esp + 0x24], eax
mov eax, ebx
call fcn.00457af0
mov edx, dword [esp]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp]
add ecx, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
add eax, edx
mov dword [esp + 0x44], eax
lea edx, [esp + 0x38]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov byte [esp + 0xc], 1
mov eax, ebx
call fcn.00457b20
add eax, dword [esp + 8]
add dword [esp], eax
inc esi
dec ebp
jne 0x468886
cmp byte [esp + 0xc], 0
je 0x468906
cmp word [edi + 0x7a], 0
je 0x468906
mov edx, edi
mov eax, dword [edi + 0x7c]
call dword [edi + 0x78]
add esp, 0x48
pop ebp
pop edi
pop esi
pop ebx
ret