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

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebx, eax
push esi
mov esi, dword [ebx]
push edi
xor ebp, ebp
mov edi, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
call fcn.004435d0
cmp dword [esp + 0x60], ebp
mov dword [esp + 0x1c], eax
jge 0x46b3f4
mov ecx, dword [esp + 0x54]
movzx ecx, byte [ecx + 0x18]
push eax
xor eax, eax
lea edx, [ebp + 0x76]
call fcn.0043a030
add esp, 4
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x54]
cmp dword [edx + 0x14], ebp
jle 0x46b4cd
push 0x84
xor ecx, ecx
mov edx, esi
call fcn.00440750
mov esi, eax
add esp, 4
test esi, esi
je 0x46b46a
mov eax, dword [esp + 0x50]
test eax, eax
je 0x46b45f
mov eax, dword [eax + 8]
mov eax, dword [eax + ebp*4]
mov edx, dword [esp + 0x4c]
mov edi, dword [edx + 0xc]
lea ecx, [eax + eax*2]
lea ecx, [edi + ecx*8]
cmp dword [edx + 4], eax
jne 0x46b43b
or eax, 0xffffffff
mov edx, dword [esp + 0x5c]
lea eax, [eax + edx + 1]
mov dword [esi + 0x18], eax
mov dl, byte [ecx + 0x16]
mov byte [esi + 1], dl
mov eax, dword [ecx + 0x10]
push eax
mov eax, ebx
call fcn.0044e250
add esp, 4
mov dword [esi + 0x14], eax
jmp 0x46b46a
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x18], ecx
mov byte [esi + 1], 0x64
mov eax, dword [esp + 0x58]
test eax, eax
je 0x46b477
mov eax, dword [eax + ebp*4]
jmp 0x46b47e
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x24]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*2]
mov ecx, dword [ecx + eax*8]
push 0x1a
call fcn.00440750
mov edi, eax
xor eax, eax
push esi
push ebx
lea ecx, [eax + 0x4c]
call fcn.00440800
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push edx
call fcn.00440840
mov esi, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x64]
inc ebp
add esp, 0x10
cmp ebp, dword [eax + 0x14]
jl 0x46b401
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
cmp ecx, dword [edx]
jne 0x46b546
cmp dword [esp + 0x60], 0
jle 0x46b546
push 0x84
xor ecx, ecx
mov edx, esi
call fcn.00440750
push 0x98
xor ecx, ecx
mov edx, esi
mov ebp, eax
call fcn.00440750
add esp, 8
mov edi, eax
test ebp, ebp
je 0x46b527
test edi, edi
je 0x46b527
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
mov dword [ebp + 0x18], eax
mov byte [ebp + 1], 0x64
mov edx, dword [ecx + 0x28]
or eax, 0xffffffff
mov dword [edi + 0x18], edx
mov word [edi + 0x1c], ax
xor eax, eax
push ebp
push ebx
lea ecx, [eax + 0x4b]
call fcn.00440800
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00440840
add esp, 0xc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea esi, [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
call fcn.0044d500
mov eax, dword [esp + 0x48]
push 0
push 0
push 0
mov ebp, edi
push ebp
push eax
push ebx
call fcn.0046a670
mov esi, eax
mov eax, dword [esp + 0x78]
add esp, 0x18
test eax, eax
jle 0x46b5c3
mov ecx, dword [esp + 0x54]
cmp byte [ecx + 0x18], 0
jne 0x46b5c3
mov ecx, dword [ebx + 0x1a8]
test ecx, ecx
je 0x46b5bc
mov ebx, ecx
mov byte [ebx + 0x159], 1
mov edx, dword [esp + 0x54]
movzx ecx, byte [edx + 0x18]
mov edi, dword [esp + 0x1c]
push edi
mov edx, 0x75
call fcn.0043a030
add esp, 4
test esi, esi
je 0x46b5ea
push esi
call fcn.0043d050
add esp, 4
mov eax, dword [esp + 0x14]
push ebp
push eax
call fcn.0043af30
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x46b607
mov ecx, edi
call fcn.00432b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret