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

Disassembly:
mov eax, 0x100cad1d
call fcn.100bd27c
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
mov ebx, ecx
push dword [esp + 0x64]
xorps xmm0, xmm0
mov byte [esp + 0xf], dl
push dword [esp + 0x64]
mov eax, dword [ebp]
push ebp
mov dword [esp + 0x20], ebx
movlpd qword [esp + 0x30], xmm0
call dword [eax + 0xc]
test eax, eax
jne 0x100383a3
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push ecx
push ebp
call dword [eax + 0x10]
test eax, eax
jne 0x100383a3
push esi
xor edx, edx
push edi
mov dword [esp + 0x18], edx
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push edx
push ebp
mov dword [esp + 0x68], edx
call dword [eax + 0x1c]
mov edi, eax
test edi, edi
jne 0x1003838c
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push 8
pop eax
push eax
mov dword [esp + 0x54], eax
call fcn.1000a134
mov edi, eax
cmp edi, 1
je 0x10038387
test edi, edi
jne 0x1003838c
lea ecx, [esp + 0x3c]
call fcn.10037977
test al, al
je 0x10038387
cmp byte [esp + 0x3c], 0x46
jne 0x10038387
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x68], eax
jne 0x10038387
xor eax, eax
cmp dword [esp + 0x6c], eax
jne 0x10038387
mov esi, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x14], eax
mov byte [esp + 0x5c], 2
cmp byte [esp + 0x13], al
je 0x100381a5
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
push 0x100d60bc
push ebx
call dword [eax]
cmp dword [esp + 0x14], esi
jne 0x100380dc
mov edi, 0x80004001
jmp 0x10038363
push 0x20
call fcn.10003645
pop ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x5c], 3
test eax, eax
je 0x10038100
mov ecx, eax
call fcn.10092d30
mov ebx, eax
mov dword [esp + 0x20], eax
jmp 0x10038106
xor ebx, ebx
mov dword [esp + 0x20], ebx
push ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0x60], 2
call fcn.100093a0
test ebx, ebx
je 0x1003811e
lea eax, [ebx + 4]
jmp 0x10038120
xor eax, eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x74]
push eax
call fcn.10008ab4
mov edi, eax
test edi, edi
jne 0x10038231
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
call fcn.100379e7
push 0x14
call fcn.10003645
mov esi, eax
pop ecx
test esi, esi
je 0x1003815d
and dword [esi + 4], edi
mov dword [esi], 0x100d001c
jmp 0x1003815f
xor esi, esi
mov dword [esp + 0x70], esi
test esi, esi
je 0x1003816d
mov eax, dword [esi]
push esi
call dword [eax + 4]
and dword [esi + 0x10], 0
lea eax, [esp + 0x48]
mov dword [esi + 8], eax
lea eax, [ebx + 8]
mov dword [esi + 0xc], 5
mov ecx, dword [eax]
push esi
push eax
mov byte [esp + 0x64], 4
call dword [ecx + 0xc]
mov edi, eax
mov byte [esp + 0x5c], 2
mov eax, dword [esi]
push esi
call dword [eax + 8]
test edi, edi
jne 0x10038231
jmp 0x1003821a
push 0x18
call fcn.10003645
mov ebx, eax
mov dword [esp + 0x28], eax
pop ecx
test ebx, ebx
je 0x100381ca
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], 0x100d527c
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
jmp 0x100381d0
xor ebx, ebx
mov dword [esp + 0x24], ebx
push ebx
lea ecx, [esp + 0x78]
call fcn.100093a0
mov ecx, ebx
call fcn.1009fa40
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x100381ed
add eax, 4
jmp 0x100381ef
xor eax, eax
mov ecx, dword [esp + 0x70]
push 0
push eax
call fcn.10008ab4
mov edi, eax
test edi, edi
jne 0x10038231
cmp byte [esp + 0x3f], 6
movzx ecx, byte [esp + 0x3f]
push 6
pop eax
cmovb ecx, eax
mov byte [esp + 0x3c], 0x43
mov byte [esp + 0x3f], cl
push dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x40]
call fcn.1000a156
mov edi, eax
test edi, edi
je 0x1003823a
mov esi, dword [esp + 0x74]
jmp 0x10038363
push 0x38
call fcn.10003645
pop ecx
mov dword [esp + 0x70], eax
mov byte [esp + 0x5c], 5
test eax, eax
je 0x1003825a
mov ecx, eax
call fcn.1000955d
mov ebx, eax
jmp 0x1003825c
xor ebx, ebx
mov byte [esp + 0x5c], 2
mov dword [esp + 0x70], ebx
test ebx, ebx
je 0x1003826f
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push 6
pop eax
push 1
push ebp
mov ecx, ebx
mov byte [esp + 0x64], al
call fcn.100095cb
mov esi, dword [esp + 0x74]
push ebx
push 0
push 0
push dword [esp + 0x28]
mov eax, dword [esi]
push dword [esp + 0x28]
push esi
call dword [eax + 0xc]
mov edi, eax
test edi, edi
jne 0x10038354
cmp byte [esp + 0x13], al
je 0x10038323
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push 1
xorps xmm0, xmm0
push edi
movlpd qword [esp + 0x30], xmm0
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x10]
mov edi, eax
test edi, edi
jne 0x10038354
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add ecx, 0xffffffef
adc eax, 0xffffffff
mov dword [esp + 0x38], eax
jne 0x1003834f
cmp ecx, 0xffffffff
ja 0x1003834f
push ecx
lea ecx, [esp + 0x40]
call fcn.100379e7
mov eax, dword [esp + 0x14]
xor edx, edx
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov edi, eax
test edi, edi
jne 0x10038354
push dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x40]
call fcn.1000a156
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
jmp 0x10038330
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add ecx, 8
adc eax, 0
cmp ecx, dword [esp + 0x68]
jne 0x1003834f
cmp eax, dword [esp + 0x6c]
jne 0x1003834f
mov eax, dword [ebp]
push 0
push ebp
call dword [eax + 0x20]
mov edi, eax
jmp 0x10038354
mov edi, 0x80070057
mov byte [esp + 0x5c], 2
test ebx, ebx
je 0x10038363
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x5c], 1
test eax, eax
je 0x10038376
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x5c], 0
test esi, esi
je 0x1003838c
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x1003838c
mov edi, 0x80070057
or dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1003839f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10