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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov eax, dword [edx + 8]
mov dword [esp + 0xc], ecx
cmp eax, 0x7fffffff
jae 0x1003926e
mov dword [esp + 0x84], eax
inc eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov dword [edx + 8], eax
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
and ebx, 0xfffff000
mov edx, ecx
shl eax, 5
add edx, 0xffffffa0
lea eax, [eax + eax*2]
nop dword [eax]
test eax, eax
je 0x10039223
add eax, 0xffffffa0
cmp ebx, dword [edx + 0x98]
mov ecx, edx
mov edx, edi
sbb edx, dword [ecx + 0x9c]
lea edx, [ecx + 0x60]
jb 0x10038af0
mov esi, dword [ecx + 0xa4]
cmp dword [ecx + 0xa0], ebx
sbb esi, edi
jb 0x10038af0
mov eax, edx
mov edx, dword [edx + 0x50]
mov dword [esp + 4], ebx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x2c], eax
add edx, 0xfffffff0
shl ecx, 3
lea ecx, [ecx + ecx*2]
nop dword [eax]
test ecx, ecx
je 0x10038ba2
mov eax, dword [edx + 0x10]
mov esi, dword [edx + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 4]
xor ebx, ebx
mov dword [esp + 0x34], eax
and eax, 0xfffff000
mov dword [esp + 0x30], esi
xor esi, edi
mov edi, eax
xor edi, edx
or edi, esi
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x30]
setne bl
cmp edx, eax
mov edx, dword [esp + 0x10]
mov eax, edi
sbb eax, esi
mov eax, 0xff
cmovb ebx, eax
add edx, 0x18
add ecx, 0xffffffe8
cmp bl, 1
je 0x10038b40
mov ecx, dword [esp + 0x34]
movzx eax, bl
cmp eax, 0xff
jne 0x10038cf2
mov edx, dword [esp + 0x2c]
lea esi, [esp + 0xa0]
mov ecx, esi
call fcn.10040180
mov eax, dword [esp + 8]
dec dword [eax + 8]
lea eax, [esp + 0x38]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
push esi
push eax
call fcn.1003b090
add esp, 0x14
xor esi, esi
lea edi, [0x3fa448d]
lea edx, [0x3fa448e]
mov eax, 0xfffffff9
mov dword [esp + 0x10], 0
nop dword [eax + eax]
movzx ebx, byte [edi]
mov edi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x10038c15
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x1003923c
add bl, 0xa9
mov edx, ebx
mov ecx, esi
movzx ebx, dl
lea edx, [edi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, edi
je 0x10038c36
shld dword [esp + 0x10], esi, 4
inc eax
test edi, edi
mov esi, ebx
jne 0x10038bf0
mov edx, dword [esp + 0x38]
cmp edx, 3
jne 0x10038c94
mov esi, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov edi, dword [esp + 0x48]
mov eax, dword [0x3fa8000]
xor ebx, 0x163
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], esi
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x78], edi
push 4
push 8
push 0x3fa78d4
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x58], 0
je 0x10038d19
lea ecx, [esp + 0x74]
call fcn.10005440
xor eax, eax
jmp 0x10038d22
test edx, edx
je 0x10038d7e
movsd xmm0, qword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cmp edx, 1
jne 0x10038dca
mov eax, dword [ebp + 8]
mov edx, ecx
not dl
and al, dl
mov edx, dword [esp + 4]
test al, 0x3f
jne 0x10039291
mov eax, dword [ebp + 0xc]
movzx ecx, cl
movlps qword [esp + 0x90], xmm0
mov dword [esp + 0x98], esi
or edx, ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
jmp 0x10038d89
mov eax, ecx
mov ecx, dword [ebp + 8]
not al
and cl, al
test cl, 0x3f
je 0x10038d59
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x84]
mov ebx, 3
jmp 0x10038fd9
mov eax, dword [esp + 0x5c]
mov dword [eax], esi
mov dword [eax + 4], edi
mov edx, dword [esp + 0xc]
movaps xmm0, xmmword [esp + 0x10]
mov ecx, eax
shr ecx, 8
movlps qword [edx + 4], xmm0
mov dword [edx + 0xc], ebx
mov word [edx + 0x11], cx
mov ecx, eax
shr ecx, 0x18
mov byte [edx + 0x13], cl
mov byte [edx + 0x10], al
lea eax, [esp + 0xa0]
mov dword [edx], 1
push eax
jmp 0x10039030
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10038f92
cmp eax, 1
jne 0x10038f9b
mov eax, dword [edx + 4]
inc dword [eax]
mov dword [esp + 0x10], eax
jmp 0x10038fc9
mov dword [esp + 0x90], 3
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x98]
movsd xmm2, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x90]
lea ecx, [esp + 0xa0]
movsd qword [eax + 0x18], xmm0
movsd qword [eax + 0x10], xmm1
movsd qword [eax + 8], xmm2
mov dword [eax], 0
push ecx
jmp 0x10039030
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
mov dword [esp + 0x10], esi
cmp dword [edx + 8], 0
jne 0x100392aa
mov dword [edx + 8], 0xffffffff
mov edi, edx
mov eax, dword [esp + 4]
mov esi, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov edx, dword [edx + 0xc]
cmp esi, edi
cmovb edi, esi
add edx, 0xffffffa0
shl edi, 5
lea esi, [edi + edi*2]
nop word cs:[eax + eax]
nop
test esi, esi
je 0x10039255
add esi, 0xffffffa0
mov edi, edx
cmp ebx, dword [edx + 0x98]
mov edx, dword [ebp + 0xc]
sbb edx, dword [edi + 0x9c]
lea edx, [edi + 0x60]
jb 0x10038e10
mov ebx, dword [edi + 0xa4]
cmp dword [edi + 0xa0], eax
sbb ebx, dword [ebp + 0xc]
mov ebx, dword [esp + 4]
jb 0x10038e10
mov eax, dword [ebp + 8]
mov ebx, ecx
not bl
mov bh, al
and bh, bl
test bh, 0x3f
jne 0x100392cd
movzx ecx, cl
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
or ecx, dword [esp + 4]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ecx
movlps qword [esp + 0x60], xmm0
mov dword [esp + 0x68], eax
lea eax, [esp + 0x58]
lea ecx, [esp + 0x38]
push eax
call fcn.10039400
add esp, 4
xor ebx, ebx
lea edx, [0x3fa448d]
lea edi, [0x3fa448e]
mov eax, 0xfffffff9
mov dword [esp + 0x10], 0
nop word cs:[eax + eax]
nop
movzx ecx, byte [edx]
mov edx, edi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x10038ed5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1003923c
add cl, 0xa9
mov ch, cl
mov edi, ebx
movzx esi, ch
shl edi, 4
or esi, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x10038ef6
shld dword [esp + 0x10], ebx, 4
inc eax
test edx, edx
mov ebx, esi
jne 0x10038eb0
cmp dword [esp + 0x38], 0
je 0x10038f52
mov edi, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov eax, dword [0x3fa8000]
xor esi, 0x16d
mov dword [esp + 0x74], edi
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x78], ebx
push 4
push 8
push 0x3fa78d4
lea ecx, [esp + 0x64]
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x58], 0
je 0x10038fff
lea ecx, [esp + 0x74]
call fcn.10005440
xor eax, eax
jmp 0x10039008
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 8]
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x1003904b
mov esi, dword [esp + 0x4c]
cmp eax, 1
je 0x10039040
cmp eax, 3
je 0x1003904b
mov edx, dword [esp + 0x50]
mov ecx, esi
call fcn.1006ab50
mov ecx, esi
call fcn.1002c670
jmp 0x10039047
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
jmp 0x10038fc9
mov eax, dword [edx + 4]
cmp dword [eax + 8], 0
jne 0x100392e6
mov dword [eax + 8], 0xffffffff
lea ecx, [eax + 0xc]
mov edi, eax
mov edx, dword [edx + 8]
mov dword [esp + 4], edx
call fcn.1006aac0
inc dword [edi + 8]
inc dword [edi]
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
dec edx
mov edi, dword [esp + 0x34]
mov dword [eax + 0xc], esi
mov dword [eax + 8], edi
mov dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edi
mov dword [eax], 0
mov dword [ecx + 8], edx
jmp 0x10039038
mov eax, dword [esp + 0x5c]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0xc]
movaps xmm0, xmmword [esp + 0x10]
lea edx, [esp + 0xa0]
movlps qword [ecx + 4], xmm0
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], eax
mov dword [ecx], 1
mov ecx, dword [esp + 8]
inc dword [ecx + 8]
push edx
call fcn.10039310
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.1002d360
mov edx, dword [esp + 8]
inc dword [edx + 8]
mov eax, 2
mov ecx, dword [esp + 0xbc]
add ecx, 0xfffffffe
cmp ecx, 4
cmovb eax, ecx
lea ecx, [eax - 1]
cmp ecx, 2
jb 0x1003906f
test eax, eax
jne 0x10039079
mov dword [esp + 0x58], 0
jmp 0x100390b0
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0xa4]
mov esi, edx
mov ecx, dword [esp + 0xa0]
or ebx, dword [edx + 0x18]
mov edx, dword [eax + 8]
dec edx
and edx, 0xfffffff8
lea ecx, [edx + ecx + 8]
mov edx, dword [esi + 0x1c]
or edx, edi
push dword [ebp + 0x10]
push edx
push ebx
push ecx
lea ecx, [esp + 0x68]
push ecx
call dword [eax + 0x18]
add esp, 0x14
xor ecx, ecx
lea edx, [0x3fa448d]
lea edi, [0x3fa448e]
mov eax, 0xfffffff9
xor esi, esi
nop word cs:[eax + eax]
nop
movzx ebx, byte [edx]
mov edx, edi
mov bh, bl
add bh, 0xd0
cmp bh, 0xa
jb 0x100390f5
or bl, 0x20
mov bh, bl
add bh, 0x9f
cmp bh, 6
jae 0x1003923c
add bl, 0xa9
mov bh, bl
mov edi, ecx
movzx ebx, bh
shl edi, 4
or ebx, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x10039114
shld esi, ecx, 4
inc eax
test edx, edx
mov ecx, ebx
jne 0x100390d0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10039184
mov ecx, dword [esp + 0x64]
movsd xmm0, qword [esp + 0x5c]
xor ebx, 0x171
mov dword [esp + 0x38], eax
lea edx, [esp + 0x38]
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x74]
push ebx
call fcn.1002cd30
add esp, 4
mov eax, dword [esp + 0x74]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x10039187
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x78]
mov dword [edx + 0x10], ecx
movsd qword [edx + 8], xmm0
mov dword [edx + 4], eax
mov dword [edx], 1
lea edx, [esp + 0xa0]
jmp 0x1003902f
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
call fcn.100397d0
add esp, 4
mov esi, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x30], edx
shl eax, 3
add esi, 0xffffffe8
lea eax, [eax + eax*2]
nop dword [eax + eax]
xor edx, edx
test eax, eax
je 0x1003920c
mov ebx, dword [esi + 0x18]
mov ecx, 0xfffff000
mov edi, dword [esi + 0x1c]
mov edx, esi
and ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], edi
mov esi, ebx
xor esi, dword [esp + 4]
xor edi, ecx
xor ecx, ecx
or esi, edi
mov esi, dword [ebp + 0xc]
lea edi, [edx + 0x18]
mov edx, 0xff
setne cl
cmp dword [esp + 4], ebx
sbb esi, dword [esp + 0x10]
mov esi, edi
cmovb ecx, edx
add eax, 0xffffffe8
cmp cl, 1
je 0x100391b0
movzx eax, cl
mov edx, 0
cmp eax, 0xff
je 0x1003920c
mov edx, edi
lea ecx, [esp + 0x88]
call fcn.10005470
mov eax, dword [esp + 0x30]
dec dword [eax]
jmp 0x10038d89
mov ecx, 0x3fa7af8
mov edx, 0x2b
push 0x3fa4524
call fcn.10007180
add esp, 4
ud2
mov ecx, 0x3fa6484
mov edx, 0xe
push 0x3f9fdfc
call fcn.10007180
add esp, 4
ud2
mov ecx, 0x3fa7af8
mov edx, 0x2b
push 0x3fa4534
call fcn.10007180
add esp, 4
ud2
lea eax, [esp + 0x38]
mov ecx, 0x3fa6508
mov edx, 0x18
push 0x3fa45c8
push 0x3fa4698
push eax
call fcn.100079d0
add esp, 0xc
ud2
mov ecx, 0x3fa4554
mov edx, 0x36
push 0x3fa458c
call fcn.10007180
add esp, 4
ud2
mov ecx, 0x3fa7a08
mov edx, 0x10
push 0x3fa44d8
push 0x3fa46a8
lea eax, [esp + 0x40]
push eax
call fcn.100079d0
add esp, 0xc
ud2
mov ecx, 0x3fa4554
mov edx, 0x36
push 0x3fa459c
call fcn.10007180
add esp, 4
ud2
lea eax, [esp + 0x38]
mov ecx, 0x3fa7a08
mov edx, 0x10
push 0x3fa6530
push 0x3fa7898
push eax
call fcn.100079d0
add esp, 0xc
ud2