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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, ecx
movzx ecx, word [esp + 0x80]
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [eax]
lea esi, [esp + 0x40]
mov edi, 4
movzx eax, word [eax]
sub ecx, eax
inc ecx
mov dword [esp + 0x38], ecx
mov ecx, esi
call fcn.100822d0
add esi, 8
sub edi, 1
jne 0x100812c3
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x10081309
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
lea edi, [edi + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [esi + 4]
add eax, 0xfffffff8
sub dword [esp + 0x3c], 1
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esi + 4], eax
mov dword [edi - 8], ecx
mov dword [edi - 4], edx
jne 0x100812e2
lea esi, [esp + 0x60]
mov edi, 4
mov ecx, esi
call fcn.100822d0
add esi, 8
sub edi, 1
jne 0x10081312
mov edx, dword [esp + 0x38]
test edx, edx
jle 0x100814de
lea edi, [esp + 0x60]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x30]
lea edi, [edi + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [esi + 4]
add eax, 0xfffffff8
sub dword [esp + 0x3c], 1
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esi + 4], eax
mov dword [edi - 8], ecx
mov dword [edi - 4], edx
jne 0x10081335
mov edx, dword [esp + 0x38]
test edx, edx
jle 0x100814de
mov dword [esp + 0x14], 0
push dword [esp + 0x14]
mov eax, dword [esp + 0x34]
dec edx
mov dword [esp + 0x3c], edx
push dword [esp + edx*8 + 0x48]
mov esi, dword [eax + 8]
mov eax, dword [esp + edx*8 + 0x6c]
sub esp, 8
mov ecx, dword [esp + edx*8 + 0x70]
mov edx, eax
mov dword [esp + 0x38], eax
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], 0
lea eax, [esp + 0x18]
push eax
call fcn.100806b0
mov ecx, dword [esi]
mov edi, eax
mov dword [esp + 0x3c], ecx
mov eax, dword [edi]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
cmp edx, esi
je 0x100813dc
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
add dword [ecx + 4], 8
jmp 0x100814d2
mov edi, esi
sub edi, dword [ecx]
sar edi, 3
mov dword [esp + 0x18], edi
cmp edi, 0x1fffffff
je 0x100814f4
sub edx, dword [ecx]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
sar edx, 3
mov eax, edx
shr eax, 1
mov dword [esp + 0x34], eax
mov eax, 0x1fffffff
sub eax, dword [esp + 0x34]
cmp edx, eax
jbe 0x10081419
lea eax, [edi + 1]
jmp 0x10081427
mov eax, dword [esp + 0x34]
add eax, edx
lea edx, [edi + 1]
cmp eax, edx
cmovb eax, edx
push eax
mov dword [esp + 0x38], eax
call fcn.1000ffc0
mov edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov dword [edx + edi*8], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + edi*8 + 4], eax
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 4]
mov ecx, dword [eax]
cmp esi, edi
jne 0x10081472
cmp ecx, edi
je 0x100814bf
mov eax, dword [ecx]
lea edx, [edx + 8]
mov dword [edx - 8], eax
mov eax, dword [ecx + 4]
add ecx, 8
mov dword [edx - 4], eax
cmp ecx, edi
jne 0x10081457
mov ecx, dword [esp + 0x3c]
jmp 0x100814c1
cmp ecx, esi
je 0x10081494
mov eax, dword [ecx]
lea edx, [edx + 8]
mov dword [edx - 8], eax
mov eax, dword [ecx + 4]
add ecx, 8
mov dword [edx - 4], eax
cmp ecx, esi
jne 0x10081476
mov ecx, dword [esp + 0x3c]
mov edi, dword [ecx + 4]
jmp 0x10081496
mov ecx, eax
cmp esi, edi
je 0x100814c1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
lea edx, [edx + eax*8]
add edx, 8
mov eax, dword [esi]
lea edx, [edx + 8]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
add esi, 8
mov dword [edx - 4], eax
cmp esi, edi
jne 0x100814a8
jmp 0x100814c1
mov ecx, eax
push dword [esp + 0x34]
push dword [esp + 0x2c]
push dword [esp + 0x34]
call fcn.10052610
mov edx, dword [esp + 0x38]
test edx, edx
jg 0x10081370
mov ecx, dword [esp + 0x80]
pop edi
pop esi
xor ecx, esp
call fcn.1037e005
add esp, 0x7c
ret 8
call fcn.10007230
int3