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

Disassembly:
sub esp, 0x1e8
mov eax, dword [0x10059d10]
xor eax, esp
mov dword [esp + 0x1e4], eax
mov eax, dword [esp + 0x200]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x1f0]
push ebx
mov ebx, dword [esp + 0x200]
mov edx, dword [esp + 0x1f8]
mov dword [esp + 0x24], eax
push ebp
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x14], eax
push esi
mov esi, dword [ebx + 0x38]
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x24]
mov ebx, dword [ebx + 0x3c]
push edi
mov edi, dword [esp + 0x1fc]
mov eax, dword [eax]
movdqu xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x208]
lea ebp, [edi + 0x1a8]
movdqu xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x60], eax
mov dword [esp + 0x10], edi
add edi, 0x328
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
push 0
push ebx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x78], 0
mov dword [esp + 0x78], esi
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x28]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x74], ebp
call esi
add esp, 0x10
test eax, eax
jne 0x100105ec
push eax
push ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x6c], edi
push eax
lea eax, [esp + 0x58]
push eax
call esi
add esp, 0x10
test eax, eax
jne 0x100105ec
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
lea eax, [edx + ecx]
cmp eax, ebx
ja 0x100103d3
push dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x40]
push ecx
call fcn.10010010
push 1
push dword [esp + 0x48]
lea eax, [esp + 0x74]
mov dword [esp + 0x8c], ebp
push 0
push eax
call esi
add esp, 0x30
jmp 0x100105ec
mov dword [esp + 0x44], 1
cmp ecx, ebx
jne 0x100105ec
mov eax, 0x10000
mov dword [esp + 0x2c], eax
lea esp, [esp]
test edx, edx
je 0x100104b3
cmp edx, ebx
jae 0x100104b3
sub ebx, edx
test ebx, ebx
jle 0x10010417
lea esi, [edx*4]
mov ecx, ebx
add esi, ebp
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
test edx, edx
jle 0x1001042a
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x74]
lea edi, [edi + ebx*4]
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x30]
xor eax, dword [esp + 0x3c]
lea ecx, [esp + 0x78]
push dword [esp + 0x24]
push ecx
push ecx
push eax
mov eax, dword [esp + 0x40]
xor eax, dword [esp + 0x48]
push eax
push dword [esp + 0x40]
push dword [esp + 0x2c]
call fcn.10010010
add esp, 0x20
xor edx, edx
test ebx, ebx
jle 0x10010473
lea esp, [esp]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + edx*4 + 0x74]
add ecx, edx
inc edx
mov dword [ebp + ecx*4], eax
cmp edx, ebx
jl 0x10010460
mov edx, dword [esp + 0x14]
test edx, edx
jle 0x100104ab
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x74]
lea esi, [esi + ebx*4]
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov esi, ebp
mov ebp, dword [esp + 0x40]
sub esi, ecx
mov eax, dword [ecx]
sub eax, dword [esi + ecx]
jns 0x1001049f
add eax, ebp
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x10010496
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
push dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0x78]
push ebx
push ebp
push eax
mov ecx, edi
shl ecx, 0x10
mov eax, ecx
xor ecx, dword [esp + 0x44]
xor eax, dword [esp + 0x48]
push eax
push ecx
push dword [esp + 0x40]
push dword [esp + 0x2c]
call fcn.10010010
add dword [esp + 0x4c], 0x10000
inc edi
add esp, 0x20
mov dword [esp + 0x48], edi
cmp dword [esp + 0x44], 0
jne 0x10010541
test ebx, ebx
jle 0x10010573
mov edx, dword [esp + 0x10]
lea edi, [esp + 0x74]
add edx, 0x28
mov eax, ebp
mov ebp, dword [esp + 0x40]
sub edi, edx
sub eax, edx
mov esi, ebx
mov ecx, edx
mov dword [esp + 0x70], eax
mov ebx, eax
lea ebx, [ebx]
mov edx, dword [edi + ecx]
sub edx, dword [ecx]
mov eax, dword [ebx + ecx]
mov dword [ecx], eax
jns 0x1001052e
add edx, ebp
mov dword [ebx + ecx], edx
add ecx, 4
dec esi
jne 0x10010520
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
jmp 0x1001056f
xor eax, eax
lea esi, [ebx*4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
push esi
add eax, 0x28
push ebp
push eax
call sub.MSVCR120.dll_memcpy
push esi
lea eax, [esp + 0x84]
push eax
push ebp
call sub.MSVCR120.dll_memcpy
add esp, 0x18
mov esi, dword [esp + 0x1c]
push 1
push ebx
lea eax, [esp + 0x54]
mov dword [esp + 0x6c], ebp
push 0
push eax
call esi
add esp, 0x10
test eax, eax
jne 0x100105ec
mov edx, dword [esp + 0x14]
mov ecx, ebp
mov ebp, dword [esp + 0x18]
mov eax, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
test edx, edx
je 0x100105cc
cmp edx, ebx
jne 0x100105d9
push 0
push ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x6c], ecx
push eax
lea eax, [esp + 0x58]
push eax
call esi
add esp, 0x10
test eax, eax
jne 0x100105ec
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
cmp eax, ebx
jne 0x100105ec
mov eax, dword [esp + 0x2c]
jmp 0x100103f0
push 1
push edx
lea eax, [esp + 0x54]
mov dword [esp + 0x6c], ebp
push 0
push eax
call esi
add esp, 0x10
mov ecx, dword [esp + 0x1f4]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10043356
add esp, 0x1e8
ret