Function at 0x419751
Capabilities:
Inspect load icon resource
Read .ini file

Disassembly:
mov eax, 0x595d44
call fcn.00423b2c
sub esp, 0x144
mov eax, dword [0x5f2228]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x14], eax
xor edi, edi
cmp word [0x602940], 0x804
mov dword [ebp - 4], edi
push 0x5f215c
jne 0x41978a
push 0x5f13b4
jmp 0x41978f
push 0x5f13a8
push dword [0x60293c]
lea eax, [ebp - 0x14]
push 0x5f13a0
push eax
call fcn.00568f1c
add esp, 0x14
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebp - 0x14]
push edi
push 0x5f0f54
push 0x5f2158
call ebx
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x4197ca
xor esi, esi
jmp 0x4199a0
cmp eax, edi
mov dword [ebp - 0x10], edi
jle 0x4198b4
and byte [ebp - 0x50], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x4f]
and byte [ebp - 0x150], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x14f]
rep stosd dword es:[edi], eax
push dword [ebp - 0x10]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x50]
push 0x5f0f24
push eax
call fcn.0042460f
add esp, 0xc
lea eax, [ebp - 0x150]
push dword [ebp - 0x14]
push 0xff
push eax
push 0x6021f0
lea eax, [ebp - 0x50]
push 0x5f2150
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x150]
push eax
call fcn.00423340
test eax, eax
pop ecx
je 0x4198a5
push dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push 0
push 0x5f214c
push eax
call ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x50]
push 0
push 0x5f2144
push eax
call ebx
push pe_nt_image_headers32
mov dword [ebp - 0x1c], eax
call fcn.0056bc5e
mov edi, eax
lea eax, [ebp - 0x150]
push eax
push edi
call fcn.00423c90
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [edi + 0x100], eax
mov eax, dword [ebp - 0x1c]
push edi
lea ecx, [esi + 0x204]
mov dword [edi + 0x104], eax
call fcn.00404c16
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jl 0x4197d5
lea ebx, [esi + 0x318]
mov ecx, ebx
call fcn.0056a3b6
push 8
push 0
push 0x11
push 0x14
push 0x14
mov ecx, ebx
call fcn.0056a429
call fcn.005885ac
call fcn.005885ac
mov eax, dword [eax + 0xc]
push 0xc2
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x4198fe
push eax
push 0xffffffffffffffff
push dword [esi + 0x31c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
lea edi, [esi + 0x178]
push ebx
mov ecx, edi
call fcn.0041a0b9
mov eax, dword [esi + 0x20c]
xor ebx, ebx
test eax, eax
jle 0x41996a
mov eax, dword [esi + 0x208]
mov ecx, dword [0x5f2228]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x10], ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0056c0a6
push 0x5f2140
lea ecx, [ebp - 0x10]
call fcn.0056c2f9
push 0
push 0
push dword [ebp - 0x10]
mov ecx, edi
push ebx
push 3
call fcn.0056a283
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0056bf1d
inc ebx
cmp ebx, dword [esi + 0x20c]
jl 0x419918
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x194]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul qword [0x5abc68]
fadd qword [0x5abc60]
call fcn.00424c6c
push 1
mov dword [esi + 0x320], eax
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0056bf1d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret