Function at 0x421640
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b648
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5e2500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00453018
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.0045a881
cmp dword [eax + 0xee0], 0
je 0x4219f9
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x580060
call fcn.00404670
mov ecx, dword [esi + 0x20]
push ecx
mov dword [ebp - 4], 0
call edi
push eax
call fcn.0045a881
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041efe0
push 0x5e3aa0
lea edi, [esi + 0xa8]
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, edi
call fcn.004522ed
push 0x417
mov ecx, esi
call fcn.0045e48e
test edi, edi
je 0x4216eb
mov edi, dword [edi + 4]
mov edx, dword [eax + 0x20]
push 1
push edi
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x580060
lea ecx, [ebp - 0x10]
call fcn.00404670
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x5e3c90
mov dword [ebp - 4], 1
call fcn.004261a0
mov edi, dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
mov ebx, 0x400
sub eax, ebx
or eax, ecx
mov byte [ebp - 4], 2
jge 0x421747
push ebx
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], ebx
jge 0x421756
push 0x80070057
call fcn.00401330
push edi
push ebx
push edx
push 0x580060
mov dword [edx - 0xc], ebx
mov eax, dword [ebp - 0x10]
push str.DisplayWelcomeImage
xor ecx, ecx
push 0x580298
mov word [eax + 0x800], cx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4217a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0054d87f
add esp, 8
test eax, eax
js 0x42174c
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x42174c
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov edi, dword [0x5e3b64]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov ebx, eax
test ebx, ebx
je 0x4217f6
lea eax, [ebx + 4]
push eax
push edi
mov dword [ebx], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [ebx + 8], eax
jmp 0x4217f8
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push 0x580348
mov dword [esi + 0xc0], ebx
call fcn.00401b00
add esp, 8
test al, al
je 0x42183f
push str.Displaying_the_Welcome_image
push str.DisplayWelcomeImage
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
push 0
push 0x585638
push 0xa7
mov ecx, esi
call fcn.004210c0
push str.BACK
lea ecx, [ebp - 0x14]
call fcn.00404670
mov eax, dword [ebp - 0x14]
push 0
push ecx
add eax, 0xfffffff0
mov bl, 3
mov dword [ebp - 0x1c], esp
mov edi, esp
push eax
mov byte [ebp - 4], bl
call fcn.00401e40
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push ecx
mov byte [ebp - 4], 4
call edi
push eax
call fcn.0045a881
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.0041ea60
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NEXT_CANCEL
call fcn.00404670
mov edx, dword [esi + 0x20]
push edx
mov byte [ebp - 4], 5
call edi
push eax
call fcn.0045a881
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.0041ec80
mov ecx, 0x5e3c90
call fcn.00426ef0
or dword [0x5dd660], 1
je 0x421916
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x5e3c90
call fcn.004276d0
push eax
mov ecx, 0x5e3c90
mov byte [ebp - 4], 6
call fcn.00426ef0
push eax
mov ecx, 0x5e3c90
call fcn.004265f0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421916
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x580060
call fcn.00404670
mov ecx, dword [esi + 0x20]
push ecx
mov byte [ebp - 4], 7
call edi
push eax
call fcn.0045a881
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.0041efe0
lea edx, [ebp - 0x18]
push edx
mov ecx, 0x5e3c90
call fcn.00426320
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0045e5ce
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42197e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.00421310
mov ecx, dword [esi + 0x20]
push 1
push ecx
call edi
push eax
call fcn.0045a881
mov ecx, eax
call fcn.0041a3f0
mov edx, dword [esi + 0x20]
push 0
push 0x3024
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4219d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4219f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret