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

Disassembly:
sub esp, 0x30
cmp dword [esp + 0x58], 0
push ebx
mov ebx, ecx
push esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0
je 0x46cce2
mov eax, dword [ebx + 0x120]
jmp 0x46ccf9
cmp dword [ebx + 0xa8], 0
je 0x46ccf3
mov eax, dword [ebx + 0xdc]
jmp 0x46ccf9
mov eax, dword [ebx + 0xe0]
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], esi
jg 0x46d028
push ebp
push edi
cmp dword [esp + 0x64], 0
je 0x46cd2b
mov ecx, dword [ebx + 0x2e0]
mov eax, esi
shl eax, 5
mov edx, dword [ecx + eax + 0x10]
mov dword [esp + 0x3c], edx
cmp esi, dword [esp + 0x58]
jne 0x46cd37
mov ebp, dword [esp + 0x54]
jmp 0x46cd4c
mov ecx, dword [ebx + 0x2e0]
mov eax, esi
shl eax, 5
mov eax, dword [ecx + eax]
dec eax
mov dword [esp + 0x24], eax
mov ebp, eax
mov edx, dword [ebx + 0xa8]
push edx
push esi
mov ecx, ebx
mov dword [esp + 0x20], 0
call fcn.0046c5c0
mov dword [esp + 0x38], eax
test ebp, ebp
jle 0x46cf96
mov ecx, dword [ebx + 0x2e0]
mov eax, esi
shl eax, 5
mov edi, dword [ecx + eax + 8]
mov dword [esp + 0x30], 1
mov dword [esp + 0x10], edi
cmp esi, dword [esp + 0x50]
jne 0x46cda3
mov eax, dword [esp + 0x4c]
lea edx, [edi + eax*2]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
sub ebp, eax
mov edi, edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
test ebp, ebp
jle 0x46cfc5
jmp 0x46cdc4
mov edi, dword [esp + 0x10]
cmp dword [ebx + 0x78], 0
mov dword [esp + 0x24], 0
je 0x46ce2e
cmp dword [ebx + 0xa8], 0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
je 0x46cdf8
mov ecx, dword [ebx + 0x10c]
push ecx
push edx
push eax
push ebp
push edi
call fcn.00466a80
add esp, 0x14
jmp 0x46ce10
mov ecx, dword [ebx + 0x108]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ebp
push edi
push ecx
call fcn.004669b0
add esp, 0x18
mov esi, eax
cmp esi, 1
jge 0x46ce1c
mov esi, 1
cmp esi, ebp
jge 0x46ce30
push esi
push edi
call fcn.004683d0
add esp, 8
mov esi, eax
jmp 0x46ce30
mov esi, ebp
xor ecx, ecx
cmp dword [esp + 0x60], ecx
je 0x46ce95
xor eax, eax
cmp ebp, ecx
mov dword [esp + 0x68], ecx
jle 0x46ce52
mov edx, 0xc
cmp dx, word [edi + eax*2]
je 0x46ce58
inc eax
cmp eax, ebp
jl 0x46ce42
mov dword [esp + 0x20], ecx
jmp 0x46ce95
lea eax, [edi + eax*2]
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x46ce95
sub eax, edi
sar eax, 1
cmp eax, esi
jge 0x46ce6d
mov esi, eax
mov eax, dword [ebx + 0x2ac]
mov ecx, dword [ebx + 0x11c]
cdq
idiv ecx
mov eax, dword [esp + 0x20]
sub ecx, edx
cmp word [eax + 2], 0
mov dword [esp + 0x68], ecx
je 0x46ce95
test ecx, ecx
jle 0x46ce95
dec dword [esp + 0x68]
cmp dword [esp + 0x30], 0
je 0x46ceb8
cmp dword [ebx + 0x7c], 0
je 0x46ceb0
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x14], eax
jle 0x46ceb0
sub dword [esp + 0x14], eax
mov dword [esp + 0x30], 0
mov ebx, dword [esp + 0x48]
mov edi, dword [ebx + 8]
test edi, edi
jl 0x46d030
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
mov ecx, ebx
call fcn.004614f0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
add ecx, esi
lea eax, [edx + esi*2]
sub ebp, esi
cmp dword [esp + 0x60], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
je 0x46cf84
cmp dword [esp + 0x20], 0
je 0x46cf84
mov ebx, 1
add dword [esp + 0x18], ebx
add eax, 2
sub ebp, ebx
cmp word [eax], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ebp
jne 0x46cf2e
sub dword [esp + 0x68], ebx
cmp dword [esp + 0x68], 0
jle 0x46cf80
mov edi, dword [esp + 0x28]
add edi, 0x2a4
nop
mov esi, dword [edi + 8]
sub dword [esp + 0x68], ebx
xor ebp, ebp
test esi, esi
jl 0x46d030
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
mov ecx, edi
call fcn.004614f0
cmp dword [esp + 0x68], ebp
mov edx, dword [edi + 4]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
lea ebx, [ebp + 1]
jg 0x46cf40
mov ebp, dword [esp + 0x24]
sub dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x28]
test ebp, ebp
jg 0x46cdc0
mov esi, dword [esp + 0x1c]
jmp 0x46cfc5
mov ebp, dword [esp + 0x48]
mov edi, dword [ebp + 8]
test edi, edi
jl 0x46d030
push 0xffffffffffffffff
lea edx, [edi + 1]
push edx
mov ecx, ebp
call fcn.004614f0
mov ecx, dword [ebp + 4]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
cmp dword [esp + 0x64], 0
je 0x46cfd6
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x46cfd6
add esi, eax
cmp dword [esp + 0x5c], 0
je 0x46d017
mov eax, dword [esp + 0x2c]
mov edx, eax
inc eax
cmp edx, 0xc8
mov dword [esp + 0x2c], eax
jle 0x46d017
mov eax, dword [ebx + 0x294]
push eax
push 0x64
lea ecx, [esi + 1]
push ecx
mov dword [esp + 0x38], 0
call dword [0x53d324]
mov ecx, dword [0x5b2f68]
push eax
call fcn.00457870
inc esi
cmp esi, dword [esp + 0x58]
mov dword [esp + 0x1c], esi
jle 0x46cd11
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x30
ret 0x28
call fcn.004e0962
int3