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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x33c
mov ebx, dword [esp + 0x350]
mov dword [esp + case.0x37d47f.96], 0x39cb10
mov dword [esp + 0x2f4], 0xf6
lea eax, [esp + 0x324]
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [esp + 4], 0x18
mov eax, dword [0x39824c]
call eax
sub esp, 0xc
mov dword [esp + 0x2fc], 0x28
lea eax, [esp + 0x328]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x300], eax
lea eax, [esp + 0x32c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
neg eax
mov dword [esp + 0x304], eax
mov word [esp + 0x308], 1
mov ax, word [esp + 0x336]
mov word [esp + 0x30a], ax
mov dword [esp + 0x30c], 0
mov dword [esp + 0x310], 0
mov dword [esp + 0x314], 0
mov dword [esp + 0x318], 0
mov dword [esp + 0x31c], 0
mov dword [esp + 0x320], 0
movzx ecx, word [esp + 0x30a]
shr ecx, 3
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov edx, dword [esp + 0x28]
mov edx, dword [edx]
mov ebp, edx
not ebp
mov esi, eax
and esi, ebp
mov edi, eax
or edi, ebp
not edi
imul edi, esi
mov esi, eax
and esi, edx
or eax, edx
imul eax, esi
add eax, edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
imul eax, ecx
mov dword [esp], eax
call fcn.0035c880
mov dword [esp + 0x24], eax
mov dword [esp], 0
mov eax, dword [0x3981dc]
call eax
sub esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
lea esi, [esp + 0x2fc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 0x18], 0
mov dword [esp + 8], 0
mov eax, dword [0x398248]
call eax
sub esp, 0x1c
mov dword [esp + 0x2f0], eax
mov dword [esp + 0x40], 0x96c0fc81
lea eax, [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2f4]
mov ecx, dword [esp + 0x2f8]
mov eax, dword [ecx + eax*4]
mov dword [esp + case.0x37d47f.96], 0x39cb10
mov dword [esp + 0x2e0], 0xf7
mov dword [esp + case.0x38075a.188], 0x39d3dc
mov dword [esp + case.0x38075a.190], 0x39d3e4
mov dword [esp + case.0x38075a.192], 0x39d3ec
mov dword [esp + case.0x38075a.194], 0x39d3f4
mov dword [esp + case.0x38075a.196], 0x39d3fc
mov dword [esp + case.0x38075a.198], 0x39d404
mov dword [esp + case.0x38075a.198], 0x39d40c
mov dword [esp + case.0x38075a.202], 0x39d414
mov dword [esp + case.0x38075a.198], 0x39d41c
mov dword [esp + case.0x38075a.198], 0x39d424
mov dword [esp + case.0x38075a.208], 0x39d42c
mov dword [esp + case.0x38075a.210], 0x39d434
mov dword [esp + case.0x38075a.198], 0x39d43c
mov dword [esp + case.0x38075a.198], 0x39d444
mov dword [esp + case.0x38075a.198], 0x39d44c
mov dword [esp + case.0x38075a.218], 0x39d454
mov dword [esp + case.0x38075a.220], 0x39d45c
mov dword [esp + case.0x38075a.222], 0x39d464
mov dword [esp + case.0x38075a.198], 0x39d46c
mov dword [esp + case.0x38075a.198], 0x39d474
mov dword [esp + case.0x38075a.228], 0x39d47c
mov dword [esp + case.0x38075a.198], 0x39d484
mov dword [esp + case.0x38075a.198], 0x39d48c
mov dword [esp + case.0x38075a.234], 0x39d494
mov dword [esp + case.0x38075a.236], 0x39d49c
mov dword [esp + case.0x38075a.198], 0x39d4a4
mov dword [esp + case.0x38075a.198], 0x39d4ac
mov dword [esp + case.0x38075a.198], 0x39d4b4
mov dword [esp + case.0x38075a.244], 0x39d4bc
mov dword [esp + case.0x38075a.246], 0x39d4c4
mov dword [esp + case.0x38075a.248], 0x39d4cc
mov dword [esp + case.0x38075a.250], 0x39d4d4
mov dword [esp + case.0x38075a.198], 0x39d4dc
mov dword [esp + case.0x38075a.198], 0x39d4e4
mov dword [esp + case.0x38075a.256], 0x39d4ec
mov dword [esp + case.0x38075a.198], 0x39d4f4
mov dword [esp + case.0x38075a.198], 0x39d4fc
mov dword [esp + case.0x38075a.262], 0x39d504
mov dword [esp + case.0x38075a.264], 0x39d50c
mov dword [esp + case.0x38075a.198], 0x39d514
mov dword [esp + case.0x38075a.198], 0x39d51c
mov dword [esp + case.0x38075a.198], 0x39d524
mov dword [esp + case.0x38075a.272], 0x39d52c
mov dword [esp + case.0x38075a.274], 0x39d534
mov dword [esp + case.0x38075a.276], 0x39d53c
mov dword [esp + case.0x38075a.198], 0x39d544
mov dword [esp + case.0x38075a.198], 0x39d54c
mov dword [esp + case.0x38075a.198], 0x39d554
mov dword [esp + case.0x38075a.284], 0x39d55c
mov dword [esp + case.0x38075a.286], 0x39d564
mov dword [esp + case.0x38075a.198], 0x39d56c
mov dword [esp + case.0x38075a.198], 0x39d574
mov dword [esp + case.0x38075a.198], 0x39d57c
mov dword [esp + case.0x37d47f.96], 0x39cb10
mov dword [esp + 0x130], 0x148
mov dword [esp + case.0x37d47f.96], 0x39cb10
mov dword [esp + 0x128], 0x148
mov dword [esp + case.0x37d47f.96], 0x39cb10
mov dword [esp + 0x120], 0x148
mov dword [esp + case.0x37d47f.96], 0x39cb10
mov dword [esp + 0x118], 0x148
mov dword [esp + case.0x37d47f.96], 0x39cb10
mov dword [esp + 0x110], 0x148
mov dword [esp + case.0x37d47f.96], 0x39cb10
mov dword [esp + 0x108], 0x148
mov dword [esp + case.0x37d47f.96], 0x39cb10
mov dword [esp + 0x100], 0x148
mov dword [esp + 0xfc], 0x39cb10
mov dword [esp + 0xf8], 0x148
mov dword [esp + 0xf4], 0x39cb10
mov dword [esp + 0xf0], 0x148
mov dword [esp + 0xec], 0x39cb10
mov dword [esp + 0xe8], 0x148
mov dword [esp + 0xe4], 0x39cb10
mov dword [esp + 0xe0], 0x148
mov dword [esp + 0xdc], 0x39cb10
mov dword [esp + 0xd8], 0x148
mov dword [esp + 0xd4], 0x39cb10
mov dword [esp + 0xd0], 0x148
mov dword [esp + 0xcc], 0x39cb10
mov dword [esp + 0xc8], 0x148
mov dword [esp + 0xc4], 0x39cb10
mov dword [esp + 0xc0], 0x148
mov dword [esp + 0xbc], 0x39cb10
mov dword [esp + 0xb8], 0x148
mov dword [esp + 0xb4], 0x39cb10
mov dword [esp + 0xb0], 0x148
mov dword [esp + 0xac], 0x39cb10
mov dword [esp + 0xa8], 0x148
mov dword [esp + 0xa4], 0x39cb10
mov dword [esp + 0xa0], 0x148
mov dword [esp + 0x9c], 0x39cb10
mov dword [esp + 0x98], 0x148
mov dword [esp + 0x94], 0x39cb10
mov dword [esp + 0x90], 0x148
mov dword [esp + 0x8c], 0x39cb10
mov dword [esp + 0x88], 0x148
mov dword [esp + 0x84], 0x39cb10
mov dword [esp + 0x80], 0x148
mov dword [esp + 0x7c], 0x39cb10
mov dword [esp + 0x78], 0x148
mov dword [esp + 0x74], 0x39cb10
mov dword [esp + 0x70], 0x148
mov dword [esp + 0x6c], 0x39cb10
mov dword [esp + 0x68], 0x148
mov dword [esp + 0x64], 0x39cb10
mov dword [esp + 0x60], 0x148
mov dword [esp + 0x5c], 0x39cb10
mov dword [esp + 0x58], 0xf6
jmp eax