Function at 0x488a10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x188
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [0xec0e0c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x43fc0]
mov edx, dword [eax + 0x44008]
mov esi, dword [ebp + 0x3c]
mov eax, 9
cmp word [0x651a7c], ax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], edx
jbe 0x488a54
mov word [0x651a7c], ax
mov al, byte [0x651a7c]
mov byte [esi + 0x38], al
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx + 4]
xor edi, edi
mov dword [edx + 0x18], edi
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x44], edi
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx + 4]
mov dword [eax + 0x70], edi
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx + 4]
mov dword [edx + 0x9c], edi
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax + 4]
mov dword [ecx + 0xc8], edi
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx + 4]
mov dword [eax + 0xf4], edi
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx + 4]
mov dword [edx + 0x120], edi
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x14c], edi
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx + 4]
mov dword [eax + 0x178], edi
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx + 4]
mov dword [edx + 0x1a4], edi
movzx eax, word [0x651a7c]
mov ecx, dword [ebp + 0x3c]
imul eax, eax, 0x2c
mov edx, dword [ecx + 4]
mov ebx, 1
mov dword [eax + edx + 0x18], ebx
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax + 8]
push 9
push edi
call fcn.004051f0
movzx ecx, word [0x651a7c]
mov edx, dword [ebp + 0x3c]
push ecx
mov ecx, dword [edx + 8]
call fcn.00405210
mov eax, dword [0xec0e0c]
mov eax, dword [eax]
movzx ecx, word [0x651a7c]
mov edx, dword [eax + 0x44360]
add edx, ecx
imul edx, dword [eax + 0x443a8]
mov eax, dword [0x653474]
mov ecx, dword [eax + 0x44]
push edx
call fcn.00487950
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx + 4]
movzx ecx, word [0x651a7e]
mov dword [eax + 0x1d0], ecx
movzx ecx, word [0x651a7e]
mov edx, dword [0x652e08]
mov dword [edx + 0xd46c], ecx
mov ecx, dword [ebp + 0x3c]
movzx eax, word [0x651a80]
mov edx, dword [ecx + 4]
mov dword [edx + 0x1fc], eax
movzx eax, word [0x651a80]
mov ecx, dword [0x652e08]
mov dword [ecx + 0xd470], eax
mov eax, dword [ebp + 0x3c]
movzx edx, word [0x651a82]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x228], edx
movzx edx, word [0x651a82]
mov eax, dword [0x652e04]
mov dword [eax + 0x3c68], edx
mov ax, word [0x651a84]
cmp ax, 0xd
jb 0x488bb5
cmp ax, 0x12
jbe 0x488bbe
mov word [0x651a84], 0xd
mov cl, byte [0x651a84]
mov byte [esi + 0x39], cl
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx + 4]
mov dword [eax + 0x254], edi
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx + 4]
mov dword [edx + 0x280], edi
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x2ac], edi
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx + 4]
mov dword [eax + 0x2d8], edi
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx + 4]
mov dword [edx + 0x304], edi
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x330], edi
movzx edx, word [0x651a84]
mov eax, dword [ebp + 0x3c]
imul edx, edx, 0x2c
mov ecx, dword [eax + 4]
mov dword [edx + ecx + 0x18], ebx
mov dl, byte [0x651a84]
mov eax, dword [0x652e04]
sub dl, 0xd
mov byte [eax + 0x3dd0], dl
mov ax, word [0x651a86]
cmp ax, 0x13
mov ecx, 0x14
jb 0x488c4e
cmp ax, 0x16
jbe 0x488c55
mov word [0x651a86], cx
mov dl, byte [0x651a86]
mov byte [esi + 0x3a], dl
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 4]
mov dword [edx + 0x35c], edi
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 4]
mov dword [edx + 0x388], edi
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 4]
mov dword [edx + 0x3b4], edi
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 4]
mov dword [edx + 0x3e0], edi
movzx eax, word [0x651a86]
mov edx, dword [ebp + 0x3c]
imul eax, eax, 0x2c
mov edx, dword [edx + 4]
mov dword [eax + edx + 0x18], ebx
movzx eax, word [0x651a86]
add eax, 0xffffffed
cmp eax, 3
ja case.default.0x488cb1
jmp dword [eax*4 + 0x489620]
mov byte [0x651aac], 9
jmp case.default.0x488cb1
mov byte [0x651aac], 0xa
jmp case.default.0x488cb1
mov byte [0x651aac], 0xb
jmp case.default.0x488cb1
mov byte [0x651aac], 0
mov esi, dword [ebp + 0x40]
mov eax, 9
cmp word [0x651a74], ax
mov dword [esp + 0x14], esi
jbe 0x488cf5
mov word [0x651a74], ax
mov ax, word [0x651a76]
cmp ax, 0xa
jb 0x488d07
cmp ax, 0x13
jbe 0x488d10
mov word [0x651a76], 0x13
mov ax, word [0x651a78]
cmp ax, cx
jb 0x488d21
cmp ax, 0x18
jbe 0x488d28
mov word [0x651a78], cx
mov ax, word [0x651a7a]
cmp ax, 0x19
jb 0x488d3a
cmp ax, 0x1c
jbe 0x488d43
mov word [0x651a7a], 0x19
mov al, byte [0x651a74]
mov byte [esi + 0x38], al
mov cl, byte [0x651a76]
mov byte [esi + 0x39], cl
mov dl, byte [0x651a78]
mov byte [esi + 0x3a], dl
mov al, byte [0x651a7a]
mov byte [esi + 0x3b], al
mov eax, dword [0xebcba8]
cmp eax, edi
je 0x488df6
mov ecx, dword [0xec0e0c]
mov ecx, dword [ecx]
movzx esi, word [0x651a74]
mov ebx, dword [ecx + 0x44700]
mov edx, dword [eax]
sub ebx, esi
imul ebx, dword [ecx + 0x44748]
push ebx
push eax
call dword [edx + 0x1c]
cmp word [0x651a74], di
jne 0x488dcb
push 0xff
mov ecx, 0xeac580
call fcn.00484c70
mov eax, dword [0xebcba4]
cmp eax, edi
je 0x488dbe
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov dword [0xebca88], edi
mov ebx, 1
jmp 0x488df2
mov eax, dword [0x652e10]
cmp eax, edi
mov ebx, 1
mov dword [0xebca88], ebx
je 0x488df2
xor edx, edx
mov dl, byte [eax + 0x13dc]
mov ecx, 0xeac580
push edx
call fcn.00484c70
mov esi, dword [esp + 0x14]
mov eax, dword [0xec0e0c]
mov eax, dword [eax]
movzx ecx, word [0x651a76]
mov edx, dword [eax + 0x44aa0]
sub edx, ecx
imul edx, dword [eax + 0x44ae8]
mov ecx, dword [0x65324c]
push edx
call fcn.0049d340
cmp word [0x651a76], 0xa
jne 0x488e59
movzx eax, byte [0xec2300]
dec eax
jne 0x488e4c
mov ecx, dword [0x65324c]
push 2
call fcn.0049d1c0
mov ecx, dword [0x65324c]
push ebx
call fcn.0049d1c0
mov eax, dword [0x65324c]
mov dword [eax + 0x2888], ebx
jmp 0x488e8f
mov ecx, dword [0x65324c]
mov dword [ecx + 0x2888], edi
movzx eax, byte [0xec2300]
sub eax, edi
je 0x488e76
dec eax
je 0x488ea2
dec eax
jne 0x488e8f
mov ecx, dword [0x65324c]
push 2
call fcn.0049d1c0
push ebx
mov ecx, dword [0x65324c]
call fcn.0049d1c0
movzx eax, byte [esi + 0x3a]
add eax, 0xffffffec
cmp eax, 4
ja case.default.0x488e9b
jmp dword [eax*4 + 0x489630]
cmp dword [0xec2304], 0x15e
mov ecx, dword [0x65324c]
push ebx
jl 0x488ebe
push 2
call fcn.0049d150
jmp 0x488e83
push ebx
call fcn.0049d150
push 2
jmp 0x488e84
push 2
jmp 0x488ed9
push 8
jmp 0x488ed9
push 3
jmp 0x488ed9
push ebx
jmp 0x488ed9
push 6
mov ecx, dword [0x65324c]
call fcn.0049cb10
xor eax, eax
mov edx, dword [ebp + 0x40]
mov ecx, dword [edx + 4]
mov dword [ecx + eax + 0x18], edi
add eax, 0x2c
cmp eax, 0x4d0
jle 0x488ee6
movzx edx, word [0x651a74]
mov eax, dword [ebp + 0x40]
imul edx, edx, 0x2c
mov ecx, dword [eax + 4]
mov dword [edx + ecx + 0x18], ebx
movzx edx, word [0x651a76]
mov eax, dword [ebp + 0x40]
imul edx, edx, 0x2c
mov ecx, dword [eax + 4]
mov dword [edx + ecx + 0x18], ebx
movzx edx, word [0x651a78]
mov eax, dword [ebp + 0x40]
imul edx, edx, 0x2c
mov ecx, dword [eax + 4]
mov dword [edx + ecx + 0x18], ebx
movzx edx, word [0x651a7a]
mov eax, dword [ebp + 0x40]
imul edx, edx, 0x2c
mov ecx, dword [eax + 4]
mov dword [edx + ecx + 0x18], ebx
mov edx, dword [ebp + 0x40]
mov ecx, dword [edx + 8]
push 9
push edi
call fcn.004051f0
movzx eax, word [0x651a74]
mov ecx, dword [ebp + 0x40]
mov ecx, dword [ecx + 8]
push eax
call fcn.00405210
mov edx, dword [ebp + 0x40]
mov ecx, dword [edx + 8]
push 0x13
push 0xa
add ecx, 0x68
call fcn.004051f0
movzx eax, word [0x651a76]
mov ecx, dword [ebp + 0x40]
mov ecx, dword [ecx + 8]
push eax
add ecx, 0x68
call fcn.00405210
mov edx, dword [0x651a88]
mov esi, dword [ebp + 0x44]
mov dword [esi + 0x3c], edx
mov eax, dword [0x651a94]
mov dword [esi + 0x40], eax
mov ecx, dword [0x651a98]
mov dword [esi + 0x44], ecx
mov edx, dword [0x651a8c]
mov dword [esi + 0x48], edx
mov eax, dword [0x651a90]
mov dword [esi + 0x4c], eax
cmp word [0x651a6a], 4
jbe 0x488fd2
mov word [0x651a6a], di
mov ax, word [0x651a6c]
cmp ax, 5
jb 0x488fe4
cmp ax, 9
jbe 0x488fed
mov word [0x651a6c], 5
mov cl, byte [0x651a6a]
mov byte [esi + 0x38], cl
movzx eax, word [0x651a6a]
mov ecx, dword [esi + 4]
imul eax, eax, 0x2c
mov edx, 1
mov dword [eax + ecx + 0x18], edx
mov al, byte [0x651a6c]
mov byte [esi + 0x50], al
movzx ecx, word [0x651a6c]
mov eax, dword [esi + 4]
imul ecx, ecx, 0x2c
mov dword [ecx + eax + 0x18], edx
mov edi, dword [ebp + 0x20]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [ebp + 0x24]
mov eax, dword [esp + 0x18]
add edi, ecx
mov ecx, dword [0xec0e0c]
add ebx, eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x44e88]
mov eax, dword [eax + 0x44e40]
push 0x66
add edx, ebx
push edx
add eax, edi
lea ecx, [esi + 0x54]
push eax
call fcn.00405400
mov ecx, dword [0xec0e0c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44ed0]
push 0
lea ecx, [edx + edi + 0x100]
mov edx, dword [eax + 0x44e40]
push 0x100
push ecx
add edx, edi
push edx
lea ecx, [esi + 0x54]
call fcn.00405300
mov eax, dword [0xec0e0c]
mov eax, dword [eax]
mov edx, dword [eax + 0x45228]
mov eax, dword [eax + 0x451e0]
push 1
push 0x67
add edx, ebx
push edx
add eax, edi
lea ecx, [esi + 0x98]
push eax
call fcn.00405400
mov ecx, dword [0xec0e0c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x45270]
push 0
lea ecx, [edx + edi + 0x100]
mov edx, dword [eax + 0x451e0]
push 0x100
push ecx
add edx, edi
push edx
lea ecx, [esi + 0x98]
call fcn.00405300
mov eax, dword [0xec0e0c]
mov eax, dword [eax]
mov edx, dword [eax + 0x455c8]
mov eax, dword [eax + 0x45580]
push 1
push 0x68
add edx, ebx
push edx
add eax, edi
lea ecx, [esi + 0xdc]
push eax
call fcn.00405400
mov ecx, dword [0xec0e0c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x45610]
push 0
lea ecx, [edx + edi + 0x100]
mov edx, dword [eax + 0x45580]
push 0x100
push ecx
add edx, edi
push edx
lea ecx, [esi + 0xdc]
call fcn.00405300
movzx eax, byte [esi + 0x38]
shl eax, 2
mov ecx, dword [eax + 0x651a88]
and ecx, 0xff
mov dword [esi + 0x88], ecx
movzx edx, byte [eax + 0x651a89]
mov dword [esi + 0xcc], edx
movzx eax, byte [eax + 0x651a8a]
mov dword [esi + 0x110], eax
movzx eax, byte [esi + 0x50]
add eax, 0xfffffffb
cmp eax, 4
ja case.default.0x48917f
jmp dword [eax*4 + 0x489644]
mov ecx, dword [0xec0e0c]
mov eax, dword [ecx]
add eax, 0x45928
lea edx, [esi + 0x120]
lea esp, [esp]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4891a0
jmp case.default.0x48917f
mov edx, dword [0xec0e0c]
mov eax, dword [edx]
add eax, 0x45970
lea edx, [esi + 0x120]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4891c2
jmp case.default.0x48917f
mov eax, dword [0xec0e0c]
mov eax, dword [eax]
add eax, 0x459b8
lea edx, [esi + 0x120]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4891e3
jmp case.default.0x48917f
mov ecx, dword [0xec0e0c]
mov eax, dword [ecx]
add eax, 0x45a00
lea edx, [esi + 0x120]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x489205
jmp case.default.0x48917f
mov byte [esp + 0x90], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x91]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x90]
push 0x104
push edx
stosb byte es:[edi], al
call fcn.004ab591
lea edi, [esp + 0x98]
add esp, 8
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x489250
mov eax, dword [str._ini.ini]
mov ecx, dword [0x4bbc80]
mov dl, byte [0x4bbc84]
mov dword [edi], eax
xor eax, eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [edi + 4], ecx
mov word [esp + 0x39], ax
mov byte [esp + 0x3b], al
mov eax, dword [0xec0e0c]
lea ecx, [esp + 0x90]
push ecx
push 0x20
mov byte [edi + 8], dl
mov byte [esp + 0x24], 0
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
add ecx, 0x45970
push ecx
push str.font
push str.FONT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x1c]
mov edx, esi
mov ecx, eax
sub edx, ecx
add edx, 0x120
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4892e0
mov esi, dword [esi + 0xc]
lea ecx, [esp + 0x1c]
add esi, 0x18
mov al, byte [ecx]
inc ecx
mov byte [esi], al
inc esi
test al, al
jne 0x4892f4
mov eax, dword [ebp + 0x48]
mov eax, dword [eax + 0xc]
mov edx, str.Insert
add eax, 0x18
lea esp, [esp]
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x489310
mov ecx, dword [ebp + 0x48]
mov eax, dword [ecx + 0xc]
mov edx, str.Home
add eax, 0x74
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x489328
mov eax, dword [ebp + 0x48]
mov eax, dword [eax + 0xc]
mov edx, str.PG_Up
add eax, 0xd0
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x489342
mov ecx, dword [ebp + 0x48]
mov eax, dword [ecx + 0xc]
mov edx, 0x4be0e4
add eax, 0x12c
lea esp, [esp]
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x489360
xor eax, eax
lea ecx, [esp + 0x44]
lea edx, [eax + 0x2710]
mov byte [ecx - 4], 9
mov word [ecx], dx
inc eax
add ecx, 6
cmp eax, 0xd
jl 0x489370
mov word [esp + 0x42], 0x2d
mov word [esp + 0x48], 0x24
mov word [esp + 0x4e], 0x21
mov word [esp + 0x54], 9
mov edi, 0x170
lea ebx, [esp + 0x5a]
mov esi, 0x651a44
movzx ecx, word [esi]
xor eax, eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
push ecx
mov dword [esp + 0x29], eax
lea edx, [esp + 0x20]
mov word [esp + 0x2d], ax
push str.Ctrl_c
push edx
mov byte [esp + 0x28], 0
mov byte [esp + 0x37], al
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 0x48]
mov edx, dword [eax + 0xc]
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [edx + edi + 0x18]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4893f1
mov ax, word [esi]
mov word [ebx], ax
add esi, 2
add edi, 0x5c
add ebx, 6
cmp esi, 0x651a52
jl 0x4893b0
mov eax, dword [0x6534a0]
test eax, eax
mov word [esp + 0x84], 0x43
mov word [esp + 0x8a], 0x56
je 0x489436
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
push 0xd
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_CreateAcceleratorTableA]
mov dword [0x6534a0], eax
mov ebx, 0x3f4
mov edi, 0x651a52
mov esi, 0x38c
movzx eax, word [edi]
xor edx, edx
mov dword [esp + 0x1d], edx
mov dword [esp + 0x21], edx
sub eax, 0x6f
push eax
mov dword [esp + 0x29], edx
lea ecx, [esp + 0x20]
mov word [esp + 0x2d], dx
push 0x4bcadc
push ecx
mov byte [esp + 0x28], 0
mov byte [esp + 0x37], dl
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebp + 0x48]
mov ecx, dword [edx + 0xc]
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [ecx + ebx + 0x18]
jmp 0x4894a0
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x4894a0
cmp esi, 0x38c
jl 0x4894cb
cmp esi, 0x398
jg 0x4894cb
movzx edx, word [edi]
mov eax, dword [0x652e04]
mov dword [eax + esi + 0x2398b8], edx
jmp 0x489509
cmp esi, 0x39c
jl 0x4894e9
cmp esi, 0x3a8
jg 0x4894e9
movzx ecx, word [edi]
mov edx, dword [0x652e04]
mov dword [edx + esi], ecx
jmp 0x489509
cmp esi, 0x3ac
jl 0x489509
cmp esi, 0x3b8
jg 0x489509
movzx eax, word [edi]
mov ecx, dword [0x652e04]
mov dword [ecx + esi + 0x314], eax
add esi, 4
add ebx, 0x5c
add edi, 2
cmp esi, 0x3bc
jl 0x489457
mov edx, dword [ebp + 0x4c]
mov ecx, dword [edx + 8]
push 9
push 0
call fcn.004051f0
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax + 8]
push 0
call fcn.00405210
xor edi, edi
mov esi, 0x651398
mov edx, dword [ebp + 0x4c]
mov eax, dword [edx + 0xc]
mov ecx, esi
lea edx, [eax + edi + 0x18]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x489550
add esi, 0x11
add edi, 0x5c
cmp esi, 0x651442
jl 0x489541
mov eax, dword [ebp + 0x4c]
mov ecx, 0x651354
sub ecx, eax
mov dword [esp + 0x14], 0
mov ebx, 0x6512d0
lea edi, [eax + 0x6e8]
lea esi, [eax + 0x44]
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov ax, word [ebx]
test ax, ax
mov word [edi], ax
je 0x4895de
mov ecx, dword [esp + 0x18]
push 0x10
add ecx, esi
push ecx
push esi
call fcn.004aa2b0
movzx eax, word [edi]
mov byte [esi + 0x10], 0
mov ecx, dword [eax*4 + 0x65945c]
add esp, 0xc
test ecx, ecx
je 0x4895da
mov edx, eax
shl edx, 4
mov ecx, esi
lea edx, [edx + eax + 0x65b45c]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4895d0
inc dword [esp + 0x14]
add ebx, 2
add edi, 2
add esi, 0x11
cmp ebx, 0x651398
jl 0x489590
mov eax, 0x66666667
imul dword [esp + 0x14]
sar edx, 2
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov edx, dword [ebp + 0x4c]
push ecx
mov ecx, dword [edx + 8]
push 0
call fcn.004051f0
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret