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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
call fcn.0046a1fc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
and eax, 0xffff0000
je 0x46a3b0
call fcn.0046a20c
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0046a11c
test eax, eax
jne 0x46a368
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
jmp 0x46a5a2
call fcn.0046a22c
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0046a11c
test eax, eax
jne 0x46a38c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
jmp 0x46a5a2
call fcn.0046a24c
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0046a11c
test eax, eax
jne 0x46a3b0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
jmp 0x46a5a2
call fcn.0046a1dc
mov dword [ebp - 0x18], eax
mov byte [ebp - 5], 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x46a3ef
movzx edx, byte [ebp - 5]
test edx, edx
jne 0x46a3ef
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 8]
jne 0x46a3dd
mov byte [ebp - 5], 1
jmp 0x46a3ed
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x11]
mov dword [ebp - 0x18], edx
jmp 0x46a3bc
movzx eax, byte [ebp - 5]
test eax, eax
jne 0x46a409
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046a2ec
jmp 0x46a5a2
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x78]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
and eax, 0xffff0000
jne 0x46a47c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0xc]
add edx, dword [eax + 0x10]
cmp dword [ebp + 0xc], edx
jbe 0x46a462
xor eax, eax
jmp 0x46a5a2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
sub edx, dword [ecx + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x10], ecx
jmp 0x46a513
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x18]
sub ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x38]
jg 0x46a513
cmp dword [ebp - 0x10], 0
jne 0x46a513
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x38]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
push eax
call fcn.0046a11c
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jne 0x46a4ea
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
jmp 0x46a511
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x46a4fb
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x34], edx
jmp 0x46a511
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x10], ecx
jmp 0x46a4a7
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x78]
cmp dword [ebp - 0x10], eax
jbe 0x46a59f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x78]
mov eax, dword [ebp - 0x14]
add edx, dword [eax + 0x7c]
cmp dword [ebp - 0x10], edx
jae 0x46a59f
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x40]
movsx edx, byte [ecx]
cmp edx, 0x2e
je 0x46a555
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
jmp 0x46a53c
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x40]
mov dword [ecx], 0x4c4c44
mov edx, dword [ebp - 0x10]
push edx
call fcn.0046a67c
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0046a32c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8