Function at 0x440330
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x7c4
push ebx
mov ebx, dword [esp + 0x7cc]
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1032
push ebx
call edi
test eax, eax
mov dword [esp + 0x14], eax
jne 0x440381
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x7f0]
push 0x50f
push eax
call fcn.004cc7f0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c4
ret
lea ecx, [eax*4]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
push 0
test ebp, ebp
mov dword [esp + 0x14], ebp
push 0
jne 0x4403cd
mov edx, dword [esp + 0x7e8]
push eax
push eax
push 0x50a
push edx
call fcn.004cc7f0
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c4
ret
push 0x1004
push ebx
xor esi, esi
call edi
test eax, eax
jle 0x440406
push 2
push esi
push 0x102c
push ebx
call edi
cmp eax, 2
jne 0x4403f1
mov dword [ebp], esi
add ebp, 4
push 0
push 0
push 0x1004
push ebx
inc esi
call edi
cmp esi, eax
jl 0x4403db
mov ebp, dword [esp + 0x10]
push 0x5b9260
lea eax, [esp + 0x40]
push 0x104
push eax
push str.C:TEMP_
push str.SaveAsSingle
push 0x59a1bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call fcn.00464100
add esp, 8
test eax, eax
jne 0x440469
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7c4
ret
lea edx, [esp + 0x3c]
push 0x5b9260
push edx
push str.SaveAsSingle
push 0x59a1bc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [esp + 0x3c]
push eax
call fcn.004c9990
lea ecx, [esp + 0x24]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
call fcn.004b91b0
mov eax, dword [esp + 0x5c]
xor edx, edx
mov ecx, eax
add esp, 0x28
shr ecx, 0x10
mov dh, cl
mov dl, ah
and eax, 0xff
shl edx, 8
or edx, eax
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebp, eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x4405ce
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c4]
push 1
push eax
mov edx, dword [ecx + ebx*4]
mov eax, dword [esp + 0x7e0]
push edx
push eax
call fcn.00474d50
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x38]
push ebp
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
lea edx, [esp + 0x2f8]
push 0
push edx
call fcn.004b8990
mov edi, eax
add esp, 0x3c
test edi, edi
je 0x4405c1
push 0
push edi
call fcn.004271f0
add esp, 8
mov esi, eax
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x4405c1
push 0
push 0
push 0
push 0
push 0x59a6ac
lea eax, [esp + 0x560]
push 0x5aae60
push eax
lea ecx, [esp + 0x58]
push 0x5aae60
lea edx, [esp + 0x2e4]
push ecx
push edx
call fcn.0043c330
push 0
push 3
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x584]
push 0
push eax
push esi
call fcn.004aa6f0
add esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x4404f2
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ecx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esp + 0x10]
push edx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7c4
ret