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

Disassembly:
sub esp, 0x4c
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
lea ecx, [eax + 0x14]
add eax, 0x424
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x10]
xor esi, esi
mov ebx, dword [eax + 0x18]
mov edx, ecx
mov eax, dword [esp + 0x68]
sub ebx, eax
sub edx, dword [esp + 0x68]
inc ebx
mov dword [esp + 0x1c], ebx
mov ebp, eax
mov ebx, eax
sar ebp, 2
inc edx
sar ebx, 1
mov edi, dword [esp + 0x78]
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], ebp
cmp dword [esp + 0x1c], esi
jle 0x1012fc98
mov eax, ebx
imul eax, ecx
imul ebp, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x38], ebp
test edx, edx
jle 0x1012fc84
add eax, esi
lea ebp, [esi + ebx]
shl ebp, 2
lea ecx, [eax*4]
lea edx, [eax + ebx]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
lea eax, [esi*4]
shl edx, 2
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x6c]
push 0x10
mov ecx, dword [ecx]
mov eax, dword [eax + ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + ebp]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx]
mov dword [esp + 0x54], eax
mov eax, dword [edx + ecx]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x44]
call fcn.10161910
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0x10
mov ecx, dword [ecx]
mov dword [edx + ecx], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi*4]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + ebp]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + ecx]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + ecx]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x54]
call fcn.10161910
mov ecx, dword [esp + 0x40]
add esp, 0x18
mov ecx, dword [ecx + 4]
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx]
cmp byte [ecx + esi], 0
lea eax, [ecx + esi]
je 0x1012fbef
mov edx, dword [esp + 0x2c]
cmp byte [eax + edx], 0
mov edx, dword [esp + 0x10]
je 0x1012fbf3
cmp byte [eax + ebx], 0
je 0x1012fbf3
lea eax, [ecx + edx]
add eax, esi
cmp byte [eax], 0
je 0x1012fbf3
mov ecx, dword [esp + 0x2c]
cmp byte [eax + ecx], 0
je 0x1012fbf3
cmp byte [eax + ebx], 0
je 0x1012fbf3
mov cl, 1
jmp 0x1012fbf5
mov edx, dword [esp + 0x10]
xor cl, cl
mov eax, dword [edi]
mov byte [esi + eax], cl
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
cmp byte [ecx + esi], 0
lea eax, [ecx + esi]
je 0x1012fc37
cmp byte [eax + ebx], 0
je 0x1012fc37
mov eax, dword [esp + 0x44]
add eax, ecx
add eax, esi
cmp byte [eax], 0
je 0x1012fc37
cmp byte [eax + ebx], 0
je 0x1012fc37
lea eax, [ecx + edx]
add eax, esi
cmp byte [eax], 0
je 0x1012fc37
cmp byte [eax + ebx], 0
je 0x1012fc37
mov cl, 1
jmp 0x1012fc39
xor cl, cl
mov eax, dword [edi + 4]
add ebp, 4
mov edx, dword [esp + 0x20]
add dword [esp + 0x14], 4
add edx, 4
mov dword [esp + 0x20], edx
mov byte [esi + eax], cl
inc esi
sub dword [esp + 0x30], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
lea eax, [eax + 4]
lea ecx, [ecx + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ecx
jne 0x1012fb23
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov ebp, dword [esp + 0x38]
dec esi
add esi, ecx
sub ebp, 1
mov dword [esp + 0x38], ebp
jne 0x1012fae7
mov eax, dword [esp + 0x68]
cmp eax, 4
jl 0x1012fcf3
lea ebp, [eax - 1]
xor esi, esi
xor eax, eax
cmp dword [esp + 0x1c], eax
jle 0x1012fcf3
mov ecx, dword [esp + 0x18]
nop
xor edx, edx
test ecx, ecx
jle 0x1012fce5
mov ecx, dword [edi]
cmp byte [eax + ecx], 0
jne 0x1012fcc7
mov ecx, dword [edi + 4]
cmp byte [eax + ecx], 0
je 0x1012fccf
mov ecx, edx
or ecx, esi
test ebp, ecx
jne 0x1012fcd3
mov bl, 1
jmp 0x1012fcd5
xor bl, bl
mov ecx, dword [edi + 8]
inc edx
mov byte [eax + ecx], bl
inc eax
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jl 0x1012fcb6
mov edx, dword [esp + 0x68]
inc esi
dec edx
add eax, edx
cmp esi, dword [esp + 0x1c]
jl 0x1012fcb0
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x4c
ret