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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007369f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x28], 0x1c5a3d7f
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x6ef3b063
push 4
mov dword [esp + 0x8c], 1
mov dword [esp + 0x10], esi
pop edi
jmp 0x100383f6
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x48], 0x2ba10f40
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x100383e6
mov dword [esp + 0xc], esi
jmp 0x1003840e
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x3c], edi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x10038402
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1003bbe6
add esp, 0x14
mov dword [esp + 0x18], 0x1c
jmp 0x100387ce
mov dword [esp + 0x30], 0xbadcab39
xor eax, eax
mov dword [esp + 0x34], 0xffffffff
inc eax
mov dword [esp + 0x28], 0x79038991
mov dword [esp + 0x20], 0xbe49c906
mov dword [esp + 0x58], 0xfffffff9
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x24], 0x61c0
mov dword [esp + 0x14], edi
mov dword [esp + 0x74], esi
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x10], 0xfffffffc
jmp 0x1003852d
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x2c]
jge 0x1003850c
mov dword [esp + 0x2c], 0xb319bd1
xor edx, edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
mov eax, dword [esp + 0x1c]
setl dl
sub eax, edx
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
je 0x100384f0
cmp dword [esp + 0x30], esi
je 0x100384f0
xor eax, eax
inc eax
jmp 0x100384f2
mov eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x28], eax
jge 0x1003850c
mov ecx, esi
jmp 0x1003850f
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x4c]
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x30]
setne dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [esp + 0x4c], ecx
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffff3
jle 0x100384a5
mov eax, dword [esp + 0x3c]
xor edx, edx
dec dword [esp + 0x24]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x20]
cmp eax, ecx
mov eax, dword [esp + 0x20]
setne dl
xor ecx, ecx
cmp edx, eax
setge cl
xor edx, edx
cmp ecx, 0x2dc6606a
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x44]
setge dl
add ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x20]
setl dl
sub edx, eax
mov eax, dword [esp + 0x10]
sub edx, eax
mov eax, dword [esp + 0x24]
add eax, edx
je 0x10038598
cmp dword [esp + 0x10], esi
je 0x10038598
xor ecx, ecx
inc ecx
jmp 0x1003859a
mov ecx, esi
mov eax, dword [esp + 0x4c]
sub eax, ecx
mov ecx, dword [esp + 0x58]
neg eax
sbb eax, eax
add eax, 0x851aa8ca
add ecx, eax
je 0x1003870b
mov dword [esp + 0xc], 0x21bf
mov dword [esp + 0x28], 0xfffffff6
cmp dword [esp + 0xc], esi
jne 0x10038643
mov ecx, dword [esp + 0x24]
xor edx, edx
mov eax, dword [esp + 0x18]
cmp eax, ecx
setne dl
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x30], 0xf3b42422
ja 0x10038606
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov eax, dword [esp + 0xc]
imul edx, eax
mov eax, dword [esp + 0x4c]
cmp edx, eax
mov eax, dword [esp + 0x44]
sete cl
xor edx, edx
imul eax, ecx
imul ecx, eax, 0xffff94b6
mov eax, dword [esp + 0x20]
cmp ecx, eax
mov eax, dword [esp + 0xc]
setne dl
xor ecx, ecx
cmp edx, eax
setge cl
test ecx, ecx
jle 0x1003864e
cmp dword [esp + 0x18], esi
je 0x1003864e
xor ecx, ecx
inc ecx
jmp 0x10038650
mov ecx, esi
xor eax, eax
inc eax
sub eax, ecx
cmp eax, dword [esp + 0xc]
jg 0x1003865f
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x20], 1
jne 0x10038670
cmp dword [esp + 0xc], esi
jne 0x10038670
mov eax, esi
jmp 0x10038673
xor eax, eax
inc eax
mov dword [esp + 0x1c], 2
xor edx, edx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
cmp ecx, eax
mov eax, dword [esp + 0xc]
setle dl
xor ecx, ecx
test edx, edx
sets cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x88]
setle dl
xor ecx, ecx
cmp edx, eax
setl cl
xor edx, edx
add ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
imul ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ab1936
mov eax, dword [esp + 0x14]
setl dl
xor ecx, ecx
sub edx, eax
mov eax, dword [esp + 0x14]
cmp edx, eax
setge cl
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], 3
cmp dword [esp + 0x14], esi
jl 0x100387ca
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x48]
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x78], ecx
dec dword [esp + 0x14]
jns 0x100386f0
jmp 0x100387ca
push dword [esp + 0x38]
movdqa xmm0, xmmword [0x10007e30]
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x70], esi
push eax
push esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x7c], esi
movdqu xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x80], esi
call fcn.10025f0c
push 2
lea ecx, [esp + 0x60]
mov dword [esp + 0xc0], esi
call fcn.10024d89
lea eax, [esp + 0x8c]
mov byte [esp + 0xbc], 1
push eax
push esi
lea eax, [esp + 0x64]
push eax
push 0x6f43
push 0x16d
call fcn.10039d86
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x50]
push eax
push esi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.10039229
add esp, 0x30
lea ecx, [esp + 0x5c]
call fcn.10024e55
or dword [esp + 0xbc], 0xffffffff
lea ecx, [esp + 0x68]
call fcn.10024e55
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xfffffffa
jne 0x1003843f
lea eax, [esp + 0xa0]
push eax
call fcn.1003248c
mov esi, eax
lea edi, [esp + 0x60]
pop ecx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10038325
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
mov eax, dword [ecx + eax*8]
mov ecx, dword [esp + 0xa8]
sub eax, 0x12c
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret