Function at 0x433320
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a8a76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x650
push ebp
push esi
push edi
mov ebp, ecx
push 1
push 0xff
mov al, byte [ebp + 0x34]
mov esi, dword [ebp + 0x16c]
push 1
push 1
mov byte [esp + 0x1e], al
mov dword [esp + 0x34], esi
call fcn.00435a90
xor edi, edi
mov ecx, ebp
push edi
push 1
push 1
push 1
push edi
push edi
call fcn.0043e690
mov eax, dword [ebp + 8]
push 0xff
push edi
push edi
mov cl, byte [eax + 0xa1]
mov dl, byte [eax + 0xa0]
push ecx
push edx
mov ecx, ebp
call fcn.00436460
mov al, byte [ebp + 0x3484]
test al, al
je 0x4333a3
xor eax, eax
jmp 0x433894
mov dl, byte [ebp + 0x110]
mov ecx, dword [0x4e5bb8]
test dl, 2
push ebx
push ecx
setne al
push edi
inc eax
push str.CheckFlashInteraction
push str.Scan
mov dword [esp + 0x5c], edi
mov byte [esp + 0x44], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov bl, al
test bl, bl
mov byte [esp + 0x13], bl
je 0x4333ec
test byte [ebp + 0x839], 0x10
je 0x4333ec
push edi
mov ecx, ebp
call fcn.00432ed0
lea edx, [esp + 0x54]
push str.IDS_STS_ERASE_ALL
push edx
call dword [0x4e610c]
add esp, 8
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x66c], edi
call fcn.004a57ee
lea ecx, [esp + 0x54]
mov byte [esp + 0x668], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x50]
push edi
push edi
lea ecx, [ebp + 0xbc]
push eax
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp + 4]
mov eax, dword [0x4e60fc]
add esp, 0x10
push edi
push edx
push 0x40c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
test bl, 1
je 0x4335ec
mov al, byte [esp + 0x12]
cmp al, 1
jbe 0x4335ec
xor bl, bl
test al, al
mov byte [esp + 0x18], bl
jbe 0x4335ec
mov edi, dword [esp + 0x18]
mov al, byte [ebp + 0xee]
mov ecx, edi
and ecx, 0xff
mov dl, byte [ecx + 0x4bb0f8]
test al, dl
je 0x4335da
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
push edi
mov ecx, ebp
call fcn.00433980
test eax, eax
je 0x4335bb
mov cl, byte [esp + 0x12]
mov al, bl
inc al
cmp al, cl
mov byte [esp + 0x14], al
jae 0x4335bb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
and eax, 0xff
and ecx, 0xff
shl ecx, 9
lea ebx, [eax + 0x4bb0f8]
imul eax, esi
lea edx, [esp + ecx + 0x61]
mov ecx, dword [esp + 0x670]
add eax, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x60]
push 0
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00445480
mov eax, dword [esp + 0x38]
cmp byte [eax], 0xc
ja 0x43358e
mov edx, dword [esp + 0x30]
mov eax, dword [0x4e601c]
and edx, 0xff
mov ecx, 0x80
shl edx, 9
lea esi, [esp + 0x60]
lea edi, [edx + eax + 0x80]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x43358e
mov al, byte [ebx]
mov cl, byte [ebp + 0xee]
not al
mov edi, dword [esp + 0x20]
and cl, al
mov byte [ebp + 0xee], cl
mov ecx, dword [esp + 0x28]
mov edx, ecx
mov eax, 0x80808080
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x4c], 1
and ecx, 3
rep stosb byte es:[edi], al
mov al, byte [esp + 0x14]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov cl, byte [esp + 0x12]
inc al
inc ebx
add edx, esi
cmp al, cl
mov byte [esp + 0x14], al
mov dword [esp + 0x20], edx
jb 0x433501
mov bl, byte [esp + 0x18]
mov edi, dword [esp + 0x18]
mov al, byte [esp + 0x1c]
inc al
cmp al, 2
mov byte [esp + 0x1c], al
jb 0x433495
mov eax, dword [esp + 0x2c]
mov ecx, ebp
push eax
push edi
call fcn.00445240
mov al, byte [esp + 0x12]
inc bl
cmp bl, al
mov byte [esp + 0x18], bl
jb 0x433470
test byte [esp + 0x13], 2
je 0x433842
mov al, byte [esp + 0x12]
mov byte [esp + 0x14], 0
test al, al
jbe 0x433842
mov ecx, dword [esp + 0x670]
mov dword [esp + 0x40], 0x4bb0f8
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x40]
mov cl, byte [ebp + 0xee]
mov al, byte [edx]
test cl, al
je 0x433819
mov byte [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push eax
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x34], 0
call fcn.00433980
test eax, eax
je 0x433807
cmp esi, 1
jbe 0x4337f6
mov eax, dword [esp + 0x34]
xor ecx, ecx
and eax, 0xff
shl eax, 9
lea edx, [esp + eax + 0x61]
mov dword [esp + 0x58], edx
mov ebx, 1
shl ebx, cl
mov ecx, dword [esp + 0x2c]
mov eax, ebx
mov dword [esp + 0x5c], ebx
and eax, ecx
test ax, ax
mov eax, ebx
je 0x4336a4
not eax
and eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x4336aa
or eax, ecx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x60]
push 0
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x54]
push ecx
push edx
push eax
mov eax, dword [esp + 0x2c]
mov ecx, ebp
push eax
call fcn.00445480
mov ecx, dword [esp + 0x58]
cmp byte [ecx], 0xc
ja 0x4337cf
mov edx, dword [esp + 0x30]
mov eax, dword [0x4e601c]
and edx, 0xff
mov ecx, 0x80
shl edx, 9
lea esi, [esp + 0x60]
lea edi, [edx + eax + 0x80]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4337cf
cmp bx, 0xffff
je 0x4337cf
mov al, byte [ebp + 0xef]
mov cl, byte [ebp + 0x171]
or al, 0x80
cmp cl, 2
mov byte [ebp + 0xef], al
mov byte [esp + 0x27], al
mov dword [esp + 0x4c], 1
jb 0x433772
mov dl, byte [ebp + 0x150]
cmp dl, 1
jne 0x433747
cmp bx, 1
je 0x43376a
cmp dl, 2
jne 0x433772
mov eax, dword [esp + 0x28]
and ecx, 0xff
xor edx, edx
div ecx
mov ecx, ebx
and ecx, 0xffff
cmp ecx, eax
jne 0x433772
mov al, byte [esp + 0x27]
or al, 1
mov byte [ebp + 0xef], al
mov ecx, dword [esp + 0x28]
mov eax, ebx
and eax, 0xffff
mov ebx, eax
mov dword [esp + 0x44], eax
cmp ebx, ecx
jae 0x4337cf
cmp word [esp + 0x5c], 0
jbe 0x4337c4
mov edi, dword [esp + 0x1c]
mov esi, ebx
and edi, 0xffff
mov dword [esp + 0x38], eax
push edi
push esi
mov ecx, ebp
call fcn.004338b0
test eax, eax
je 0x4337b4
mov edx, dword [esp + 0x3c]
mov byte [edx + esi], 0xf2
mov eax, dword [esp + 0x38]
inc esi
dec eax
mov dword [esp + 0x38], eax
jne 0x43379f
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
lea ebx, [ebx + eax*2]
cmp ebx, ecx
jb 0x433787
mov bl, byte [esp + 0x20]
mov esi, dword [esp + 0x28]
inc bl
mov eax, 1
mov byte [esp + 0x20], bl
mov ecx, dword [esp + 0x20]
and ecx, 0xff
shl eax, cl
cmp esi, eax
ja 0x433680
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, ebp
call fcn.00445240
mov al, byte [esp + 0x18]
inc al
cmp al, 2
mov byte [esp + 0x18], al
jb 0x433634
mov al, byte [esp + 0x14]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov cl, byte [esp + 0x12]
inc al
inc edi
add edx, esi
cmp al, cl
mov byte [esp + 0x14], al
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edx
jb 0x43361b
mov al, byte [esp + 0x13]
pop ebx
test al, 4
je 0x433852
mov byte [ebp + 0xf0], 0
mov eax, dword [ebp + 0x860]
test eax, eax
je 0x43387b
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x43387b
lea eax, [esp + 0x40]
push 0x4d8340
push eax
mov dword [esp + 0x48], 0x50400
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x4c]
mov dword [esp + 0x664], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x65c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x65c
ret 4