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

Disassembly:
sub esp, 0x9c
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
mov ebx, dword [esp + 0xa8]
mov eax, edx
mov dword [esp + 0x44], eax
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
mov dword [esp + 0x2c], esi
push edi
cmp ebx, 0xa
jae 0x10128721
mov eax, 0xffffffec
jmp 0x101290fc
mov edi, dword [esp + 0xb8]
add eax, esi
mov dword [esp + 0x48], eax
lea ecx, [edi + 4]
mov dword [esp + 0x18], ecx
mov ecx, ebp
call fcn.100cf540
movzx eax, ax
lea ecx, [ebp + 2]
mov dword [esp + 0x4c], eax
call fcn.100cf540
movzx eax, ax
lea ecx, [ebp + 4]
mov dword [esp + 0x40], eax
call fcn.100cf540
movzx eax, ax
lea edx, [ebp + 6]
sub ebx, eax
mov dword [esp + 0x14], eax
sub ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
sub ebx, eax
add eax, edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], eax
sub ebx, 6
add eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
add eax, 3
shr eax, 2
lea ecx, [eax + esi]
lea edx, [ecx + eax]
mov dword [esp + 0x3c], ecx
add eax, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov esi, eax
mov dword [esp + 0x1c], eax
mov ebp, edx
mov eax, dword [edi]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
cmp ebx, dword [esp + 0xb4]
ja 0x10128717
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x58]
mov edx, dword [esp + 0x54]
push eax
call fcn.10126110
add esp, 4
cmp eax, 0xffffff88
ja 0x101290fc
push dword [esp + 0x40]
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x70]
call fcn.10126110
add esp, 4
cmp eax, 0xffffff88
ja 0x101290fc
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x80]
mov edx, dword [esp + 0x24]
push edi
call fcn.10126110
add esp, 4
cmp eax, 0xffffff88
ja 0x101290fc
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x94]
push ebx
lea edx, [edx + edi]
call fcn.10126110
add esp, 4
cmp eax, 0xffffff88
ja 0x101290fc
lea ecx, [esp + 0x94]
call fcn.101262a0
lea ecx, [esp + 0x80]
mov ebx, eax
call fcn.101262a0
lea ecx, [esp + 0x6c]
or ebx, eax
call fcn.101262a0
mov edi, eax
lea ecx, [esp + 0x58]
or edi, ebx
call fcn.101262a0
or eax, edi
jne 0x10128a6a
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
neg edi
mov ebx, dword [esp + 0x18]
and edi, 0x1f
add eax, 0xfffffffd
mov dword [esp + 0x1c], edi
mov dword [esp + 0x44], eax
nop
cmp esi, eax
jae 0x10128a66
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
movzx ecx, byte [ebx + eax*2 + 1]
add ecx, dword [esp + 0x5c]
movzx eax, byte [ebx + eax*2]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x70]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x2c]
movzx ebp, byte [ebx + eax*2 + 1]
movzx eax, byte [ebx + eax*2]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x84]
and ecx, 0x1f
add ebp, dword [esp + 0x70]
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x18]
movzx ebx, byte [ebx + eax*2 + 1]
movzx eax, byte [ecx + eax*2]
mov ecx, dword [esp + 0x28]
add ebx, dword [esp + 0x84]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x98]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x18]
movzx edi, byte [ecx + eax*2 + 1]
movzx eax, byte [ecx + eax*2]
mov ecx, edx
mov byte [esi], al
and ecx, 0x1f
mov eax, dword [esp + 0x58]
shl eax, cl
mov ecx, dword [esp + 0x1c]
shr eax, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
add edi, dword [esp + 0x98]
movzx eax, byte [ecx + eax*2 + 1]
add eax, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
movzx eax, byte [ecx + eax*2]
mov ecx, dword [esp + 0x30]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x30], ecx
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x1c]
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2 + 1]
add eax, ebp
mov dword [esp + 0x70], eax
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x28]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x1c]
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2 + 1]
add eax, ebx
mov ebx, ecx
mov dword [esp + 0x84], eax
mov ecx, edi
and ecx, 0x1f
movzx eax, byte [ebx + edx*2]
mov edx, dword [esp + 0x94]
shl edx, cl
mov ecx, dword [esp + 0x1c]
shr edx, cl
lea ecx, [esp + 0x58]
mov byte [ebp], al
inc ebp
mov dword [esp + 0x28], ebp
movzx eax, byte [ebx + edx*2 + 1]
add eax, edi
mov dword [esp + 0x98], eax
movzx eax, byte [ebx + edx*2]
mov byte [esi + 1], al
add esi, 2
call fcn.101262a0
lea ecx, [esp + 0x6c]
call fcn.101262a0
lea ecx, [esp + 0x80]
call fcn.101262a0
lea ecx, [esp + 0x94]
call fcn.101262a0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
jmp 0x101288a0
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
cmp ebx, eax
ja 0x10128717
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x2c], ecx
ja 0x10128717
cmp ebp, dword [esp + 0x38]
ja 0x10128717
lea edi, [eax - 3]
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], edi
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebx, edi
sbb eax, eax
neg eax
test eax, ecx
je 0x10128b43
mov edi, dword [esp + 0x20]
mov ebp, ebx
mov esi, dword [esp + 0x18]
neg edi
and edi, 0x1f
mov dword [esp + 0x24], edi
nop dword [eax + eax]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
and ecx, 0x1f
mov eax, ebx
shl eax, cl
mov ecx, edi
shr eax, cl
movzx edi, byte [esi + eax*2 + 1]
add edi, dword [esp + 0x5c]
movzx eax, byte [esi + eax*2]
mov ecx, edi
and ecx, 0x1f
mov byte [ebp], al
shl ebx, cl
mov ecx, dword [esp + 0x24]
shr ebx, cl
lea ecx, [esp + 0x58]
movzx eax, byte [esi + ebx*2 + 1]
add eax, edi
mov dword [esp + 0x5c], eax
movzx eax, byte [esi + ebx*2]
mov byte [ebp + 1], al
add ebp, 2
call fcn.101262a0
mov edi, dword [esp + 0x24]
neg eax
sbb ecx, ecx
inc ecx
cmp ebp, dword [esp + 0x14]
sbb eax, eax
neg eax
test eax, ecx
jne 0x10128ad0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x58]
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebx, dword [esp + 0x3c]
sbb eax, eax
neg eax
test eax, ecx
je 0x10128bba
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
neg eax
mov ebp, dword [esp + 0x3c]
and eax, 0x1f
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x5c]
mov ecx, edi
mov edx, dword [esp + 0x58]
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
lea ecx, [esp + 0x58]
movzx eax, byte [esi + edx*2 + 1]
add edi, eax
mov al, byte [esi + edx*2]
mov byte [ebx], al
inc ebx
mov dword [esp + 0x5c], edi
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebx, ebp
sbb eax, eax
neg eax
test eax, ecx
mov eax, dword [esp + 0x14]
jne 0x10128b72
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
cmp ebx, dword [esp + 0x3c]
jae 0x10128c10
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x5c]
neg eax
mov esi, dword [esp + 0x3c]
and eax, 0x1f
mov dword [esp + 0x14], eax
nop dword [eax]
mov edx, dword [esp + 0x58]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [edi + edx*2 + 1]
add ebp, eax
mov al, byte [edi + edx*2]
mov byte [ebx], al
inc ebx
mov eax, dword [esp + 0x14]
cmp ebx, esi
jb 0x10128be0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x6c]
add eax, 0xfffffffd
mov dword [esp + 0x24], eax
call fcn.101262a0
mov ebx, dword [esp + 0x2c]
neg eax
sbb ecx, ecx
inc ecx
cmp ebx, dword [esp + 0x24]
sbb eax, eax
neg eax
test eax, ecx
je 0x10128cc9
mov ebp, dword [esp + 0x20]
mov esi, ebx
neg ebp
and ebp, 0x1f
mov dword [esp + 0x40], ebp
nop dword [eax]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
and ecx, 0x1f
mov eax, ebx
shl eax, cl
mov ecx, ebp
mov ebp, dword [esp + 0x18]
shr eax, cl
movzx edi, byte [edi + eax*2 + 1]
add edi, dword [esp + 0x70]
movzx eax, byte [ebp + eax*2]
mov ecx, edi
and ecx, 0x1f
mov byte [esi], al
shl ebx, cl
mov ecx, dword [esp + 0x40]
shr ebx, cl
lea ecx, [esp + 0x6c]
movzx eax, byte [ebp + ebx*2 + 1]
add eax, edi
mov edi, ebp
mov dword [esp + 0x70], eax
movzx eax, byte [edi + ebx*2]
mov byte [esi + 1], al
add esi, 2
call fcn.101262a0
mov ebp, dword [esp + 0x40]
neg eax
sbb ecx, ecx
inc ecx
cmp esi, dword [esp + 0x24]
sbb eax, eax
neg eax
test eax, ecx
jne 0x10128c50
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x6c]
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebx, dword [esp + 0x34]
sbb eax, eax
neg eax
test eax, ecx
je 0x10128d3a
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
neg esi
and esi, 0x1f
mov edi, dword [esp + 0x70]
mov ecx, edi
mov edx, dword [esp + 0x6c]
and ecx, 0x1f
shl edx, cl
mov ecx, esi
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2 + 1]
add edi, eax
mov dword [esp + 0x70], edi
mov edi, ecx
lea ecx, [esp + 0x6c]
mov al, byte [edi + edx*2]
mov byte [ebx], al
inc ebx
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebx, ebp
sbb eax, eax
neg eax
test eax, ecx
jne 0x10128cf0
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
cmp ebx, dword [esp + 0x34]
jae 0x10128d85
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x70]
neg eax
mov ebp, dword [esp + 0x34]
and eax, 0x1f
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x6c]
mov ecx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [edi + edx*2 + 1]
add esi, eax
mov al, byte [edi + edx*2]
mov byte [ebx], al
inc ebx
mov eax, dword [esp + 0x14]
cmp ebx, ebp
jb 0x10128d55
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x80]
add ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebp, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x10128e3c
mov esi, dword [esp + 0x20]
neg esi
and esi, 0x1f
mov dword [esp + 0x24], esi
nop dword [eax]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
and ecx, 0x1f
mov eax, ebx
shl eax, cl
mov ecx, esi
mov esi, dword [esp + 0x18]
shr eax, cl
movzx edi, byte [edi + eax*2 + 1]
add edi, dword [esp + 0x84]
movzx eax, byte [esi + eax*2]
mov ecx, edi
and ecx, 0x1f
mov byte [ebp], al
shl ebx, cl
mov ecx, dword [esp + 0x24]
shr ebx, cl
lea ecx, [esp + 0x80]
movzx eax, byte [esi + ebx*2 + 1]
add eax, edi
mov edi, esi
mov dword [esp + 0x84], eax
movzx eax, byte [edi + ebx*2]
mov byte [ebp + 1], al
add ebp, 2
call fcn.101262a0
mov esi, dword [esp + 0x24]
neg eax
sbb ecx, ecx
inc ecx
cmp ebp, dword [esp + 0x14]
sbb eax, eax
neg eax
test eax, ecx
jne 0x10128dc0
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x80]
call fcn.101262a0
mov ebx, dword [esp + 0x20]
neg eax
sbb ecx, ecx
inc ecx
cmp ebp, dword [esp + 0x38]
sbb eax, eax
neg eax
test eax, ecx
je 0x10128ec7
mov esi, dword [esp + 0x38]
neg ebx
and ebx, 0x1f
nop word [eax + eax]
mov edi, dword [esp + 0x84]
mov ecx, edi
mov edx, dword [esp + 0x80]
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2 + 1]
add edi, eax
mov dword [esp + 0x84], edi
mov edi, ecx
lea ecx, [esp + 0x80]
mov al, byte [edi + edx*2]
mov byte [ebp], al
inc ebp
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebp, esi
sbb eax, eax
neg eax
test eax, ecx
jne 0x10128e70
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
cmp ebp, dword [esp + 0x38]
jae 0x10128f16
mov esi, dword [esp + 0x38]
mov eax, ebx
mov ebx, dword [esp + 0x84]
neg eax
and eax, 0x1f
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x80]
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [edi + edx*2 + 1]
add ebx, eax
mov al, byte [edi + edx*2]
mov byte [ebp], al
inc ebp
mov eax, dword [esp + 0x14]
cmp ebp, esi
jb 0x10128ee3
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x48]
lea ecx, [esp + 0x94]
lea ebp, [ebx - 3]
mov dword [esp + 0x44], ebp
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp esi, ebp
sbb eax, eax
neg eax
test eax, ecx
je 0x10128fc5
mov eax, dword [esp + 0x20]
neg eax
and eax, 0x1f
mov ebp, eax
nop dword [eax + eax]
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
and ecx, 0x1f
mov edx, dword [esp + 0x18]
mov eax, ebx
shl eax, cl
mov ecx, ebp
shr eax, cl
movzx edi, byte [edi + eax*2 + 1]
add edi, dword [esp + 0x98]
movzx eax, byte [edx + eax*2]
mov ecx, edi
and ecx, 0x1f
mov byte [esi], al
shl ebx, cl
mov ecx, ebp
shr ebx, cl
lea ecx, [esp + 0x94]
movzx eax, byte [edx + ebx*2 + 1]
add eax, edi
mov edi, edx
mov dword [esp + 0x98], eax
movzx eax, byte [edi + ebx*2]
mov byte [esi + 1], al
add esi, 2
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp esi, dword [esp + 0x44]
sbb eax, eax
neg eax
test eax, ecx
jne 0x10128f50
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x94]
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x10129042
mov dword [esp + 0x14], ebp
neg ebp
and ebp, 0x1f
nop dword [eax]
mov edi, dword [esp + 0x98]
mov ecx, edi
mov edx, dword [esp + 0x94]
and ecx, 0x1f
shl edx, cl
mov ecx, ebp
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2 + 1]
add edi, eax
mov dword [esp + 0x98], edi
mov edi, ecx
lea ecx, [esp + 0x94]
mov al, byte [edi + edx*2]
mov byte [esi], al
inc esi
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x10128ff0
mov ebp, dword [esp + 0x20]
cmp esi, ebx
mov ebx, dword [esp + 0x98]
jae 0x10129077
neg ebp
and ebp, 0x1f
mov edx, dword [esp + 0x94]
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, ebp
shr edx, cl
movzx eax, byte [edi + edx*2 + 1]
add ebx, eax
mov al, byte [edi + edx*2]
mov byte [esi], al
inc esi
cmp esi, dword [esp + 0x48]
jb 0x10129052
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x64]
jne 0x1012908f
cmp dword [esp + 0x5c], 0x20
jne 0x1012908f
mov ecx, 1
jmp 0x10129091
xor ecx, ecx
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x78]
jne 0x101290a9
cmp dword [esp + 0x70], 0x20
jne 0x101290a9
mov esi, 1
jmp 0x101290ab
xor esi, esi
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x8c]
jne 0x101290cc
cmp dword [esp + 0x84], 0x20
jne 0x101290cc
mov edx, 1
jmp 0x101290ce
xor edx, edx
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa0]
jne 0x101290e8
cmp ebx, 0x20
jne 0x101290e8
lea eax, [ebx - 0x1f]
jmp 0x101290ea
xor eax, eax
and ecx, edx
and ecx, esi
test eax, ecx
mov eax, dword [esp + 0x50]
mov ecx, 0xffffffec
cmove eax, ecx
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10151433
add esp, 0x9c
ret