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

Disassembly:
push ebp
xor edx, edx
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x28], 0x10
test eax, eax
sete dl
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 0x47a0]
shl edx, 4
add edx, 8
test esi, esi
mov dword [esp + 0x34], edx
je 0x7116a614
mov edx, dword [ecx + 0x47a4]
mov ecx, dword [ecx + 0xbfc]
sub edx, eax
shl edx, 4
sar edx, cl
add edx, 0x10
mov dword [esp + 0x28], edx
mov edx, eax
sub eax, 1
mov ebx, dword [esp + 0x34]
shl edx, 4
sub edx, 8
shl eax, 4
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x28]
add ebx, 0x38
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], ebx
sub edx, 1
add eax, 0xec
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x20f8], 3
sete al
movzx eax, al
lea eax, [eax + eax + 1]
cmp dword [esp + 0x30], eax
jge 0x7116ac78
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x74]
shl eax, 4
lea edx, [edx + eax + 0xe0]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ebx + ecx*4 + 0x94]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov ebx, dword [ebx + 0xbfc]
test ebx, ebx
je 0x7116aa75
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
imul eax, dword [esp + 0x20]
add ecx, ecx
mov edx, dword [edx + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
sub eax, 4
add eax, edx
test ecx, ecx
mov dword [esp + 0x1c], eax
jle 0x7116a80c
mov edx, dword [esp + 0x34]
mov ecx, eax
xor esi, esi
sub ecx, 0x1c
add edx, eax
movzx edi, byte [ecx + 0x1c]
mov ebx, edi
movzx eax, bl
mov ebp, eax
shl ebp, 8
add ebp, eax
movzx eax, bp
mov ebx, eax
shl ebx, 0x10
add ebx, eax
xor eax, eax
test cl, 3
je 0x7116a755
test cl, 1
mov dword [esp + 0x24], 2
mov dword [esp + 0x18], 0
je 0x7116a744
mov eax, edi
mov byte [ecx], al
mov eax, 1
mov dword [esp + 0x24], 3
mov dword [esp + 0x18], 1
test cl, 2
je 0x7116a755
mov eax, dword [esp + 0x18]
mov word [ecx + eax], bp
mov eax, dword [esp + 0x24]
mov dword [ecx + eax], ebx
add eax, 4
cmp eax, 0x18
jle 0x7116a755
cmp eax, 0x1a
jg 0x7116a76c
mov word [ecx + eax], bp
add eax, 2
cmp eax, 0x1c
je 0x7116a776
mov ebx, edi
mov byte [ecx + eax], bl
movzx edi, byte [edx - 1]
mov ebx, edi
movzx eax, bl
mov ebp, eax
shl ebp, 8
add ebp, eax
movzx eax, bp
mov ebx, eax
shl ebx, 0x10
add ebx, eax
xor eax, eax
test dl, 3
je 0x7116a7d6
test dl, 1
mov dword [esp + 0x24], 2
mov dword [esp + 0x18], 0
je 0x7116a7c5
mov eax, edi
mov byte [edx], al
mov eax, 1
mov dword [esp + 0x24], 3
mov dword [esp + 0x18], 1
test dl, 2
je 0x7116a7d6
mov eax, dword [esp + 0x18]
mov word [edx + eax], bp
mov eax, dword [esp + 0x24]
mov dword [edx + eax], ebx
add eax, 4
cmp eax, 0x18
jle 0x7116a7d6
cmp eax, 0x1a
jg 0x7116a7ed
mov word [edx + eax], bp
add eax, 2
cmp eax, 0x1c
je 0x7116a7f7
mov ebx, edi
mov byte [edx + eax], bl
add esi, 1
add ecx, dword [esp + 0x14]
add edx, dword [esp + 0x14]
cmp esi, dword [esp + 0x28]
jne 0x7116a6f5
mov edx, dword [esp + 0x38]
test edx, edx
je 0x7116a84e
mov ebx, dword [esp + 0x1c]
mov edi, 0xffffffe4
mov esi, 0x18
mov ebp, dword [esp + 0x14]
sub edi, dword [esp + 0x14]
add edi, dword [esp + 0x1c]
sub ebx, 0x1c
neg ebp
mov eax, dword [esp + 0x10]
mov dword [esp], edi
add edi, ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call 0x7122e900
sub esi, 1
jne 0x7116a833
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x7116a89b
mov eax, dword [esp + 0x48]
mov esi, 0x18
imul eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ebp, [edx + eax - 0x1c]
mov eax, dword [esp + 0x28]
imul eax, dword [esp + 0x14]
mov ebx, ebp
mov ebp, dword [esp + 0x14]
lea edi, [edx + eax - 0x1c]
nop
mov ecx, dword [esp + 0x10]
mov dword [esp], edi
add edi, ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call 0x7122e900
sub esi, 1
jne 0x7116a880
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
add ebx, dword [esp + 0x20]
test ebp, ebp
mov dword [esp + 0x24], ebx
jle 0x7116a9d7
mov edx, dword [esp + 0x34]
mov ecx, ebx
xor esi, esi
sub ecx, 0x1c
add edx, ebx
movzx edi, byte [ecx + 0x1c]
mov ebx, edi
movzx eax, bl
mov ebp, eax
shl ebp, 8
add ebp, eax
movzx eax, bp
mov ebx, eax
shl ebx, 0x10
add ebx, eax
xor eax, eax
test cl, 3
je 0x7116a920
test cl, 1
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0
je 0x7116a90f
mov eax, edi
mov byte [ecx], al
mov eax, 1
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 1
test cl, 2
je 0x7116a920
mov eax, dword [esp + 0x1c]
mov word [ecx + eax], bp
mov eax, dword [esp + 0x18]
mov dword [ecx + eax], ebx
add eax, 4
cmp eax, 0x18
jle 0x7116a920
cmp eax, 0x1a
jg 0x7116a937
mov word [ecx + eax], bp
add eax, 2
cmp eax, 0x1c
je 0x7116a941
mov ebx, edi
mov byte [ecx + eax], bl
movzx edi, byte [edx - 1]
mov ebx, edi
movzx eax, bl
mov ebp, eax
shl ebp, 8
add ebp, eax
movzx eax, bp
mov ebx, eax
shl ebx, 0x10
add ebx, eax
xor eax, eax
test dl, 3
je 0x7116a9a1
test dl, 1
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0
je 0x7116a990
mov eax, edi
mov byte [edx], al
mov eax, 1
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 1
test dl, 2
je 0x7116a9a1
mov eax, dword [esp + 0x1c]
mov word [edx + eax], bp
mov eax, dword [esp + 0x18]
mov dword [edx + eax], ebx
add eax, 4
cmp eax, 0x18
jle 0x7116a9a1
cmp eax, 0x1a
jg 0x7116a9b8
mov word [edx + eax], bp
add eax, 2
cmp eax, 0x1c
je 0x7116a9c2
mov ebx, edi
mov byte [edx + eax], bl
add esi, 1
add ecx, dword [esp + 0x14]
add edx, dword [esp + 0x14]
cmp esi, dword [esp + 0x28]
jne 0x7116a8c0
mov edi, dword [esp + 0x38]
test edi, edi
je 0x7116aa1b
mov ebx, dword [esp + 0x24]
mov edi, 0xffffffe4
mov esi, 0x18
mov ebp, dword [esp + 0x14]
sub edi, dword [esp + 0x14]
add edi, dword [esp + 0x24]
sub ebx, 0x1c
neg ebp
nop
mov eax, dword [esp + 0x10]
mov dword [esp], edi
add edi, ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call 0x7122e900
sub esi, 1
jne 0x7116aa00
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x7116aa6b
mov eax, dword [esp + 0x48]
mov esi, 0x18
imul eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
lea ebp, [ecx + eax - 0x1c]
mov eax, dword [esp + 0x28]
imul eax, dword [esp + 0x14]
mov ebx, ebp
mov ebp, dword [esp + 0x14]
lea edi, [ecx + eax - 0x1c]
lea esi, [esi]
mov eax, dword [esp + 0x10]
mov dword [esp], edi
add edi, ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call 0x7122e900
sub esi, 1
jne 0x7116aa50
mov edx, dword [esp + 0x70]
mov ecx, dword [edx + 0xbfc]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
imul eax, dword [esp + 0x20]
mov ebx, dword [ebx]
sub eax, 4
add eax, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
shl eax, cl
test eax, eax
mov dword [esp + 0x14], eax
jle 0x7116abc7
mov ecx, dword [esp + 0x24]
xor esi, esi
mov edx, dword [esp + 0x24]
add edx, dword [esp + 0x34]
sub ecx, 0x1c
movzx edi, byte [ecx + 0x1c]
mov ebx, edi
movzx eax, bl
mov ebp, eax
shl ebp, 8
add ebp, eax
movzx eax, bp
mov ebx, eax
shl ebx, 0x10
add ebx, eax
xor eax, eax
test cl, 3
je 0x7116ab10
test cl, 1
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0
je 0x7116aaff
mov eax, edi
mov byte [ecx], al
mov eax, 1
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 1
test cl, 2
je 0x7116ab10
mov eax, dword [esp + 0x1c]
mov word [ecx + eax], bp
mov eax, dword [esp + 0x18]
mov dword [ecx + eax], ebx
add eax, 4
cmp eax, 0x18
jle 0x7116ab10
cmp eax, 0x1a
jg 0x7116ab27
mov word [ecx + eax], bp
add eax, 2
cmp eax, 0x1c
je 0x7116ab31
mov ebx, edi
mov byte [ecx + eax], bl
movzx edi, byte [edx - 1]
mov ebx, edi
movzx eax, bl
mov ebp, eax
shl ebp, 8
add ebp, eax
movzx eax, bp
mov ebx, eax
shl ebx, 0x10
add ebx, eax
xor eax, eax
test dl, 3
je 0x7116ab91
test dl, 1
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0
je 0x7116ab80
mov eax, edi
mov byte [edx], al
mov eax, 1
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 1
test dl, 2
je 0x7116ab91
mov eax, dword [esp + 0x1c]
mov word [edx + eax], bp
mov eax, dword [esp + 0x18]
mov dword [edx + eax], ebx
add eax, 4
cmp eax, 0x18
jle 0x7116ab91
cmp eax, 0x1a
jg 0x7116aba8
mov word [edx + eax], bp
add eax, 2
cmp eax, 0x1c
je 0x7116abb2
mov ebx, edi
mov byte [edx + eax], bl
add esi, 1
add ecx, dword [esp + 0x20]
add edx, dword [esp + 0x20]
cmp esi, dword [esp + 0x14]
jne 0x7116aab0
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x7116ac0b
mov ebx, dword [esp + 0x24]
mov edi, 0xffffffe4
mov esi, 0x18
mov ebp, dword [esp + 0x20]
sub edi, dword [esp + 0x20]
add edi, dword [esp + 0x24]
sub ebx, 0x1c
neg ebp
nop
mov eax, dword [esp + 0x10]
mov dword [esp], edi
add edi, ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call 0x7122e900
sub esi, 1
jne 0x7116abf0
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x7116ac5b
mov eax, dword [esp + 0x14]
mov edi, 0x18
mov edx, dword [esp + 0x24]
sub eax, 1
imul eax, dword [esp + 0x20]
lea esi, [edx + eax - 0x1c]
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x20]
mov ebx, esi
mov esi, dword [esp + 0x20]
lea ebp, [edx + eax - 0x1c]
nop
mov ecx, dword [esp + 0x10]
mov dword [esp], ebp
add ebp, esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call 0x7122e900
sub edi, 1
jne 0x7116ac40
add dword [esp + 0x2c], 4
mov ebx, dword [esp + 0x3c]
cmp dword [esp + 0x2c], ebx
jne 0x7116a692
add dword [esp + 0x30], 1
jmp 0x7116a655
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret