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

Disassembly:
push ebp
push edi
xor eax, eax
push esi
push ebx
sub esp, 0x84
mov esi, dword [esp + 0xa0]
mov ebp, dword [esp + 0xac]
mov dword [esp + eax + 0x44], 0
add eax, 4
cmp eax, 0x20
jb 0x69a8da
mov eax, dword [esp + 0x9c]
test esi, esi
lea ecx, [eax + esi*2]
je 0x69a910
nop
lea esi, [esi]
movzx edx, word [eax]
add eax, 2
add word [esp + edx*2 + 0x44], 1
cmp eax, ecx
jne 0x69a900
movzx ebx, word [esp + 0x62]
mov eax, dword [esp + 0xa8]
mov edi, dword [eax]
test bx, bx
jne 0x69aa1f
cmp word [esp + 0x60], 0
jne 0x69b42d
cmp word [esp + 0x5e], 0
jne 0x69b43a
cmp word [esp + 0x5c], 0
jne 0x69b447
cmp word [esp + 0x5a], 0
jne 0x69b454
cmp word [esp + 0x58], 0
jne 0x69b461
cmp word [esp + 0x56], 0
jne 0x69b46e
cmp word [esp + 0x54], 0
jne 0x69b488
cmp word [esp + 0x52], 0
jne 0x69b47b
cmp word [esp + 0x50], 0
jne 0x69b4af
cmp word [esp + 0x4e], 0
jne 0x69b4a2
cmp word [esp + 0x4c], 0
jne 0x69b495
cmp word [esp + 0x4a], 0
jne 0x69b4bc
cmp word [esp + 0x48], 0
jne 0x69b4d6
cmp word [esp + 0x46], 0
jne 0x69b35b
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa4]
xor ecx, ecx
mov eax, dword [eax]
lea edx, [eax + 4]
mov dword [ebx], edx
xor edx, edx
mov byte [eax], 0x40
mov word [eax + 2], dx
mov byte [eax + 1], 1
mov eax, dword [ebx]
lea edx, [eax + 4]
mov dword [ebx], edx
mov byte [eax], 0x40
mov byte [eax + 1], 1
mov word [eax + 2], cx
mov eax, dword [esp + 0xa8]
mov dword [eax], 1
xor eax, eax
add esp, 0x84
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0xf
mov esi, esi
lea edi, [edi]
cmp edi, dword [esp + 0x10]
jbe 0x69aa45
mov eax, dword [esp + 0x10]
cmp eax, 1
mov edi, eax
je 0x69b368
cmp word [esp + 0x46], 0
jne 0x69b36d
mov eax, dword [esp + 0x10]
cmp eax, 2
je 0x69b420
cmp word [esp + 0x48], 0
jne 0x69b420
cmp eax, 3
je 0x69b413
cmp word [esp + 0x4a], 0
jne 0x69b413
cmp eax, 4
je 0x69b406
cmp word [esp + 0x4c], 0
jne 0x69b406
cmp eax, 5
je 0x69b3f9
cmp word [esp + 0x4e], 0
jne 0x69b3f9
cmp eax, 6
je 0x69b3ec
cmp word [esp + 0x50], 0
jne 0x69b3ec
cmp eax, 7
je 0x69b3df
cmp word [esp + 0x52], 0
jne 0x69b3df
cmp eax, 8
je 0x69b3d2
cmp word [esp + 0x54], 0
jne 0x69b3d2
cmp eax, 9
je 0x69b3c5
cmp word [esp + 0x56], 0
jne 0x69b3c5
cmp eax, 0xa
je 0x69b3b8
cmp word [esp + 0x58], 0
jne 0x69b3b8
cmp eax, 0xb
je 0x69b3ab
cmp word [esp + 0x5a], 0
jne 0x69b3ab
cmp eax, 0xc
je 0x69b39e
cmp word [esp + 0x5c], 0
jne 0x69b39e
cmp eax, 0xd
je 0x69b391
cmp word [esp + 0x5e], 0
jne 0x69b391
cmp eax, 0xf
jne 0x69b4c9
cmp word [esp + 0x60], 1
sbb eax, eax
not eax
add eax, 0xf
mov dword [esp + 0xc], eax
movzx edx, word [esp + 0x46]
mov eax, 2
sub eax, edx
mov edx, eax
lea eax, [edx + edx]
movzx edx, word [esp + 0x48]
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x4a]
add eax, eax
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x4c]
add eax, eax
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x4e]
add eax, eax
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x50]
add eax, eax
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x52]
add eax, eax
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x54]
add eax, eax
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x56]
add eax, eax
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x58]
add eax, eax
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x5a]
add eax, eax
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x5c]
add eax, eax
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x5e]
add eax, eax
sub eax, edx
js 0x69adcd
movzx edx, word [esp + 0x60]
add eax, eax
sub eax, edx
js 0x69adcd
add eax, eax
cmp eax, ebx
js 0x69adcd
je 0x69ac63
cmp dword [esp + 0x10], 1
jne 0x69adcd
mov eax, dword [esp + 0x98]
test eax, eax
je 0x69adcd
movzx eax, word [esp + 0x46]
xor ebx, ebx
mov word [esp + 0x66], bx
mov word [esp + 0x68], ax
add ax, word [esp + 0x48]
mov word [esp + 0x6a], ax
add ax, word [esp + 0x4a]
mov word [esp + 0x6c], ax
add ax, word [esp + 0x4c]
mov word [esp + 0x6e], ax
add ax, word [esp + 0x4e]
mov word [esp + 0x70], ax
add ax, word [esp + 0x50]
mov word [esp + 0x72], ax
add ax, word [esp + 0x52]
mov word [esp + 0x74], ax
add ax, word [esp + 0x54]
mov word [esp + 0x76], ax
add ax, word [esp + 0x56]
mov word [esp + 0x78], ax
add ax, word [esp + 0x58]
mov word [esp + 0x7a], ax
add ax, word [esp + 0x5a]
mov word [esp + 0x7c], ax
add ax, word [esp + 0x5c]
mov word [esp + 0x7e], ax
add ax, word [esp + 0x5e]
mov word [esp + 0x80], ax
add ax, word [esp + 0x60]
mov word [esp + 0x82], ax
xor eax, eax
test esi, esi
je 0x69ad35
mov dword [esp], edi
mov edi, dword [esp + 0x9c]
lea esi, [esi]
movzx edx, word [edi + eax*2]
test dx, dx
je 0x69ad2b
movzx ecx, word [esp + edx*2 + 0x64]
lea ebx, [ecx + 1]
mov word [ebp + ecx*2], ax
mov word [esp + edx*2 + 0x64], bx
add eax, 1
cmp eax, esi
jne 0x69ad10
mov edi, dword [esp]
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x69addd
cmp dword [esp + 0x98], 1
mov edx, 0x101
mov eax, 0
cmove eax, edx
mov edx, 0x794080
mov dword [esp + 0x20], eax
mov eax, 0x794000
cmove eax, edx
mov edx, 0x7940c0
mov dword [esp + 0x3c], eax
mov eax, 0x794040
cmove eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
cmovae edi, eax
mov eax, dword [esp + 0xa4]
mov ecx, edi
mov dword [esp + 0x24], edi
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
cmp dword [esp + 0x98], 1
sete byte [esp + 0x43]
cmp eax, 0x354
jbe 0x69ae15
cmp byte [esp + 0x43], 0
je 0x69ae15
add esp, 0x84
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x84
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov byte [esp + 0x43], 0
mov dword [esp + 0x20], 0x14
cmp eax, edi
cmovae edi, eax
mov eax, dword [esp + 0xa4]
mov ecx, edi
mov dword [esp + 0x24], edi
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
cmp dword [esp + 0x98], 2
sete byte [esp + 0x42]
cmp eax, 0x250
movzx ebx, byte [esp + 0x42]
jbe 0x69ae32
test bl, bl
jne 0x69adbd
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
xor edi, edi
sub eax, 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp + 0x34], eax
mov ebp, edi
mov dword [esp + 8], ebx
lea esi, [esi]
movzx eax, byte [esp + 0xc]
mov byte [esp], 0
sub al, byte [esp + 4]
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
lea edx, [eax + 1]
cmp dword [esp + 0x20], edx
mov esi, eax
ja 0x69aea4
cmp dword [esp + 0x20], eax
ja 0x69b310
sub eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
movzx ebx, byte [ebx + eax*2]
mov byte [esp], bl
mov ebx, dword [esp + 0x38]
movzx esi, word [ebx + eax*2]
mov ecx, dword [esp + 0xc]
sub ecx, dword [esp + 4]
mov edx, 1
mov eax, 1
mov dword [esp + 0x1c], ebp
shl edx, cl
movzx ecx, byte [esp + 8]
shl eax, cl
movzx ecx, byte [esp + 4]
mov ebx, eax
mov dword [esp + 0x2c], eax
lea eax, [edx*4]
mov edi, eax
mov eax, ebp
movzx ebp, byte [esp]
shr eax, cl
mov ecx, ebx
neg edi
add eax, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp], edx
sub eax, edx
lea eax, [ebx + eax*4]
movzx ebx, byte [esp + 0x41]
lea esi, [esi]
lea edi, [edi]
mov edx, ebp
mov byte [eax + 1], bl
mov word [eax + 2], si
mov byte [eax], dl
add eax, edi
sub ecx, dword [esp]
jne 0x69af00
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax - 1]
mov eax, 1
shl eax, cl
test eax, ebp
je 0x69af36
nop
lea esi, [esi]
shr eax, 1
test ebp, eax
jne 0x69af30
test eax, eax
je 0x69b2f0
lea edx, [eax - 1]
and edx, ebp
lea ebp, [edx + eax]
mov esi, dword [esp + 0xc]
movzx eax, word [esp + esi*2 + 0x44]
mov word [esp], ax
sub eax, 1
test ax, ax
mov word [esp + esi*2 + 0x44], ax
jne 0x69af83
mov ebx, dword [esp + 0x10]
cmp esi, ebx
je 0x69b31b
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x9c]
movzx eax, word [eax + 2]
movzx eax, word [ebx + eax*2]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0xc], ebx
jbe 0x69b2e1
mov ebx, dword [esp + 0x34]
and ebx, ebp
cmp ebx, dword [esp + 0x30]
je 0x69b2e1
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x2c]
test eax, eax
cmove eax, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], esi
lea eax, [eax + edi*4]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, edi
sub eax, esi
mov esi, eax
mov dword [esp + 8], eax
mov edx, eax
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
cmp edi, ecx
jae 0x69b263
movzx ecx, word [esp + edi*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b263
lea edx, [esi + 1]
mov esi, dword [esp + 4]
add eax, eax
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 2]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 3]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 4]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 5]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 6]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 7]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 8]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 9]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 0xa]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 0xb]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 0xc]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 0xd]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 0xe]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x69b300
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x69b300
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea ecx, [edi + 0xf]
lea edx, [ecx + esi]
cmp dword [esp + 0x10], edx
jbe 0x69b2f7
movzx edx, word [esp + edx*2 + 0x44]
add dword [esp + 8], 0x10
mov edi, dword [esp + 8]
sub eax, edx
mov edx, edi
test eax, eax
jle 0x69b2f7
mov eax, 1
mov ecx, edx
shl eax, cl
add dword [esp + 0x28], eax
mov edi, dword [esp + 0x28]
cmp edi, 0x354
jbe 0x69b287
cmp byte [esp + 0x43], 0
jne 0x69adbd
cmp dword [esp + 0x28], 0x250
jbe 0x69b29c
cmp byte [esp + 0x42], 0
jne 0x69adbd
mov eax, dword [esp + 0xa4]
movzx ecx, byte [esp + 8]
lea edx, [ebx*4]
mov dword [esp + 0x30], ebx
mov eax, dword [eax]
mov byte [eax + ebx*4], cl
mov eax, dword [esp + 0xa4]
movzx ecx, byte [esp + 0x24]
mov eax, dword [eax]
mov byte [eax + edx + 1], cl
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
sub eax, ecx
sar eax, 2
mov word [ecx + edx + 2], ax
add dword [esp + 0x14], 2
jmp 0x69ae60
xor ebp, ebp
jmp 0x69af46
mov edx, ecx
lea esi, [esi]
mov dword [esp + 8], edx
jmp 0x69b263
xor esi, esi
mov byte [esp], 0x60
jmp 0x69aea4
test ebp, ebp
je 0x69b337
mov eax, dword [esp + 0x18]
movzx ebx, byte [esp + 0x41]
xor edx, edx
lea eax, [eax + ebp*4]
mov byte [eax], 0x40
mov byte [eax + 1], bl
mov word [eax + 2], dx
mov ebx, dword [esp + 0xa4]
mov eax, dword [esp + 0x28]
shl eax, 2
add dword [ebx], eax
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0x24]
mov dword [eax], ebx
xor eax, eax
jmp 0x69aa14
cmp edi, 1
mov dword [esp + 0x10], 1
jbe 0x69b36d
mov edi, 1
movzx ecx, word [esp + 0x46]
mov edx, 2
mov eax, 0xffffffff
sub edx, ecx
js 0x69aa14
mov dword [esp + 0xc], 1
jmp 0x69ab79
mov dword [esp + 0xc], 0xd
jmp 0x69ab6b
mov dword [esp + 0xc], 0xc
jmp 0x69ab6b
mov dword [esp + 0xc], 0xb
jmp 0x69ab6b
mov dword [esp + 0xc], 0xa
jmp 0x69ab6b
mov dword [esp + 0xc], 9
jmp 0x69ab6b
mov dword [esp + 0xc], 8
jmp 0x69ab6b
mov dword [esp + 0xc], 7
jmp 0x69ab6b
mov dword [esp + 0xc], 6
jmp 0x69ab6b
mov dword [esp + 0xc], 5
jmp 0x69ab6b
mov dword [esp + 0xc], 4
jmp 0x69ab6b
mov dword [esp + 0xc], 3
jmp 0x69ab6b
mov dword [esp + 0xc], 2
jmp 0x69ab6b
mov dword [esp + 0x10], 0xe
jmp 0x69aa30
mov dword [esp + 0x10], 0xd
jmp 0x69aa30
mov dword [esp + 0x10], 0xc
jmp 0x69aa30
mov dword [esp + 0x10], 0xb
jmp 0x69aa30
mov dword [esp + 0x10], 0xa
jmp 0x69aa30
mov dword [esp + 0x10], 9
jmp 0x69aa30
mov dword [esp + 0x10], 7
jmp 0x69aa30
mov dword [esp + 0x10], 8
jmp 0x69aa30
mov dword [esp + 0x10], 4
jmp 0x69aa30
mov dword [esp + 0x10], 5
jmp 0x69aa30
mov dword [esp + 0x10], 6
jmp 0x69aa30
mov dword [esp + 0x10], 3
jmp 0x69aa30
mov dword [esp + 0xc], 0xe
jmp 0x69ab6b
mov dword [esp + 0x10], 2
jmp 0x69aa30