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

Disassembly:
sub esp, 0x154
cmp byte [ebx + 0x16], 4
push esi
push edi
mov esi, eax
jne 0x46f0ad
push 0x150
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0051c1b0
movzx ecx, word [esi]
movzx edx, word [esi + 2]
mov eax, dword [esi + 8]
mov word [esp + 0x14], cx
mov ecx, dword [esi + 0xc]
mov word [esp + 0x16], dx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x40], ecx
movzx ecx, word [esi + 0x3a]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x44], edx
movzx edx, word [esi + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x34]
mov word [esp + 0x4e], cx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x40]
mov word [esp + 0x4c], dx
mov edx, dword [esi + 0x48]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x54]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x58]
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0x60]
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x64]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x7c], ecx
add esp, 0xc
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x160]
add esi, 0x70
mov ecx, 0x38
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x164]
lea eax, [esp + 8]
push eax
push ecx
push edx
mov edx, 0x150
mov ecx, ebx
call fcn.00485c10
pop edi
pop esi
add esp, 0x154
ret
push 0xa8
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0051c1b0
movzx ecx, word [esi]
mov eax, dword [esi + 8]
mov dx, word [esi + 2]
mov word [esp + 0x14], cx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x20]
mov word [esp + 0x16], dx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x28], ecx
movzx ecx, word [esi + 0x38]
mov dword [esp + 0x24], eax
mov ax, word [esi + 0x3a]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x30]
mov word [esp + 0x32], ax
mov eax, dword [esi + 0x48]
mov word [esp + 0x30], cx
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x58]
add esp, 0xc
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edx
xor eax, eax
lea ecx, [esi + 0x70]
lea ecx, [ecx]
mov edx, dword [ecx]
mov dword [esp + eax*4 + 0x40], edx
inc eax
add ecx, 8
cmp eax, 0x1c
jb 0x46f140
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x160]
lea eax, [esp + 8]
push eax
push ecx
push edx
mov edx, 0xa8
mov ecx, ebx
call fcn.00485c10
pop edi
pop esi
add esp, 0x154
ret