Function at 0x46c200
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 [0x461c10]
call fcn.004051a4
test al, al
je 0x46c22b
mov eax, dword [ebx + 0x58]
mov dword [esp + 8], eax
jmp 0x46c231
xor eax, eax
mov dword [esp + 8], eax
cmp dword [edi + 0x9c], 0
jle 0x46c383
mov eax, dword [edi + 0x68]
call fcn.00408468
mov ebp, eax
test ebp, ebp
jl 0x46c26c
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 0x46c268
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xa4]
inc esi
dec ebp
jne 0x46c24f
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.00408468
mov ebp, eax
test ebp, ebp
jl 0x46c2cc
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 0x46c2c8
mov ebx, eax
mov eax, ebx
call fcn.004561f0
add eax, dword [esp + 8]
add dword [esp + 0x10], eax
cmp byte [ebx + 0x79], 0
je 0x46c2c8
mov eax, ebx
call fcn.004561f0
add eax, dword [esp + 8]
add dword [esp + 0x14], eax
inc dword [esp + 0x18]
inc esi
dec ebp
jne 0x46c28f
mov eax, dword [edi + 0x9c]
cmp eax, dword [esp + 0x10]
jge 0x46c383
cmp dword [esp + 0x14], 0
jle 0x46c383
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 0x46c300
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.00408468
mov ebp, eax
test ebp, ebp
jl 0x46c377
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 0x46c373
mov ebx, eax
cmp byte [ebx + 0x79], 0
je 0x46c373
mov eax, ebx
call fcn.004561f0
cmp eax, dword [esp + 0x1c]
jl 0x46c373
mov eax, ebx
call fcn.004561f0
mov edx, eax
sub edx, dword [esp + 4]
mov eax, ebx
call fcn.00455890
mov byte [esp + 0xd], 1
mov byte [esp + 0xc], 1
inc esi
dec ebp
jne 0x46c331
cmp byte [esp + 0xd], 0
je 0x46c383
jmp 0x46c26c
movzx eax, byte [edi + 0x90]
sub al, 1
jb 0x46c42c
je 0x46c399
jmp 0x46c4b0
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x74]
mov dword [esp], eax
mov eax, dword [edi + 0x68]
call fcn.00408468
mov esi, eax
cmp esi, 0
jl 0x46c4b0
lea eax, [esi + esi*2]
mov edx, dword [edi + 0x68]
mov ebx, dword [edx + eax*4]
cmp byte [ebx + 0x20], 0
je 0x46c421
mov eax, dword [esp]
cmp eax, dword [ebx + 0x18]
je 0x46c413
mov eax, ebx
call fcn.004561f0
mov ebp, dword [esp]
sub ebp, eax
mov eax, ebx
call fcn.004561f0
mov dword [esp + 0x20], eax
mov eax, ebx
call fcn.004561c0
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.004561f0
add eax, dword [esp + 8]
sub dword [esp], eax
dec esi
cmp esi, 0xffffffff
jne 0x46c3b5
jmp 0x46c4b0
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x10]
mov dword [esp], eax
mov eax, dword [edi + 0x68]
call fcn.00408468
mov ebp, eax
test ebp, ebp
jl 0x46c4b0
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 0x46c4ac
mov eax, dword [esp]
cmp eax, dword [ebx + 0x10]
je 0x46c49e
mov eax, ebx
call fcn.004561f0
mov dword [esp + 0x24], eax
mov eax, ebx
call fcn.004561c0
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.004561f0
add eax, dword [esp + 8]
add dword [esp], eax
inc esi
dec ebp
jne 0x46c446
cmp byte [esp + 0xc], 0
je 0x46c4c6
cmp word [edi + 0x7a], 0
je 0x46c4c6
mov edx, edi
mov eax, dword [edi + 0x7c]
call dword [edi + 0x78]
add esp, 0x48
pop ebp
pop edi
pop esi
pop ebx
ret