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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x1011d004]
xor eax, esp
mov dword [esp + 0xc4], eax
xor eax, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x78], eax
xorps xmm0, xmm0
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx]
push esi
push edi
movaps xmmword [esp + 0x90], xmm0
mov eax, dword [eax + 8]
movaps xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xb0], xmm0
mov esi, dword [eax + 0xc]
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x20], eax
mov eax, esi
cdq
mov dword [esp + 0x18], esi
mov edi, eax
mov esi, edx
push esi
push edi
call fcn.100049e0
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
jne 0x1003c017
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x9c]
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x50], 7
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x1003c045
push esi
mov esi, dword [esp + 0x7c]
push edi
push dword [esp + 0x70]
push esi
call fcn.10106330
mov edi, eax
cdq
sub esi, eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x90]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x68]
sbb esi, edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x40], edi
nop dword [eax]
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 0xc]
lea eax, [eax + ecx*8]
mov dword [esp + 0x64], eax
mov eax, edi
cdq
add eax, dword [esp + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
adc edx, esi
mov dword [esp + 0x74], edx
cmp dword [eax + 0x18], 0
je 0x1003c30b
mov eax, dword [eax + 0x14]
mov ecx, 1
mov dword [esp + 0x7c], eax
cdq
mov esi, edx
mov dword [esp + 0x38], eax
mov edx, eax
mov dword [esp + 0x88], esi
shrd edx, esi, 7
shr esi, 7
mov eax, edx
or eax, esi
je 0x1003c0da
mov edi, ecx
nop word [eax + eax]
shrd edx, esi, 7
inc edi
shr esi, 7
mov ecx, edx
or ecx, esi
jne 0x1003c0c0
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x88]
mov eax, ecx
cdq
add eax, dword [esp + 0x38]
mov ecx, edx
adc ecx, esi
add eax, dword [esp + 0x70]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
adc ecx, dword [esp + 0x74]
mov eax, dword [eax + 0x10]
cdq
add eax, dword [esp + 0x78]
adc edx, dword [esp + 0x68]
cmp ecx, edx
jg 0x1003c30b
jl 0x1003c11c
cmp dword [esp + 0x70], eax
ja 0x1003c30b
mov ecx, dword [esp + 0x38]
test esi, esi
ja 0x1003c172
jb 0x1003c12b
cmp ecx, 0x7f
ja 0x1003c140
and cl, 0x7f
mov eax, 1
mov byte [esp + 0xc0], cl
mov dword [esp + 0x3c], eax
jmp 0x1003c18f
test esi, esi
ja 0x1003c172
jb 0x1003c14e
cmp ecx, 0x3fff
ja 0x1003c172
mov eax, ecx
shrd eax, esi, 7
or al, 0x80
and cl, 0x7f
mov byte [esp + 0xc0], al
mov eax, 2
mov byte [esp + 0xc1], cl
mov dword [esp + 0x3c], eax
jmp 0x1003c18f
push esi
push ecx
lea ecx, [esp + 0xc8]
call fcn.10009990
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x1003c22d
mov ecx, eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x50], 0
jne 0x1003c229
mov esi, dword [esp + 0x18]
sub esi, edi
cmp ecx, esi
cmovle esi, ecx
sub eax, ecx
lea ecx, [esp + 0xc0]
add eax, ecx
push esi
push eax
mov eax, dword [esp + 0x3c]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add edi, esi
add esp, 0xc
cmp edi, dword [esp + 0x18]
jne 0x1003c213
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
cdq
add eax, dword [esp + 8]
adc edx, dword [esp + 0x10]
mov ecx, dword [ecx]
push edx
push eax
mov eax, dword [esp + 0x1c]
sub edi, eax
add eax, dword [esp + 0x3c]
push edi
push eax
push dword [esp + 0x30]
mov eax, dword [ecx + 0xc]
call eax
mov dword [esp + 0x64], eax
xor edi, edi
mov eax, dword [esp + 0x2c]
add esp, 0x14
cdq
add dword [esp + 8], eax
mov dword [esp + 0x14], edi
adc dword [esp + 0x10], edx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
sub ecx, esi
mov dword [esp + 0x38], ecx
test ecx, ecx
jg 0x1003c195
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
mov ecx, edx
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x74], eax
test edx, edx
jle 0x1003c2e5
nop word [eax + eax]
cmp dword [esp + 0x50], 0
jne 0x1003c2e1
mov esi, dword [esp + 0x18]
sub esi, edi
cmp ecx, esi
cmovle esi, ecx
sub eax, ecx
add eax, edx
push esi
push eax
mov eax, dword [esp + 0x3c]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add edi, esi
add esp, 0xc
cmp edi, dword [esp + 0x18]
jne 0x1003c2c7
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
cdq
add eax, dword [esp + 8]
adc edx, dword [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x1c]
sub edi, eax
add eax, dword [esp + 0x3c]
push edi
push eax
push dword [esp + 0x30]
mov eax, dword [ecx + 0xc]
call eax
mov dword [esp + 0x64], eax
xor edi, edi
mov eax, dword [esp + 0x2c]
add esp, 0x14
cdq
add dword [esp + 8], eax
mov dword [esp + 0x14], edi
adc dword [esp + 0x10], edx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x74]
sub ecx, esi
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x64], ecx
test ecx, ecx
jg 0x1003c250
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x8c]
mov ecx, dword [eax + 4]
call fcn.1003ba90
mov esi, dword [esp + 0x10]
mov dword [esp + 0x80], eax
test eax, eax
je 0x1003c050
mov esi, dword [esp + 0x50]
test esi, esi
jne 0x1003c34c
cmp dword [esp + 0x34], esi
je 0x1003c34c
mov ecx, dword [esp + 0x14]
cmp edi, ecx
jle 0x1003c34c
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
mov eax, ecx
cdq
add eax, dword [esp + 8]
adc edx, dword [esp + 0x10]
push edx
push eax
mov eax, edi
sub eax, ecx
add ecx, dword [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov ecx, dword [esi + 0xc]
call ecx
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x6c]
mov eax, edi
mov edi, dword [esp + 0x34]
cdq
add eax, dword [esp + 8]
mov dword [ecx + 0x38], eax
adc edx, dword [esp + 0x10]
mov dword [ecx + 0x3c], edx
test edi, edi
je 0x1003c3c1
cmp dword [0x1011d0f8], 0
je 0x1003c3b7
mov eax, dword [0x1011f3e8]
test eax, eax
je 0x1003c385
push eax
call dword [0x1011d148]
add esp, 4
push edi
call dword [0x1011d124]
sub dword [0x1011f200], eax
add esp, 4
dec dword [0x1011f224]
push edi
call dword [0x1011d11c]
mov eax, dword [0x1011f3e8]
add esp, 4
test eax, eax
je 0x1003c3c1
push eax
call dword [0x1011d150]
jmp 0x1003c3be
push edi
call dword [0x1011d11c]
add esp, 4
mov eax, dword [esp + 0x80]
test eax, eax
mov ecx, dword [esp + 0xcc]
cmove eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.10105304
mov esp, ebp
pop ebp
ret