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

Disassembly:
mov eax, 0x594d29
call fcn.00593620
sub esp, 0x74
cmp byte [ebx + 0x110], 0
push esi
push edi
jne 0x469c31
invalid
invalid
add eax, dword [eax]
invalid
mov eax, dword [ebx + 0x24]
xor ecx, ecx
cmp eax, ecx
jne 0x46991b
cmp byte [ebx + 0x48], cl
jne 0x4698a0
push 0x5fa830
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 1
call fcn.004a2ea2
cmp dword [ebx + 0x38], ecx
jne 0x46988b
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x4c], 0x5ed218
mov dword [ebp - 4], ecx
xor eax, eax
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov esi, eax
mov dword [ebp - 0x24], eax
lea eax, [ebx + 0x1c]
push eax
lea edi, [ebp - 0x54]
mov dword [ebp - 0x54], 0x6f10701
mov dword [ebp - 0x50], ecx
call fcn.00469db5
push esi
lea eax, [ebx + 0x58]
push esi
mov esi, eax
call fcn.0045cbae
push 0
lea esi, [ebx + 0x80]
call fcn.0045cc1a
push 0
lea esi, [ebx + 0x94]
call fcn.0045cc1a
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4c]
push eax
call fcn.0045ecb9
jmp 0x469bcb
cmp eax, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
jle 0x4699c1
cmp dword [ebx + 0x38], ecx
mov eax, dword [ebx + 0x28]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
mov edi, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x24], eax
jne 0x46999d
mov eax, dword [ebx + 0x24]
dec eax
cmp edx, eax
jge 0x46995e
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
add eax, edi
push eax
lea esi, [ebx + 0x6c]
call fcn.0045cbae
jmp 0x469973
lea esi, [ebx + 0x94]
xor eax, eax
call fcn.00465790
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor eax, eax
inc eax
cmp dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
jbe 0x46999d
lea esi, [ebx + 0x94]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, eax
push ecx
call fcn.0045cc1a
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jb 0x469984
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x1c], edi
add dword [ebp - 0x18], eax
push eax
push edi
lea esi, [ebx + 0x58]
call fcn.0045cbae
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, dword [ebx + 0x24]
jl 0x46992c
mov eax, dword [ebx + 0x38]
cmp eax, ecx
je 0x469a50
mov dword [ebp - 0x14], ecx
jle 0x469a27
mov dword [ebp - 0x20], ecx
mov eax, dword [ebx + 0x3c]
add eax, dword [ebp - 0x20]
mov esi, dword [eax]
cmp esi, ecx
jbe 0x4699eb
mov edx, dword [ebx + 0x64]
add ecx, dword [edx]
add edx, 8
dec esi
jne 0x4699e3
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
add edx, ecx
xor esi, esi
test edi, edi
jbe 0x469a07
mov ecx, dword [ebx + 0x64]
add ecx, 4
add esi, dword [ecx]
add ecx, 8
dec edi
jne 0x4699ff
mov eax, dword [eax + 0xc]
add eax, esi
push eax
push edx
lea esi, [ebx + 0x6c]
call fcn.0045cbae
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x20], 0x10
xor ecx, ecx
cmp eax, dword [ebx + 0x38]
jl 0x4699d4
xor edi, edi
cmp dword [ebp - 0x18], ecx
jle 0x469a50
push edi
lea ecx, [ebx + 0x58]
call fcn.004679a1
cmp eax, 0xffffffff
jne 0x469a48
push edi
lea esi, [ebx + 0x94]
call fcn.0045cc1a
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x469a2e
xor ecx, ecx
xor edi, edi
cmp dword [ebp - 0x1c], ecx
jle 0x469a79
push edi
lea ecx, [ebx + 0x58]
call fcn.00468aed
cmp eax, 0xffffffff
jne 0x469a71
push edi
lea esi, [ebx + 0x80]
call fcn.0045cc1a
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x469a57
xor ecx, ecx
cmp dword [ebx + 0x88], ecx
je 0x46988b
mov eax, dword [ebx + 0x8c]
mov ecx, dword [eax]
lea esi, [ebx + 0x58]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.0045ccc5
mov ecx, dword [ebp - 0x20]
xor edi, edi
test ecx, ecx
jbe 0x469ab5
mov eax, dword [ebx + 0x64]
add eax, 4
add edi, dword [eax]
add eax, 8
dec ecx
jne 0x469aad
lea esi, [ebx + 0x58]
push edi
mov ecx, esi
call fcn.004679a1
xor ecx, ecx
cmp eax, ecx
jl 0x469ace
mov ecx, dword [ebx + 0x78]
mov ecx, dword [ecx + eax*8]
jmp 0x469a90
cmp dword [ebx + 0x9c], ecx
jle 0x469b0a
mov eax, dword [ebx + 0xa0]
cmp dword [eax], edi
je 0x469aee
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0x9c]
jl 0x469adc
jmp 0x469b0a
push 1
lea esi, [ebx + 0x94]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
xor eax, eax
call fcn.00465790
mov eax, dword [esi + 0xc]
mov dword [eax], edi
cmp byte [ebx + 0x48], 0
je 0x469bcb
mov eax, dword [ebx + 0x9c]
xor edi, edi
test eax, eax
mov dword [ebp - 0x20], eax
jle 0x469b40
lea esi, [ebx + 0x6c]
mov ecx, dword [ebx + 0xa0]
mov eax, dword [ebp - 0x1c]
push dword [ecx + edi*4]
add eax, edi
push eax
call fcn.0045cbae
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x469b26
lea ecx, [ebx + 0x94]
push dword [ecx + 8]
mov eax, dword [ecx]