Function at 0x480620
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cadd8
push 0x4a5d66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x15c0
call fcn.004a5b80
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x15d8], esi
mov ecx, dword [esi + 0x110]
shr ecx, 1
and cl, 1
mov al, byte [esi + 0x14c]
shr al, cl
xor ecx, ecx
mov cl, byte [esi + 0xa0]
shl al, cl
mov byte [ebp - 0x330], al
lea ecx, [ebp - 0x32c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, esi
call fcn.004791d0
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
lea eax, [edi + edi]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x15a8], eax
mov ebx, eax
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
push ecx
push edi
push eax
mov ecx, esi
call fcn.00477680
lea edx, [edi*4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x15ac], eax
mov esi, eax
mov dword [ebp - 0x28], esi
xor edx, edx
mov dword [ebp - 0x15bc], edx
cmp edx, edi
jae 0x480736
mov cx, word [ebx + edx*2]
mov dword [ebp - 0x15b8], ecx
mov eax, edx
mov dword [ebp - 0x15c0], eax
test eax, eax
jbe 0x480711
mov edi, dword [esi + eax*4 - 4]
cmp cx, word [ebx + edi*2]
jb 0x480711
dec eax
jmp 0x4806fa
mov ecx, edx
mov dword [ebp - 0x15c4], ecx
cmp ecx, eax
jbe 0x480727
mov edi, dword [esi + ecx*4 - 4]
mov dword [esi + ecx*4], edi
dec ecx
jmp 0x480713
mov dword [esi + eax*4], edx
inc edx
mov dword [ebp - 0x15bc], edx
mov edi, dword [ebp + 0xc]
jmp 0x4806ea
push edi
push esi
push ebx
mov ecx, dword [ebp - 0x15d8]
call fcn.00480e40
mov edx, eax
mov dword [ebp - 0x33c], edx
test dx, dx
je 0x480df7
xor esi, esi
mov dword [ebp - 0xc5c], esi
mov ecx, 0x17f
xor eax, eax
lea edi, [ebp - 0xc58]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x65c], esi
mov dword [ebp - 0xc64], esi
mov dword [ebp - 0xc60], esi
mov dword [ebp - 0x658], esi
and edx, 0xffff
lea eax, [edx + edx*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp eax, 5
jge 0x4807a0
mov eax, 5
mov dword [ebp - 0x654], eax
xor edi, edi
mov dword [ebp - 0x334], edi
cmp edi, dword [ebp + 0xc]
jae 0x48081f
mov ax, word [ebx + edi*2]
cmp ax, word [ebp - 0x20]
jne 0x4807c6
inc dword [ebp - 0xc60]
inc edi
jmp 0x4807a8
cmp ax, word [ebp - 0x654]
jae 0x4807d8
inc dword [ebp - 0x658]
inc edi
jmp 0x4807a8
inc dword [ebp - 0xc64]
mov eax, dword [ebp - 0x20]
and eax, 0xffff
imul eax, edi
add eax, dword [ebp + 8]
mov dword [ebp - 0xc68], eax
xor esi, esi
mov dword [ebp - 0x2c], esi
cmp si, word [ebp - 0x20]
jae 0x4807c3
mov ecx, esi
and ecx, 0xffff
mov dl, byte [ebp + 0x14]
cmp byte [ecx + eax], dl
jbe 0x48081c
lea ecx, [ebp + ecx*4 - 0xc5c]
inc dword [ecx]
inc dword [ebp - 0x65c]
inc esi
jmp 0x4807f4
xor esi, esi
mov dword [ebp - 0x340], esi
mov dword [ebp - 0x15cc], esi
mov edi, dword [ebp - 0x20]
cmp si, di
jae 0x4808c0
mov eax, esi
and eax, 0xffff
mov ecx, dword [ebp + eax*4 - 0xc5c]
mov dword [ebp - 0x15c8], ecx
mov eax, esi
mov dword [ebp - 0x15d0], eax
test ax, ax
jbe 0x48087c
mov edx, eax
and edx, 0xffff
xor ebx, ebx
mov bx, word [ebp + edx*2 - 0x642]
cmp ecx, dword [ebp + ebx*4 - 0xc5c]
jb 0x48087c
add eax, 0xffff
jmp 0x48084f
mov edx, esi
mov dword [ebp - 0x15d4], edx
cmp dx, ax
jbe 0x4808a7
mov ecx, edx
and ecx, 0xffff
lea ecx, [ebp + ecx*2 - 0x640]
mov bx, word [ecx - 2]
mov word [ecx], bx
add edx, 0xffff
jmp 0x48087e
and eax, 0xffff
mov word [ebp + eax*2 - 0x640], si
inc esi
mov dword [ebp - 0x15cc], esi
jmp 0x480830
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp ax, di
jae 0x4808f0
mov edx, eax
and edx, 0xffff
xor ecx, ecx
mov cx, word [ebp + edx*2 - 0x640]
mov edx, dword [ebp + ecx*4 - 0xc5c]
test edx, edx
je 0x4808f0
inc dword [ebp - 0x340]
inc eax
jmp 0x4808c2
mov dword [ebp - 0x650], 0
xor eax, eax
mov edx, dword [ebp + 0x18]
mov al, byte [edx + 0x304]
and edi, 0xffff
imul eax, edi
imul eax, dword [ebp - 0xc60]
mov dword [ebp - 0x64c], eax
mov ecx, 1
mov dword [ebp - 0x648], ecx
mov eax, dword [ebp - 0x340]
cmp cx, ax
ja 0x480b27
je 0x480958
mov eax, ecx
and eax, 0xffff
xor edx, edx
mov dx, word [ebp + eax*2 - 0x642]
mov eax, dword [ebp + edx*4 - 0xc5c]
cmp eax, dword [ebp + 0xc]
je 0x480b1b
xor eax, eax
mov dword [ebp - 0x1278], eax
mov edx, ecx
and edx, 0xffff
cmp eax, edx
jae 0x480989
xor edx, edx
mov dx, word [ebp + eax*2 - 0x640]
mov dx, word [ebp + edx*2 - 0x32c]
mov word [ebp + eax*2 - 0xf6c], dx
inc eax
jmp 0x48095a
mov eax, dword [ebp - 0x648]
push eax
lea ecx, [ebp - 0xf6c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x15d8]
call fcn.00480e90
mov dword [ebp - 0x1274], eax
xor ebx, ebx
mov dword [ebp - 0x1270], ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dx, word [ebp - 0x20]
jae 0x480a10
xor ecx, ecx
mov dword [ebp - 0x1280], ecx
cmp cx, ax
jae 0x4809f4
mov esi, ecx
and esi, 0xffff
mov edi, edx
and edi, 0xffff
mov di, word [ebp + edi*2 - 0x32c]
cmp di, word [ebp + esi*2 - 0xf6c]
je 0x4809f1
inc ecx
jmp 0x4809c1
cmp cx, ax
jne 0x480a0d
mov ecx, ebx
and ecx, 0xffff
mov word [ebp + ecx*2 - 0x126c], dx
inc ebx
mov dword [ebp - 0x1270], ebx
inc edx
jmp 0x4809b6
cmp bx, 8
jb 0x480b27
xor edx, edx
mov eax, dword [ebp + 0x18]
mov dl, byte [eax + 0x304]
mov ecx, ebx
and ecx, 0xffff
imul edx, ecx
imul edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x64c]
jb 0x480b27
xor edi, edi
mov dword [ebp - 0xc6c], edi
mov dword [ebp - 0x334], edi
mov eax, dword [ebp + 0xc]
cmp edi, eax
jae 0x480ade
mov edx, dword [ebp - 0x24]
mov ax, word [edx + edi*2]
cmp ax, word [ebp - 0x20]
je 0x480a71
cmp ax, bx
jae 0x480a74
inc dword [ebp - 0xc6c]
inc edi
jmp 0x480a48
mov eax, dword [ebp - 0x20]
and eax, 0xffff
imul eax, edi
add eax, dword [ebp + 8]
mov dword [ebp - 0x338], eax
xor cl, cl
mov byte [ebp - 0x1284], cl
xor esi, esi
mov dword [ebp - 0x2c], esi
cmp si, bx
jae 0x480a71
mov edx, esi
and edx, 0xffff
xor ebx, ebx
mov bx, word [ebp + edx*2 - 0x126c]
mov dl, byte [ebx + eax]
cmp dl, cl
jbe 0x480ad2
mov cl, dl
mov byte [ebp - 0x1284], cl
cmp cl, byte [ebp + 0x14]
jbe 0x480ad2
inc dword [ebp - 0xc6c]
mov ebx, dword [ebp - 0x1270]
inc edi
jmp 0x480a48
inc esi
mov dword [ebp - 0x2c], esi
mov ebx, dword [ebp - 0x1270]
jmp 0x480a95
sub eax, dword [ebp - 0xc6c]
xor ecx, ecx
mov edx, dword [ebp + 0x18]
mov cl, byte [edx + 0x304]
imul eax, ecx
and ebx, 0xffff
imul eax, ebx
mov dword [ebp - 0x127c], eax
cmp eax, dword [ebp - 0x64c]
jb 0x480b1b
mov dword [ebp - 0x64c], eax
mov eax, dword [ebp - 0x648]
mov dword [ebp - 0x650], eax
mov ecx, dword [ebp - 0x648]
inc ecx
jmp 0x480920
xor ecx, ecx
mov edi, dword [ebp - 0x15d8]
mov cx, word [edi + 0x148]
mov edx, dword [ebp - 0x330]
and edx, 0xff
imul ecx, edx
imul ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x64c]
shl eax, 0xa
xor edx, edx
div ecx
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0x318], eax
mov dword [ebp - 0x644], 0
cmp byte [edi + 0x152], 8
je 0x480c47
mov edx, dword [0x4e5bb8]
push edx
push 1
push str.LlfDeletePage
push str.Debug
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
call esi
test eax, eax
je 0x480c47
cmp byte [edi + 0x24], 0x84
je 0x480bc5
test byte [edi + 0x15c], 1
je 0x480bc5
mov eax, dword [0x4e5bb8]
push eax
push 1
push str.Mode
push str.Scan
call esi
cmp eax, 1
je 0x480c47
mov esi, 1
mov dword [ebp - 0x2c], esi
mov edi, dword [ebp - 0xc60]
mov edx, dword [ebp - 0xc64]
cmp si, word [ebp - 0x650]
ja 0x480c53
mov ecx, esi
and ecx, 0xffff
xor eax, eax
mov ax, word [ebp + ecx*2 - 0x642]
mov eax, dword [ebp + eax*4 - 0xc5c]
mov dword [ebp - 0x1288], eax
lea ecx, [edi + edx]
lea ecx, [ecx + ecx*2]
lea ebx, [eax*4]
cmp ebx, ecx
jb 0x480c25
lea ecx, [eax + eax*4]
lea ebx, [edx*4]
cmp ecx, ebx
jb 0x480c25
cmp eax, 2
ja 0x480c3b
lea ecx, [eax + eax]
cmp ecx, dword [ebp + 0xc]
jb 0x480c53
lea eax, [eax + eax*4]
lea ecx, [edx*4]
cmp eax, ecx
jb 0x480c53
inc dword [ebp - 0x644]
inc esi
mov dword [ebp - 0x2c], esi
jmp 0x480bd9
mov edx, dword [ebp - 0x650]
mov dword [ebp - 0x644], edx
xor esi, esi
mov ecx, dword [ebp - 0x644]
cmp cx, si
jbe 0x480dba
xor edi, edi
mov dword [ebp - 0x15a0], edi
mov dword [ebp - 0x128c], esi
mov dword [ebp - 0x159c], esi
mov ebx, dword [ebp - 0x15d8]
mov eax, ecx
and eax, 0xffff
cmp esi, eax
jae 0x480cce
xor ecx, ecx
mov cx, word [ebp + esi*2 - 0x640]
mov ax, word [ebp + ecx*2 - 0x32c]
mov word [ebp + esi*2 - 0x158c], ax
cmp byte [ebx + 0x152], 8
jne 0x480cbf
push eax
mov ecx, ebx
call fcn.0044d1c0
test eax, eax
je 0x480cbf
inc edi
mov dword [ebp - 0x15a0], edi
inc esi
mov dword [ebp - 0x159c], esi
mov ecx, dword [ebp - 0x644]
jmp 0x480c7e
mov eax, edi
and eax, 0xffff
lea edx, [eax + eax]
cmp edx, 0x40
jl 0x480cfe
and ecx, 0xffff
sub ecx, eax
add ecx, 0x40
mov eax, dword [ebp - 0x20]
and eax, 0xffff
cmp ecx, eax
jge 0x480cfe
mov dword [ebp - 0x128c], 1
mov ecx, dword [ebp - 0x644]
push ecx
lea edx, [ebp - 0x158c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x15d8]
call fcn.00480e90
mov ebx, eax
mov dword [ebp - 0x1594], ebx
xor edi, edi
mov dword [ebp - 0x1598], edi
mov dword [ebp - 0x1590], edi
cmp di, word [ebp - 0x20]
jae 0x480de5
xor esi, esi
mov dword [ebp - 0x15a4], esi
cmp si, bx
jae 0x480d90
mov ecx, edi
and ecx, 0xffff
mov ax, word [ebp + ecx*2 - 0x32c]
mov edx, esi
and edx, 0xffff
cmp ax, word [ebp + edx*2 - 0x158c]
je 0x480d87
mov ecx, dword [ebp - 0x128c]
test ecx, ecx
je 0x480d84
push eax
mov ecx, dword [ebp - 0x15d8]
call fcn.0044d1c0
test eax, eax
jne 0x480d87
inc esi
jmp 0x480d3d
inc dword [ebp - 0x1598]
cmp si, bx
jne 0x480db4
mov ecx, edi
and ecx, 0xffff
xor edx, edx
mov eax, dword [ebp + 0x18]
mov dx, word [eax + 2]
mov cx, word [ebp + ecx*2 - 0x32c]
mov word [eax + edx*2 + 4], cx
inc word [eax + 2]
inc edi
jmp 0x480d2b
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x18]
mov word [eax + 2], cx
and ecx, 0xffff
shl ecx, 1
lea esi, [ebp - 0x32c]
lea edi, [eax + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x480de8
mov eax, dword [ebp + 0x18]
mov cl, byte [ebp + 0x10]
mov byte [eax + 0x31c], cl
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00480e1c
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14