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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x18
cmp byte [ecx + 0x2640], 0
je 0x101676c4
movzx eax, byte [esp + 0x28]
test byte [ecx + eax*4 + 0x26c4], 0x20
je 0x101676c4
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
push 0x100
push 0
push dword [esp + 0x38]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
call fcn.10513d40
add esp, 0xc
add esp, 0x18
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
push edi
call fcn.100bc090
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
push edi
mov ecx, dword [ebx + eax*8 + 0x3f18]
mov dword [ebp], ecx
mov eax, dword [ebx + eax*8 + 0x3f1c]
mov dword [esp + 0x18], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], eax
call fcn.100bc390
push edi
mov esi, eax
call fcn.100bc290
push edi
mov dword [esp + 0x28], eax
call fcn.100bc2f0
push edi
mov dword [esp + 0x28], eax
call fcn.100bc330
push edi
mov dword [esp + 0x34], eax
call fcn.100bc360
push edi
mov dword [esp + 0x3c], eax
call fcn.100bc2c0
mov dword [esp + 0x40], eax
lea edx, [esi + esi*2]
shl edx, 4
add esp, 0x1c
add edx, ebx
mov ecx, dword [edx + 0x3d40]
add dword [ebp + 4], ecx
mov esi, dword [ebp + 4]
mov eax, dword [edx + 0x3d40]
add dword [ebp + 8], eax
mov edi, dword [ebp + 8]
mov eax, dword [edx + 0x3d40]
add dword [ebp + 0xc], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3d40]
add dword [ebp + 0x10], eax
mov eax, dword [edx + 0x3d44]
mov ebp, dword [ebp + 0x10]
mov ecx, dword [esp + 0x3c]
add dword [ecx + 0x14], eax
mov eax, dword [edx + 0x3d44]
add dword [ecx + 0x18], eax
mov eax, dword [edx + 0x3d44]
add dword [ecx + 0x1c], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
lea eax, [edx + 0x147]
lea eax, [eax + eax*2]
shl eax, 4
add ecx, eax
mov eax, dword [esp + 0x3c]
add esi, dword [ecx]
mov dword [eax + 4], esi
add edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], edi
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x3c]
add eax, eax
add ebx, dword [ecx + eax*8 + 0x3d54]
mov dword [edx + 0xc], ebx
add ebp, dword [ecx + eax*8 + 0x3d54]
mov eax, dword [esp + 0x18]
mov dword [edx + 0x10], ebp
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [ecx + eax*8 + 0x3d48]
add ecx, dword [edx + 0x14]
mov dword [edx + 0x14], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + eax*8 + 0x3d48]
mov ecx, dword [esp + 0x3c]
add edx, dword [ecx + 0x18]
mov dword [ecx + 0x18], edx
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + eax*8 + 0x3d4c]
mov ecx, dword [esp + 0x3c]
add dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
lea eax, [eax + eax*2]
shl eax, 4
add ecx, eax
mov eax, dword [ecx + 0x3d58]
add eax, esi
mov esi, dword [esp + 0x3c]
mov dword [esi + 4], eax
mov eax, dword [ecx + 0x3d5c]
add eax, edi
mov edi, dword [esp + 0x34]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, dword [edi + ecx*8 + 0x3d60]
add eax, ebx
mov dword [esi + 0xc], eax
mov eax, dword [edi + ecx*8 + 0x3d64]
add eax, ebp
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, dword [edi + ecx*8 + 0x3d68]
add eax, dword [esp + 0x18]
mov dword [esi + 0x14], eax
mov eax, dword [edi + ecx*8 + 0x3d6c]
add eax, edx
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x2c]
cmp byte [eax + 1], 0
je 0x10167a8d
mov esi, dword [esp + 0x30]
push esi
call fcn.100bc290
push esi
mov dword [esp + 0x34], eax
call fcn.100bc2c0
push esi
mov dword [esp + 0x30], eax
call fcn.100bc2f0
push esi
mov edi, eax
call fcn.100bc330
push esi
mov ebx, eax
call fcn.100bc360
push esi
mov ebp, eax
call fcn.100bbee0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x4c]
add edx, dword [eax + ecx*4 + 0x3dfc]
lea ecx, [edi + edi*2]
mov esi, dword [eax + ecx*8 + 0x3ea0]
lea eax, [edi + edi*2]
mov ecx, dword [esp + 0x4c]
add esi, edx
add edx, dword [ecx + eax*8 + 0x3ea4]
lea eax, [ebx + ebx*2]
mov ebx, ecx
lea ecx, [ebx + eax*8]
mov edi, dword [ecx + 0x3ea8]
mov eax, dword [ecx + 0x3eac]
add edi, esi
add eax, esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
lea eax, [ebp*2]
add eax, ebp
mov ebp, dword [ebx + eax*8 + 0x3eb0]
mov eax, dword [ebx + eax*8 + 0x3eb4]
add ebp, edx
add eax, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
add eax, eax
mov ecx, dword [ebx + eax*8 + 0x3ee8]
mov ebx, dword [ebx + eax*8 + 0x3eec]
lea eax, [edx + 0x3ef]
add eax, eax
add edx, edx
mov esi, dword [esi + eax*8]
mov eax, dword [esp + 0x4c]
add esi, ecx
mov edx, dword [eax + edx*8 + 0x3ef4]
lea eax, [edi + esi]
add edx, ecx
mov ecx, dword [esp + 0x58]
mov dword [ecx + 0x34], eax
lea eax, [edi + edx]
mov dword [ecx + 0x38], eax
lea eax, [edi + ebx]
mov edi, ecx
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x3c], eax
lea eax, [ecx + esi]
mov dword [edi + 0x54], eax
lea eax, [ecx + edx]
mov dword [edi + 0x58], eax
lea eax, [ecx + ebx]
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x5c], eax
lea eax, [esi + ebp]
mov dword [edi + 0x74], eax
lea eax, [edx + ebp]
mov dword [edi + 0x78], eax
lea eax, [ebx + ebp]
mov dword [edi + 0x7c], eax
lea eax, [ecx + esi]
mov dword [edi + 0x94], eax
lea eax, [ecx + edx]
mov dword [edi + 0x98], eax
lea eax, [ecx + ebx]
mov ebx, dword [esp + 0x48]
push ebx
mov dword [edi + 0x9c], eax
call fcn.100bc390
push ebx
mov edi, eax
call fcn.100bc4b0
push ebx
mov esi, eax
call fcn.100bc360
mov ebx, eax
add esp, 0x24
mov eax, dword [esp + 0x18]
add eax, 0x52a
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x34]
lea ebp, [eax + ecx*4]
lea eax, [edi + edi*8]
mov edi, dword [esp + 0x34]
lea ecx, [esi + esi*8]
mov esi, dword [esp + 0x40]
lea edx, [edi + eax*4]
mov eax, dword [edi + ecx*4 + 0x3e40]
add eax, dword [edx + 0x3e34]
add eax, dword [esp + 0x10]
add eax, dword [ebp]
mov dword [esi + 0x28], eax
lea eax, [ebx + ebx*8]
mov eax, dword [edi + eax*4 + 0x3e4c]
add eax, dword [edx + 0x3e34]
add eax, dword [esp + 0x10]
add eax, dword [ebp]
add eax, dword [edi + ecx*4 + 0x3e44]
mov dword [esi + 0x2c], eax
lea eax, [ebx + ebx*8]
mov eax, dword [edi + eax*4 + 0x3e50]
add eax, dword [edx + 0x3e34]
add eax, dword [esp + 0x10]
add eax, dword [edi + ecx*4 + 0x3e44]
add eax, dword [ebp]
mov dword [esi + 0x30], eax
mov eax, dword [edx + 0x3e38]
add eax, dword [esp + 0x10]
add eax, dword [ebp]
pop edi
mov dword [esi + 0xbc], eax
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [esp + 0x40]
mov ecx, 4
lea eax, [edx + 0x34]
nop dword [eax]
mov dword [eax], 0x200
lea eax, [eax + 0x20]
mov dword [eax - 0x1c], 0x200
mov dword [eax - 0x18], 0x200
sub ecx, 1
jne 0x10167aa0
pop edi
pop esi
pop ebp
mov dword [edx + 0x28], 0x200
mov dword [edx + 0x2c], 0x200
mov dword [edx + 0x30], 0x200
mov dword [edx + 0xbc], 0x200
pop ebx
add esp, 0x18
ret