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

Disassembly:
sub esp, 0x3c
test byte [esp + 0x4c], 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0
mov ebx, dword [edi + 0x1c]
jne 0x10161a2a
test dword [edi + 0x2e0], 0x8000
jne 0x10161a2a
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x14], 1
test ebp, ebp
jne 0x10161a44
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], 1
jmp 0x10161aae
mov ebp, dword [esp + 0x54]
test ebp, ebp
jne 0x10161a3c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov dword [esp + 0x14], 0
cmp dword [ebp + 0x30], 0
je 0x10161a5e
push ebp
push 0x2b
push ebx
call fcn.100f7060
add esp, 0xc
test eax, eax
jne 0x10161fe4
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x1c], eax
je 0x10161a94
mov esi, dword [ebp]
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0x9c]
and edx, 0x40
nop dword [eax]
mov ecx, dword [ecx + 0x1c]
test edx, edx
jne 0x10161a8a
add ecx, dword [esi + 0x28]
cmp dword [ecx + 0x1c], 0
jne 0x10161a80
mov esi, dword [esp + 0x20]
add ecx, 0x14
cmp dword [ecx], 0
jne 0x10161aa7
cmp dword [ecx + 4], 0
cmove esi, ecx
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x54]
cmp dword [eax + 0xc], 0xffffffff
jne 0x10161ac8
push edi
call fcn.1015e920
add esp, 4
test eax, eax
jne 0x10161fe4
mov edi, dword [esp + 0x70]
test edi, edi
jne 0x10161ad4
xor eax, eax
jmp 0x10161ad7
mov eax, dword [edi + 4]
add eax, 0x40
mov dword [esp + 0x34], eax
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x10161afd
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x34]
add eax, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], eax
cmp dword [esp + 0x14], 0
jne 0x10161b2f
test ebp, ebp
je 0x10161b2f
lea ecx, [esp + 0x18]
add eax, 8
push ecx
push eax
push ebx
call fcn.100dc800
add esp, 0xc
test eax, eax
jne 0x10161fe4
mov esi, dword [esp + 0x18]
add esi, 4
mov dword [esp + 0x30], esi
jmp 0x10161b4a
lea ecx, [esp + 0x30]
push ecx
push eax
push ebx
call fcn.100dc800
add esp, 0xc
test eax, eax
jne 0x10161fe4
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10161b68
push eax
sub esi, eax
add esi, dword [esp + 0x38]
push 0
push esi
call fcn.10220d70
mov esi, dword [esp + 0x3c]
add esp, 0xc
test byte [ebx + 0x9c], 4
jne 0x10161b79
mov dword [esi], 0x2b000000
jmp 0x10161b7f
mov dword [esi], 0x2b
test byte [ebx + 0x9c], 4
jne 0x10161ba9
movzx eax, byte [esp + 0x13]
mov byte [esi + 4], al
movzx eax, byte [esp + 0x12]
mov byte [esi + 5], al
movzx eax, byte [esp + 0x11]
mov byte [esi + 6], al
mov eax, dword [esp + 0x10]
mov byte [esi + 7], al
jmp 0x10161bb0
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
test byte [ebx + 0x9c], 4
mov ecx, dword [esp + 0x1c]
jne 0x10161bda
movzx eax, byte [ecx + 3]
mov byte [esi + 8], al
movzx eax, byte [ecx + 2]
mov byte [esi + 9], al
movzx eax, byte [ecx + 1]
mov byte [esi + 0xa], al
movzx eax, byte [ecx]
mov byte [esi + 0xb], al
jmp 0x10161bdf
mov eax, dword [ecx]
mov dword [esi + 8], eax
test byte [ebx + 0x9c], 4
jne 0x10161c06
movzx eax, byte [ecx + 7]
mov byte [esi + 0xc], al
movzx eax, byte [ecx + 6]
mov byte [esi + 0xd], al
movzx eax, byte [ecx + 5]
mov byte [esi + 0xe], al
movzx eax, byte [ecx + 4]
mov byte [esi + 0xf], al
jmp 0x10161c0c
mov eax, dword [ecx + 4]
mov dword [esi + 0xc], eax
test byte [ebx + 0x9c], 4
jne 0x10161c33
mov al, byte [esp + 0x63]
mov byte [esi + 0x10], al
mov al, byte [esp + 0x62]
mov byte [esi + 0x11], al
mov al, byte [esp + 0x61]
mov byte [esi + 0x12], al
mov al, byte [esp + 0x60]
mov byte [esi + 0x13], al
jmp 0x10161c3a
mov eax, dword [esp + 0x60]
mov dword [esi + 0x10], eax
test byte [ebx + 0x9c], 4
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x54]
mov ecx, dword [eax + 0xc]
jne 0x10161c6a
mov eax, ecx
mov byte [esi + 0x17], cl
shr eax, 0x18
mov byte [esi + 0x14], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x15], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x16], al
jmp 0x10161c6d
mov dword [esi + 0x14], ecx
test byte [ebx + 0x9c], 4
jne 0x10161c97
mov ecx, dword [esp + 0x64]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x18], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x19], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x1a], al
mov byte [esi + 0x1b], cl
jmp 0x10161c9e
mov eax, dword [esp + 0x64]
mov dword [esi + 0x18], eax
test byte [ebx + 0x9c], 4
jne 0x10161cc8
mov ecx, dword [esp + 0x68]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x1c], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x1d], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], cl
jmp 0x10161ccf
mov eax, dword [esp + 0x68]
mov dword [esi + 0x1c], eax
test byte [ebx + 0x9c], 4
jne 0x10161cf9
mov ecx, dword [esp + 0x6c]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x20], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x21], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x22], al
mov byte [esi + 0x23], cl
jmp 0x10161d00
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x9c]
and eax, 4
test edi, edi
jne 0x10161d15
mov dword [esi + 0x24], edi
add esi, 0x28
jmp 0x10161d51
test eax, eax
jne 0x10161d37
movzx eax, byte [edi + 7]
mov byte [esi + 0x24], al
movzx eax, byte [edi + 6]
mov byte [esi + 0x25], al
movzx eax, byte [edi + 5]
mov byte [esi + 0x26], al
movzx eax, byte [edi + 4]
mov byte [esi + 0x27], al
jmp 0x10161d3d
mov eax, dword [edi + 4]
mov dword [esi + 0x24], eax
push dword [edi + 4]
add esi, 0x28
push dword [edi]
push esi
call fcn.102207f0
add esp, 0xc
add esi, dword [edi + 4]
mov edi, dword [esp + 0x74]
test edi, edi
je 0x10161dee
test ebp, ebp
je 0x10161d96
mov eax, dword [ebx + 0x74]
mov ecx, dword [eax + 0x40]
mov eax, dword [edi]
cmp eax, dword [ecx + 0x30]
jne 0x10161d76
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 0x34]
je 0x10161d80
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x10161d96
push edi
push dword [esp + 0x54]
push ebx
call fcn.100f91e0
add esp, 0xc
test eax, eax
jne 0x10161fe4
test byte [ebx + 0x9c], 4
jne 0x10161dbb
movzx eax, byte [edi + 3]
mov byte [esi], al
movzx eax, byte [edi + 2]
mov byte [esi + 1], al
movzx eax, byte [edi + 1]
mov byte [esi + 2], al
movzx eax, byte [edi]
mov byte [esi + 3], al
jmp 0x10161dbf
mov eax, dword [edi]
mov dword [esi], eax
test byte [ebx + 0x9c], 4
jne 0x10161de6
movzx eax, byte [edi + 7]
mov byte [esi + 4], al
movzx eax, byte [edi + 6]
mov byte [esi + 5], al
movzx eax, byte [edi + 5]
mov byte [esi + 6], al
movzx eax, byte [edi + 4]
mov byte [esi + 7], al
jmp 0x10161df5
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
jmp 0x10161df5
xorps xmm0, xmm0
movq qword [esi], xmm0
mov edi, dword [esp + 0x78]
test edi, edi
je 0x10161e94
test ebp, ebp
je 0x10161e3a
mov eax, dword [ebx + 0x74]
mov ecx, dword [eax + 0x40]
mov eax, dword [edi]
cmp eax, dword [ecx + 0x30]
jne 0x10161e1a
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 0x34]
je 0x10161e24
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x10161e3a
push edi
push dword [esp + 0x54]
push ebx
call fcn.100f91e0
add esp, 0xc
test eax, eax
jne 0x10161fe4
test byte [ebx + 0x9c], 4
jne 0x10161e60
movzx eax, byte [edi + 3]
mov byte [esi + 8], al
movzx eax, byte [edi + 2]
mov byte [esi + 9], al
movzx eax, byte [edi + 1]
mov byte [esi + 0xa], al
movzx eax, byte [edi]
mov byte [esi + 0xb], al
jmp 0x10161e65
mov eax, dword [edi]
mov dword [esi + 8], eax
test byte [ebx + 0x9c], 4
jne 0x10161e8c
movzx eax, byte [edi + 7]
mov byte [esi + 0xc], al
movzx eax, byte [edi + 6]
mov byte [esi + 0xd], al
movzx eax, byte [edi + 5]
mov byte [esi + 0xe], al
movzx eax, byte [edi + 4]
mov byte [esi + 0xf], al
jmp 0x10161e9c
mov eax, dword [edi + 4]
mov dword [esi + 0xc], eax
jmp 0x10161e9c
xorps xmm0, xmm0
movq qword [esi + 8], xmm0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x10161f3b
test ebp, ebp
je 0x10161ee1
mov eax, dword [ebx + 0x74]
mov ecx, dword [eax + 0x40]
mov eax, dword [edi]
cmp eax, dword [ecx + 0x30]
jne 0x10161ec1
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 0x34]
je 0x10161ecb
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x10161ee1
push edi
push dword [esp + 0x54]
push ebx
call fcn.100f91e0
add esp, 0xc
test eax, eax
jne 0x10161fe4
test byte [ebx + 0x9c], 4
jne 0x10161f07
movzx eax, byte [edi + 3]
mov byte [esi + 0x10], al
movzx eax, byte [edi + 2]
mov byte [esi + 0x11], al
movzx eax, byte [edi + 1]
mov byte [esi + 0x12], al
movzx eax, byte [edi]
mov byte [esi + 0x13], al
jmp 0x10161f0c
mov eax, dword [edi]
mov dword [esi + 0x10], eax
test byte [ebx + 0x9c], 4
jne 0x10161f33
movzx eax, byte [edi + 7]
mov byte [esi + 0x14], al
movzx eax, byte [edi + 6]
mov byte [esi + 0x15], al
movzx eax, byte [edi + 5]
mov byte [esi + 0x16], al
movzx eax, byte [edi + 4]
mov byte [esi + 0x17], al
jmp 0x10161f43
mov eax, dword [edi + 4]
mov dword [esi + 0x14], eax
jmp 0x10161f43
xorps xmm0, xmm0
movq qword [esi + 0x10], xmm0
cmp dword [esp + 0x14], 0
jne 0x10161f85
test ebp, ebp
je 0x10161f85
mov eax, dword [esp + 0x18]
xor esi, esi
mov ecx, dword [ebp + 0x40]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
test ecx, ecx
jne 0x10161f64
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x18]
pop edi
or dword [eax + 0x5c], 4
mov eax, dword [esp + 0x54]
mov dword [eax], esi
mov dword [eax + 4], 1
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x20]
or eax, 8
push eax
lea eax, [esp + 0x34]
push eax
push edi
push ebx
call fcn.101252a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10161fca
test ebp, ebp
je 0x10161fca
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax], ecx
cmp edi, edx
je 0x10161fca
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
cmp dword [esp + 0x14], 0
jne 0x10161fd5
test ebp, ebp
jne 0x10161fe2
push dword [esp + 0x30]
push ebx
call fcn.100dc7e0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret