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

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x158
cmp byte [ecx + 0x16], 4
push ebx
push esi
push edi
mov esi, eax
jne 0x46eeb3
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x16c]
push edx
push eax
mov edx, 0x150
call fcn.00485310
test al, al
jne 0x46ef82
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov word [esi], cx
mov ecx, dword [esp + 0x18]
mov word [esi + 2], dx
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x2c], edx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x30], ecx
movzx ecx, word [esp + 0x4a]
mov dword [esi + 0x34], edx
movzx edx, word [esp + 0x48]
mov word [esi + 0x3a], cx
mov ecx, dword [esp + 0x50]
mov word [esi + 0x38], dx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x60]
mov dword [esi + 0x4c], edx
mov edx, dword [esp + 0x64]
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x54], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x58], ecx
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x5c], edx
mov edx, dword [esp + 0x74]
mov dword [esi + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x64], edx
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edx
lea edi, [esi + 0x70]
mov ecx, 0x38
lea esi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
add esp, 0x158
ret 8
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x16c]
push edx
push eax
mov edx, 0xa8
call fcn.00485310
xor ebx, ebx
cmp al, bl
jne 0x46ef82
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov word [esi], cx
mov ecx, dword [esp + 0x14]
mov word [esi + 2], dx
mov edx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x28], ecx
movzx ecx, word [esp + 0x2e]
mov dword [esi + 0x30], edx
movzx edx, word [esp + 0x2c]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov word [esi + 0x3a], cx
mov ecx, dword [esp + 0x30]
mov word [esi + 0x38], dx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x58], edx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x60], ecx
mov dword [esi + 0x68], edx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
xor ecx, ecx
lea edx, [esi + 0x70]
nop
mov esi, dword [esp + ecx*4 + 0x48]
mov dword [edx], esi
mov dword [edx + 4], ebx
inc ecx
add edx, 8
cmp ecx, 0x1c
jb 0x46ef70
pop edi
pop esi
pop ebx
add esp, 0x158
ret 8