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

Disassembly:
sub esp, 0x158
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
push ebp
mov ecx, dword [esp + 0x170]
xor ebx, ebx
mov eax, dword [esp + 0x174]
xor ebp, ebp
mov edx, dword [esp + 0x164]
push esi
push edi
xor edi, edi
mov dword [ecx], 1
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
mov dword [esp + 0x58], eax
mov dword [eax], ebx
lea eax, [edx + 0x68]
push 0x18
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x64], eax
call fcn.10065880
mov esi, eax
test esi, esi
js 0x10061ee7
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
push 4
call fcn.100606c0
mov esi, eax
test esi, esi
js 0x10061ee1
mov eax, dword [0x10092868]
push 0x10
mov eax, dword [eax + 0x204]
call eax
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x10061a30
mov esi, 0xfffffc0d
jmp 0x10061ee9
xorps xmm0, xmm0
mov dword [esp + 0x20], esi
movdqu xmmword [esi], xmm0
mov edi, eax
mov dword [esp + 0x14], eax
cmp word [eax], bx
je 0x10061c01
mov ebp, dword [esp + 0x170]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10061a85
mov eax, dword [0x10092868]
push 0x34
mov eax, dword [eax + 0x204]
call eax
mov dword [esp + 0x10], eax
test eax, eax
je 0x10061c3d
push 0x34
push 0
push eax
call fcn.1007e500
add esp, 0xc
test ebp, ebp
je 0x10061aa7
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
push dword [esp + 0x3c]
push dword [eax + 0x1c]
push edi
push eax
call fcn.10061320
jmp 0x10061abf
push dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
push dword [eax + 0x1c]
push 0
push 0
push edi
push dword [eax + 0x14]
call fcn.1006f7e0
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
js 0x10061acf
or dword [ecx + 0x30], 0x20
jmp 0x10061ae9
and dword [ecx + 0x30], 0xffffffdf
cmp esi, 0xfffffc00
je 0x10061ae7
cmp esi, 0xfffffbf8
jne 0x10061ba0
xor esi, esi
test byte [ecx + 0x30], 0x20
je 0x10061b1e
lea eax, [esp + 0x3c]
push eax
lea eax, [ecx + 0x10]
mov ecx, dword [esp + 0x1c]
push 0x10
push eax
push 0
mov eax, dword [ecx + 0x1c]
push 0
push dword [eax + 0x10]
push dword [ecx + 0x14]
call fcn.1003a9e0
mov esi, eax
test esi, esi
js 0x10061ba0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x20], edi
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 0x10c]
shl eax, 2
xor eax, dword [ecx + 0x30]
and eax, 4
xor dword [ecx + 0x30], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [ecx + 0x30]
mov edx, dword [eax + 0x108]
mov eax, dword [esp + 0x10]
and edx, 0x6000
neg edx
sbb edx, edx
neg edx
shl edx, 4
xor edx, ecx
and edx, 0x10
xor edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x30], edx
mov eax, dword [ecx + 0x1c]
movsx eax, word [eax + 0x110]
shl eax, 3
xor eax, edx
and eax, 8
xor eax, edx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 0x1c]
movdqu xmm0, xmmword [eax]
mov eax, dword [esp + 0x24]
mov dword [edx + 0x24], eax
movdqu xmmword [edx], xmm0
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x10], edx
jmp 0x10061ba4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x10], 0xffffffff
je 0x10061bba
lea edx, [ecx + 0x68]
push edx
push eax
push dword [ecx + 0x14]
call fcn.1006f560
test esi, esi
jns 0x10061bd2
push esi
call fcn.10063430
test eax, eax
jne 0x10061c4a
mov dword [ebx], 1
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10061bd7
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
add edi, 2
cmp word [edi], ax
jne 0x10061a55
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [0x10092868]
mov eax, dword [eax + 0x208]
call eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], 0
mov dword [esi + 0xc], eax
mov dword [esp + 0x20], 0
test ebp, ebp
jne 0x10061c57
test ebx, ebx
jne 0x10061c57
xor eax, eax
jmp 0x10061c5c
mov dword [esp + 0x10], 0
mov esi, 0xfffffc0d
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
jmp 0x10061ee9
mov eax, 1
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov dword [ecx], eax
mov edi, dword [ebx + 0x24]
mov dword [esp + 0x1c], edi
test edi, edi
je 0x10061ce3
mov esi, dword [edi + 0xc]
test esi, esi
je 0x10061cd8
mov edi, dword [esp + 0x28]
lea esp, [esp]
push esi
push edi
call fcn.10064640
test eax, eax
jne 0x10061ccd
lea ebp, [ebx + 0x68]
push ebp
lea eax, [esp + 0x54]
push eax
push 1
push 0
push dword [esi + 0x20]
push dword [ebx + 0x14]
call fcn.1006f7e0
test eax, eax
js 0x10061ccd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x78]
push dword [ebx + 0x14]
call fcn.10049fa0
push ebp
lea eax, [esp + 0x54]
push eax
push dword [ebx + 0x14]
call fcn.1006f560
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x10061c80
mov edi, dword [esp + 0x1c]
mov edi, dword [edi + 8]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x10061c71
push dword [ebx + 0x24]
push dword [ebx + 0x2c]
call fcn.10063630
mov edi, dword [esp + 0x28]
mov dword [ebx + 0x24], edi
mov ebx, edi
mov dword [esp + 0x30], edi
jmp 0x10061d00
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
push 0
push 0
push 0x22
push dword [esp + 0x60]
call fcn.10065880
mov esi, eax
test esi, esi
js 0x10061c4a
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x10061eb1
lea esp, [esp]
test byte [ecx + 0x30], 9
jne 0x10061e9e
movdqa xmm0, xmmword [0x10001e40]
xor ebp, ebp
xor ebx, ebx
movdqu xmmword [esp + 0x40], xmm0
mov dword [esp + 0x2c], ebx
mov eax, edi
mov dword [esp + 0x1c], edi
jmp 0x10061d70
mov edx, dword [eax + 0xc]
test edx, edx
je 0x10061e7d
lea eax, [ecx + 0x10]
mov dword [esp + 0x38], eax
lea ecx, [edx + 0x10]
mov esi, eax
mov edi, 0xc
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10061e66
add ecx, 4
add esi, 4
sub edi, 4
jae 0x10061d90
mov ecx, dword [edx + 0x30]
test cl, 8
jne 0x10061e66
test ebx, ebx
je 0x10061dff
test ebp, ebp
je 0x10061dd5
lea esi, [esp + 0x40]
mov edi, edx
mov ebx, 0xc
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x10061deb
add esi, 4
add edi, 4
sub ebx, 4
jae 0x10061dc4
mov ebx, dword [esp + 0x2c]
mov esi, 1
mov eax, ecx
xor eax, esi
and eax, esi
xor eax, ecx
mov dword [edx + 0x30], eax
jmp 0x10061e66
mov ebx, dword [esp + 0x2c]
xor esi, esi
mov eax, ecx
xor eax, esi
and eax, 1
xor eax, ecx
mov dword [edx + 0x30], eax
jmp 0x10061e66
test cl, 4
je 0x10061e66
test cl, 0x10
jne 0x10061e66
mov ebp, 1
lea edi, [esp + 0x40]
mov esi, edx
lea ecx, [ebp + 0xb]
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x10061e2c
add esi, 4
add edi, 4
sub ecx, 4
jae 0x10061e17
xor eax, eax
jmp 0x10061e58
movzx ecx, byte [edi]
movzx eax, al
sub eax, ecx
jne 0x10061e58
movzx eax, byte [esi + 1]
movzx ecx, byte [edi + 1]
sub eax, ecx
jne 0x10061e58
movzx eax, byte [esi + 2]
movzx ecx, byte [edi + 2]
sub eax, ecx
jne 0x10061e58
movzx eax, byte [esi + 3]
movzx ecx, byte [edi + 3]
sub eax, ecx
test eax, eax
jns 0x10061e66
movdqu xmm0, xmmword [edx]
movdqu xmmword [esp + 0x40], xmm0
mov edx, dword [edx + 0x24]
mov eax, dword [esp + 0x38]
test edx, edx
jne 0x10061d82
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10061d70
mov edi, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x2c], ebx
cmp ebx, 2
jb 0x10061d60
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x10061d40
mov ebx, dword [esp + 0x30]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x10061d00
cmp dword [esp + 0x174], ebx
je 0x10061edd
mov edx, dword [esp + 0x18]
push edx
call fcn.100a3e99
mov esi, eax
test esi, esi
js 0x10061c4a
xor eax, eax
jmp 0x10061f18
mov eax, dword [esp + 0x14]
jmp 0x10061ee9
xor eax, eax
push eax
mov eax, dword [0x10092868]
mov eax, dword [eax + 0x208]
call eax
mov eax, dword [0x10092868]
push dword [esp + 0x10]
mov eax, dword [eax + 0x208]
call eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x208]
call eax
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x158
ret 0x14