Function at 0x405ef0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51161b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5426a0]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x5426a0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0047dc32
mov eax, 0x300
mov ecx, 0x400
mov dword [ebx + 0x470], eax
mov dword [ebx + 0x90], eax
mov eax, 1
xor edi, edi
mov dword [ebx + 0x46c], ecx
mov dword [ebx + 0x84], edi
mov dword [ebx + 0x88], edi
mov dword [ebx + 0x8c], ecx
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x9c], 0x2fc
mov dword [ebx + 0xa0], 0x243
call fcn.0047a7de
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405fa6
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x64
lea ecx, [esp + 0x38]
push edi
push ecx
mov dword [esp + 0xbc], edi
call fcn.004a0080
add esp, 0xc
call fcn.0047ea70
mov eax, dword [eax + 8]
push 0x64
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.0047a7de
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405ffd
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 1
call fcn.0040db80
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 2
call fcn.00404a60
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40605d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
push 0x5c
push esi
call fcn.00498dbf
add esp, 8
cmp eax, edi
jne 0x406075
or esi, 0xffffffff
jmp 0x406079
sub eax, esi
mov esi, eax
push esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call fcn.00404900
push str.logo.bmp
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0xbc], 3
call fcn.0040dd70
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 4
call fcn.00404a60
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4060dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406105
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call fcn.00404900
push str.woshi.dat
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0xbc], 5
call fcn.0040dd70
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 6
call fcn.00404a60
mov byte [esp + 0xb0], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406169
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406191
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
push 1
push str.UseDefaultLogo
push str.Logo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
je 0x4061e7
mov edx, dword [esp + 0x1c]
push 0x2050
push edi
push edi
push edi
push edx
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
cmp eax, edi
je 0x4061db
push eax
mov eax, dword [ebx + 0x494]
push edi
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4061e7
push edi
lea ecx, [ebx + 0x474]
call fcn.00487183
mov ecx, dword [ebx + 0x88]
mov edx, dword [ebx + 0x9c]
push 1
push 0x4c
push 0x7c
add ecx, 4
push ecx
add edx, 0x42
push edx
lea ecx, [ebx + 0x474]
call fcn.00487145
call fcn.0047a7de
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x406226
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, ebx
mov byte [esp + 0xb0], 7
call fcn.00407a70
mov esi, dword [ebx + 0x714]
lea edi, [ebx + 0x714]
push 0
push 0x59f
mov ecx, ebx
add esi, 0x134
call fcn.00486fc2
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov eax, dword [ebx + 0x734]
push 0
push 1
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebx + 0xda0], 0
jne 0x4062dc
lea edi, [ebx + 0xda4]
mov dword [esp + 0x10], 0x80
lea esp, [esp]
push 0x1bc
call fcn.00479a8b
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0xb0], 8
je 0x4062c6
mov esi, eax
call fcn.00421ec0
jmp 0x4062c8
xor eax, eax
mov byte [esp + 0xb0], 7
mov dword [edi], eax
add edi, 4
sub dword [esp + 0x10], 1
jne 0x4062a0
push 0x55ab60
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.0123456789_:
mov esi, 0x55c420
mov edi, 0x55b2e0
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x55cba0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x52311c
mov esi, 0x55c720
mov edi, 0x55af20
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x55b0a0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x523120
mov esi, 0x559ea0
mov edi, 0x55bbe0
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x5595a0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x523124
mov esi, 0x558d60
mov edi, 0x55ada0
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x559c60
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x523128
mov esi, 0x559960
mov edi, 0x55b160
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x55cae0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x52312c
mov esi, 0x559660
mov edi, 0x55a9e0
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x55a4a0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x523130
mov esi, 0x55bd60
mov edi, 0x5588e0
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x558820
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x523134
mov esi, 0x55a560
mov edi, 0x55a260
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x55c360
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x523138
mov esi, 0x5591e0
mov edi, 0x55a860
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x55a3e0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x52313c
mov esi, 0x55c060
mov edi, 0x559d20
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x55a1a0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x523140
mov esi, 0x55b8e0
mov edi, 0x55b760
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x55ca20
push 0x18
push 8
push ecx
mov esi, 0x558a60
mov edi, 0x55ac20
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x523144
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
push 0x5594e0
push 0x18
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x523148
mov esi, 0x55b460
mov edi, 0x559060
call fcn.0040db80
mov edx, esi
mov ecx, edi
call fcn.00426ee0
add esp, 0x10
call fcn.0042c690
push ebx
lea ecx, [ebx + 0x94]
add byte [eax], al
add byte [ecx - 0x75], dl
mov ebp, dword [esp + eax]
add byte [ecx - 0x75], dl
mov esi, dword [eax + 4]
add byte [eax], al