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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x100aa040]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov edi, dword [0x100ab038]
mov dword [esp + 0x28], edi
test edi, edi
je 0x1003da59
mov esi, dword [edi + 0x78]
jmp 0x1003da5b
xor esi, esi
mov ecx, dword [edi + 0x2c]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x28], esi
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100388c0
mov esi, dword [esi]
lea ecx, [esp + 0x34]
push ecx
push esi
mov dword [esp + 0x3c], 0
mov eax, dword [esi]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x1003db0f
mov eax, dword [esi]
lea ecx, [esp + 0x40]
xorps xmm0, xmm0
push ecx
push esi
movaps xmmword [esp + 0x48], xmm0
movaps xmmword [esp + 0x58], xmm0
call dword [eax + 0x24]
test eax, eax
jne 0x1003db01
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
push 0
push esi
call dword [eax + 0x20]
test eax, eax
jne 0x1003db01
mov ecx, dword [esp + 0x34]
push 0x20
push 3
push 0xa0200
push dword [esp + 0x68]
mov eax, dword [ecx]
push dword [esp + 0x54]
push dword [esp + 0x54]
push ecx
call dword [eax + 0x28]
mov ecx, dword [esp + 0x34]
mov esi, eax
test esi, esi
push ecx
sete byte [esp + 0x17]
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
je 0x1003db73
mov ecx, dword [esp + 0x14]
jmp 0x1003db14
mov eax, dword [esp + 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], 0
mov eax, dword [edi + 0x2c]
cmp byte [eax + 0x19], 0
je 0x1003db73
mov esi, ecx
imul esi, dword [esp + 0x1c]
mov ecx, esi
imul ecx, dword [esp + 0x30]
call fcn.100182c0
mov dword [esp + 0x34], eax
mov edi, eax
lea ecx, [eax + esi*4]
mov dword [esp + 0x18], ecx
cmp eax, ecx
jae 0x1003db6d
mov esi, dword [esp + 0x2c]
sub esi, eax
mov edx, dword [esi + edi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, dl
and edx, 0xff00ff00
shl eax, 0x10
or ecx, eax
or ecx, edx
mov dword [edi], ecx
add edi, 4
cmp edi, dword [esp + 0x18]
jb 0x1003db47
mov edi, dword [esp + 0x34]
jmp 0x1003db7b
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x24]
cmp byte [esp + 0x13], 0
lea esi, [eax + 0xc]
push 0
mov dword [esi], 0
mov edx, dword [eax]
push esi
push 0
mov dword [esp + 0x24], 0x20
mov eax, dword [edx]
mov ecx, dword [eax + 0x5c]
mov eax, 0x15
cmovne eax, dword [esp + 0x24]
push eax
push 0x200
push 1
push dword [esp + 0x34]
push dword [esp + 0x30]
push edx
call ecx
test eax, eax
js 0x1003dcc2
mov ecx, dword [esi]
lea edx, [esp + 0x38]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x4c]
test eax, eax
jne 0x1003dcc2
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x1003dc19
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
push eax
mov eax, dword [esp + 0x3c]
imul eax, esi
push edi
add eax, dword [esp + 0x44]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
inc esi
add esp, 0xc
add edi, eax
cmp esi, dword [esp + 0x1c]
jl 0x1003dbf6
mov esi, dword [esp + 0x24]
push 0
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp byte [esp + 0x13], 0
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0xc]
mov ecx, dword [edx + 0x2c]
mov dword [ecx + 4], eax
jne 0x1003dcaf
mov eax, dword [edx + 0x2c]
cmp byte [eax + 0x19], 0
je 0x1003dcaf
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1003dca5
mov esi, dword [0x100ab038]
test esi, esi
je 0x1003dca5
movsx edx, word [esi + 0x5ee4]
lea eax, [esi + 0x5ee8]
mov edi, dword [esi + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], edi
je 0x1003dc9b
lea eax, [edx + 1]
mov dword [esp + 0x28], 6
cdq
idiv dword [esp + 0x28]
movzx eax, dx
mov word [esi + 0x5ee4], ax
cwde
add eax, 0xbdd
xor edx, edx
lea eax, [esi + eax*8]
mov dword [eax], edi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [esi + 0x5ee0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10075fbd
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x6c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10075fbd
mov esp, ebp
pop ebp
ret