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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x28], eax
mov esi, dword [ecx + 8]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0x30]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
mov ebx, edi
sar ebx, 0x1f
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
mov ecx, edi
mov edx, ebx
call fcn.10144e50
mov dword [esp + 0x54], eax
test eax, eax
mov dword [esp + 0x30], esi
jne 0x101608c9
mov dword [esp + 0x50], 7
jmp 0x101608fd
push ebx
push edi
mov ebx, dword [esp + 0x30]
push ebx
push esi
call fcn.1014df60
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov ecx, eax
sar ecx, 0x1f
sub esi, eax
mov eax, ebx
sbb eax, ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], edi
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
imul eax, dword [eax + 4], 0x38
mov dword [esp + 8], eax
cmp dword [ecx + eax + 0x18], 0
je 0x10160b10
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 8]
mov edi, dword [ecx + eax + 0x14]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov esi, edi
sar esi, 0x1f
xor ebx, ebx
mov dword [esp + 0x18], edi
shrd edi, esi, 7
shr esi, 7
inc ebx
mov edx, edi
or edx, esi
jne 0x10160945
mov eax, dword [esp + 0x18]
mov esi, eax
sar esi, 0x1f
mov edi, dword [esp + 0x1c]
mov edx, edi
sar edx, 0x1f
add ecx, eax
mov eax, dword [esp + 0x10]
adc eax, esi
add ecx, edi
adc eax, edx
add ecx, ebx
adc eax, 0
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
mov edi, edx
sar edi, 0x1f
add edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
adc edi, ebx
cmp edx, ecx
sbb edi, eax
mov edi, dword [esp + 0xc]
jl 0x10160b10
lea ecx, [esp + 0x50]
mov ebx, dword [esp + 0x18]
mov edx, ebx
push esi
call fcn.10160640
add esp, 4
test ebx, ebx
jle 0x10160ae4
mov ecx, ebx
mov eax, dword [esp + 8]
mov eax, dword [edi + eax + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x20], edx
mov edx, esi
mov esi, ecx
mov dword [esp + 0x10], ebx
test eax, eax
jne 0x10160ac4
mov eax, ebx
mov ebx, dword [esp + 0x1c]
mov edi, ebx
sub edi, edx
cmp esi, edi
cmovle edi, esi
add eax, edx
mov dword [esp + 8], esi
sub ecx, esi
add ecx, dword [esp + 0x48]
push edi
push ecx
push eax
mov esi, edx
call sub.VCRUNTIME140.dll_memcpy
mov edx, esi
add esp, 0xc
add edx, edi
xor eax, eax
cmp edx, ebx
jne 0x10160ab0
mov ecx, ebx
mov eax, ebx
sar eax, 0x1f
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x20]
mov eax, ebx
sar eax, 0x1f
mov esi, dword [esp + 0x24]
mov edx, esi
add edx, ebx
mov dword [esp + 0x40], edx
adc eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, ecx
sub eax, ebx
mov dword [esp + 0x38], eax
add ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x40]
push ebx
push dword [esp + 0x3c]
call ecx
add esp, 0x14
add esi, dword [esp + 0x1c]
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0xc]
adc ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], 0
xor edx, edx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 8]
sub esi, edi
jg 0x101609ff
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x4c]
call fcn.1015d1d0
test eax, eax
je 0x101608fd
mov edi, eax
mov edx, dword [esp + 0x14]
add edx, 0x38
lea ecx, [esp + 0x50]
call fcn.101606c0
jmp 0x10160b22
mov edx, dword [esp + 0x14]
add edx, 0x38
lea ecx, [esp + 0x50]
call fcn.101606c0
mov edi, eax
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.1014dc80
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret