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

Disassembly:
sub esp, 0x64
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
push ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x58], eax
call fcn.101303d0
shl eax, 0x10
mov edx, ecx
xor ebp, ebp
mov dword [esp + 0x50], eax
sar edx, 1
lea eax, [edi + 8]
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebp
cmp dword [esp + 0x90], ebp
je 0x1012fe80
mov eax, dword [esp + 0x7c]
lea esi, [eax + eax]
mov dword [esp + 0x18], esi
test ecx, ecx
jle 0x1012ff5c
mov ecx, dword [esp + 0x80]
mov ebx, 2
lea eax, [ecx + ecx]
sub ebx, eax
lea edi, [eax + esi]
shl ecx, 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], edi
nop dword [eax]
mov eax, ebp
xor ebx, ebx
sar eax, 1
mov ebp, esi
imul eax, edx
mov dword [esp + 0x2c], eax
nop
mov ecx, ebx
sar ecx, 1
add ecx, eax
movzx eax, word [ebp]
mov word [esp + 0x68], ax
mov eax, dword [esp + 0x24]
push 8
lea esi, [ecx*4]
movzx eax, word [edi + eax]
mov word [esp + 0x6e], ax
movzx eax, word [edi]
mov word [esp + 0x70], ax
movzx eax, word [edi + 2]
mov word [esp + 0x72], ax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x14
push eax
call fcn.10161910
mov edx, dword [esp + 0x20]
push 8
mov ecx, dword [edx]
mov dword [esi + ecx], eax
lea eax, [esp + 0x78]
push eax
lea eax, [edx + 0x424]
push eax
call fcn.10161910
mov ecx, dword [esp + 0x48]
lea ebp, [ebp + 4]
add ebx, 2
lea edi, [edi + 4]
add esp, 0x18
mov ecx, dword [ecx]
mov dword [esi + ecx], eax
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x2c]
cmp ebx, ecx
jl 0x1012fdc0
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
add ebp, 2
mov edi, dword [esp + 0x10]
add esi, dword [esp + 0x28]
add edi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
cmp ebp, ecx
jl 0x1012fdb0
jmp 0x1012ff58
test ecx, ecx
jle 0x1012ff5c
mov edi, dword [esp + 0x80]
lea eax, [edi + edi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x18], eax
nop
sar ebp, 1
xor ebx, ebx
imul ebp, edx
mov esi, eax
nop dword [eax]
movzx eax, byte [esi - 1]
mov ecx, ebx
mov byte [esp + 0x10], al
movzx eax, byte [esi]
mov byte [esp + 0x11], al
movzx eax, byte [edi + esi - 1]
mov byte [esp + 0x12], al
movzx eax, byte [edi + esi]
mov byte [esp + 0x13], al
lea eax, [esp + 0x10]
push 4
push eax
mov eax, dword [esp + 0x1c]
sar ecx, 1
add eax, 0x14
add ecx, ebp
push eax
lea edi, [ecx*4]
call fcn.10161910
mov edx, dword [esp + 0x20]
push 4
mov ecx, dword [edx]
mov dword [edi + ecx], eax
lea eax, [esp + 0x20]
push eax
lea eax, [edx + 0x424]
push eax
call fcn.10161910
mov ecx, dword [esp + 0x48]
lea esi, [esi + 2]
add ebx, 2
add esp, 0x18
mov ecx, dword [ecx]
mov dword [edi + ecx], eax
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
cmp ebx, ecx
jl 0x1012feb0
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add ebp, 2
add eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], eax
cmp ebp, ecx
jl 0x1012fea0
mov edi, dword [esp + 0x14]
mov ebx, edx
mov dword [esp + 0x10], 1
mov ebp, 4
sar edx, 1
xor esi, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebp
cmp ecx, ebp
jl 0x10130109
jmp 0x1012ff94
mov edi, dword [esp + 0x14]
mov eax, 1
sub eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, 1
sub eax, esi
xor esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
test edx, edx
jle 0x101300eb
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
lea eax, [edi + ecx*4]
mov dword [esp + 0x40], eax
lea eax, [edi + ebp*4]
mov dword [esp + 0x44], eax
lea eax, [edi + 8]
lea ecx, [eax + ecx*4]
lea eax, [eax + ebp*4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], eax
lea ecx, [ebx*4]
xor eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
shl esi, 2
mov edi, eax
mov ebx, ecx
mov dword [esp + 0x34], esi
mov ebp, edx
mov eax, dword [esp + 0x40]
push 0x10
mov ecx, dword [eax]
mov eax, dword [ecx + edi]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + edi + 4]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + ebx]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + ebx + 4]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x14
push eax
call fcn.10161910
mov ecx, dword [esp + 0x50]
push 0x10
mov ecx, dword [ecx]
mov dword [esi + ecx], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov eax, dword [ecx + edi]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + edi + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + ebx]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + ebx + 4]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x28]
add eax, 0x424
push eax
call fcn.10161910
mov ecx, dword [esp + 0x80]
lea edi, [edi + 8]
mov edx, dword [esp + 0x4c]
lea ebx, [ebx + 8]
inc dword [esp + 0x30]
lea esi, [esi + 4]
add esp, 0x18
mov ecx, dword [ecx]
mov dword [edx + ecx], eax
add edx, 4
mov dword [esp + 0x34], edx
sub ebp, 1
jne 0x10130003
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
lea edx, [ecx*8]
mov ecx, dword [esp + 0x3c]
add eax, edx
add ecx, edx
sub dword [esp + 0x28], 1
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
jne 0x1012fff6
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
add ebp, ebp
mov ebx, edx
mov dword [esp + 0x2c], edx
sar edx, 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebp
cmp ebp, ecx
jle 0x1012ff90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
pop edi
mov eax, dword [eax + esi*4]
movzx eax, word [eax]
add eax, dword [esp + 0x48]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + esi*4]
pop esi
pop ebp
pop ebx
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.105116c0
add esp, 0x64
ret