Function at 0x4306a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44504d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa08
push ebx
push ebp
push esi
mov dword [esp + 0x14], ecx
push edi
add ecx, 8
call fcn.0040cea0
mov ebp, dword [esp + 0xa28]
xor ebx, ebx
push eax
push ebx
push str.BUTTONS
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esp + 0xa4], eax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x229]
mov byte [esp + 0x228], bl
mov byte [esp + 0x1ac], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x1ad]
mov byte [esp + 0x428], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0x429]
mov byte [esp + 0x810], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x811]
mov byte [esp + 0x914], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x915]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 8
stosb byte es:[edi], al
call esi
push 0x11
call esi
mov esi, 0x4471a0
mov edi, 0x447198
push ebx
lea ecx, [esp + 0x104]
mov dword [esp + 0x104], esi
mov dword [esp + 0x124], edi
call fcn.00435ed0
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x108]
mov dword [esp + 0xa24], ebx
mov byte [esp + 0x108], al
call fcn.00415b54
lea ecx, [esp + 0x114]
mov byte [esp + 0xa20], 1
call fcn.00435ec0
push ebx
lea ecx, [esp + 0x124]
mov byte [esp + 0xa24], 2
call fcn.00435f20
lea ecx, [esp + 0x100]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x100]
mov byte [esp + 0xa20], 4
test edx, edx
je 0x430832
cmp ebp, ebx
je 0x43081b
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x447198
jmp 0x43081d
xor ecx, ecx
lea eax, [esp + 0x13]
push 1
push eax
push ecx
push ebp
lea ecx, [esp + 0x110]
call fcn.004354d0
mov ecx, dword [esp + 0x100]
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x100]
mov eax, dword [esp + edx + 0x100]
push eax
call ebp
push ebx
lea ecx, [esp + 0x158]
mov dword [esp + 0xa24], 5
mov dword [esp + 0x158], esi
mov dword [esp + 0x178], edi
call fcn.00435ed0
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x15c], cl
lea ecx, [esp + 0x15c]
mov byte [esp + 0xa24], 6
call fcn.00415b54
lea ecx, [esp + 0x168]
mov byte [esp + 0xa20], 7
call fcn.00435ec0
push ebx
lea ecx, [esp + 0x178]
mov byte [esp + 0xa24], 8
call fcn.00435f20
push ebx
lea ecx, [esp + 0x180]
mov byte [esp + 0xa24], 9
mov dword [esp + 0x180], esi
mov dword [esp + 0x1a0], edi
call fcn.00435ed0
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x184]
mov byte [esp + 0xa24], 0xa
mov byte [esp + 0x184], dl
call fcn.00415b54
lea ecx, [esp + 0x190]
mov byte [esp + 0xa20], 0xb
call fcn.00435ec0
push ebx
lea ecx, [esp + 0x1a0]
mov byte [esp + 0xa24], 0xc
call fcn.00435f20
push 0x451780
mov byte [esp + 0xa24], 0xd
call fcn.00420bc8
add esp, 4
lea ecx, [esp + 0x104]
push eax
push ebx
push 0x451780
call fcn.004358b0
mov edi, eax
mov eax, dword [0x447178]
cmp edi, eax
je 0x430abe
push edi
lea eax, [esp + 0x40]
push ebx
push eax
lea ecx, [esp + 0x10c]
call fcn.00434460
cmp eax, ebx
mov byte [esp + 0xa20], 0xe
je 0x430989
add eax, 4
jmp 0x43098b
xor eax, eax
mov ecx, dword [0x447178]
push ecx
push ebx
push eax
lea ecx, [esp + 0x18c]
call fcn.00415e1c
lea eax, [esp + 0x3c]
lea edx, [esp + 0x5c]
neg eax
sbb eax, eax
mov byte [esp + 0xa20], 0xd
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x3c]
neg esi
sbb esi, esi
lea edx, [esp + 0x50]
and esi, edx
mov eax, dword [esi]
push eax
call fcn.00420754
mov eax, dword [esi + 8]
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00415b54
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x3c]
lea eax, [esp + ecx + 0x3c]
push edx
call ebp
mov eax, dword [0x447178]
lea ecx, [esp + 0x3c]
push eax
push edi
push ecx
lea ecx, [esp + 0x10c]
call fcn.00434460
cmp eax, ebx
mov byte [esp + 0xa20], 0xf
je 0x430a38
add eax, 4
jmp 0x430a3a
xor eax, eax
mov edx, dword [0x447178]
lea ecx, [esp + 0x158]
push edx
push ebx
push eax
call fcn.00415e1c
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x5c]
neg eax
sbb eax, eax
mov byte [esp + 0xa20], 0xd
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x3c]
neg esi
sbb esi, esi
lea eax, [esp + 0x50]
and esi, eax
mov eax, dword [esi]
push eax
call fcn.00420754
mov ecx, dword [esi + 8]
add esp, 4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00415b54
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x3c]
lea eax, [esp + ecx + 0x3c]
push edx
call ebp
lea esi, [esp + 0x17c]
lea eax, [esp + 0x180]
neg esi
sbb esi, esi
push 0x451714
and esi, eax
call fcn.00420bc8
mov ecx, dword [esi + 8]
add esp, 4
push eax
push 0x451714
push ecx
push ebx
mov ecx, esi
call fcn.0043d190
mov edi, dword [esp + 0xa2c]
cmp eax, ebx
je 0x430dd5
lea esi, [esp + 0x100]
lea edx, [esp + 0x104]
neg esi
sbb esi, esi
push 0x451714
and esi, edx
call fcn.00420bc8
add esp, 4
mov ecx, esi
push eax
mov eax, dword [esi + 8]
push 0x451714
push eax
push ebx
call fcn.0043d190
cmp eax, ebx
je 0x430dd5
cmp dword [esp + 0x160], ebx
je 0x430c09
lea ecx, [esp + 0x154]
lea edx, [esp + 0x3c]
push ecx
push 0x451714
push edx
call fcn.0043cbc0
add esp, 0xc
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x20]
add ecx, 0x54
push eax
mov byte [esp + 0xa28], 0x10
call fcn.00436b20
lea eax, [esp + 0x3c]
lea edx, [esp + 0x5c]
neg eax
sbb eax, eax
mov byte [esp + 0xa20], 0xd
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x3c]
neg esi
sbb esi, esi
lea edx, [esp + 0x50]
and esi, edx
mov eax, dword [esi]
push eax
call fcn.00420754
mov eax, dword [esi + 8]
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00415b54
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x3c]
lea eax, [esp + ecx + 0x3c]
push edx
call ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x58]
cmp ecx, eax
je 0x430c09
mov ecx, dword [ecx + 0x34]
cmp ecx, ebx
mov dword [esp + 0x28], ecx
jne 0x430d3d
push ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x4471a0
mov dword [esp + 0x9c], 0x447198
call fcn.00435ed0
mov ecx, 0x451714
mov byte [esp + 0xa20], 0x11
test ecx, ecx
mov eax, ecx
jne 0x430c3e
mov eax, 0x451a54
lea edx, [esp + 0x13]
lea ecx, [esp + 0x7c]
push edx
push eax
call fcn.004357e0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xa24], 0x13
call fcn.00435f20
lea eax, [esp + 0x14]
lea ecx, [esp + 0x78]
push eax
push ecx
lea ecx, [esp + 0x130]
mov byte [esp + 0xa28], 0x14
mov dword [esp + 0x1c], ebx
call fcn.00436c20
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
mov byte [esp + 0xa24], 0x15
push edx
lea ecx, [eax + 0x54]
call fcn.004369b0
mov esi, dword [eax]
lea ecx, [esp + 0x128]
call fcn.0040e0a8
mov ecx, dword [esi + 0x34]
lea eax, [esp + 0x78]
neg eax
sbb eax, eax
lea edx, [esp + 0x98]
and eax, edx
mov dword [esp + 0x28], ecx
mov byte [esp + 0xa20], 0xd
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x78]
neg esi
sbb esi, esi
lea edx, [esp + 0x8c]
and esi, edx
mov eax, dword [esi]
push eax
call fcn.00420754
mov eax, dword [esi + 8]
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x7c]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00415b54
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x78]
lea eax, [esp + ecx + 0x78]
push edx
call ebp
mov esi, dword [esp + 0x28]
cmp dword [esi + 0x1c0], ebx
jne 0x430d90
lea ebp, [esi + 0x158]
cmp ebp, ebx
je 0x430d5b
lea ecx, [esi + 0x15c]
jmp 0x430d5d
xor ecx, ecx
push 0x451714
call fcn.0043d120
test eax, eax
je 0x430d90
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x54], esp
push 1
push ebp
call fcn.00416282
mov ecx, dword [esi + 0x14c]
call fcn.0042e780
mov ecx, eax
call fcn.00433fd0
jmp 0x430d96
lea eax, [esi + 0x1b4]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x1a4]
push ecx
push edx
mov ecx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00435dd0
mov esi, dword [eax]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00435dd0
mov eax, dword [eax]
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00435dd0
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
add ecx, 4
call fcn.0040cea0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x810]
push eax
push edx
call esi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00435dd0
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
add ecx, 0x2c
call fcn.0040cea0
lea edx, [esp + 0x914]
push eax
push edx
call esi
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
call fcn.00435f00
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, edi
call fcn.00435dd0
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x68]
lea eax, [esp + 0x20]
mov dword [esp + 0xb0], ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
call fcn.00435f00
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
call fcn.00435dd0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 0x5c]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
call fcn.00435f00
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.00435dd0
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
lea eax, [esp + 0x14]
push eax
mov edx, dword [ecx + 0x60]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0xd4], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
call fcn.00435f00
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, edi
call fcn.00435dd0
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x64]
mov eax, 1
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0xa4]
cmp ecx, eax
mov dword [esp + 0x28], eax
jl 0x431e76
lea edx, [esp + 0xd4]
lea eax, [esp + 0x78]
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x34], eax
push 0x74
call fcn.00420be5
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebx
mov byte [esp + 0xa20], 0x16
je 0x430f8b
lea ecx, [esp + 0x67]
push 1
push ecx
lea ecx, [esi + 4]
call fcn.004362b0
lea edx, [esp + 0x69]
push 1
push edx
lea ecx, [esi + 0x2c]
mov byte [esp + 0xa28], 0x17
call fcn.004362b0
jmp 0x430f8d
xor esi, esi
lea eax, [esp + 0x228]
push str.BUTTON
push eax
mov byte [esp + 0xa28], 0xd
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x428]
push 0xa
push ecx
push edx
call fcn.004279a3
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0xc
push eax
lea eax, [esp + 0x22c]
push eax
call ebp
mov ecx, dword [esp + 0x18]
lea edi, [ecx + 8]
mov ecx, edi
call fcn.0040cea0
push eax
mov eax, dword [esp + 0xa2c]
lea edx, [esp + 0x22c]
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x228]
lea edx, [esp + 0x1ac]
push ecx
push edx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x1ac]
push 0x45183c
push eax
call ebp
lea edx, [esp + 0xb0]
push 0x104
lea ecx, [esi + 4]
push edx
call fcn.0041f5b0
mov ebp, eax
mov ecx, dword [ebp]
mov byte [esp + 0xa20], 0x18
call fcn.0040cea0
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [ebp + 8], eax
call fcn.0040cea0
mov edx, dword [esp + 0xa28]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea ecx, [esp + 0x1b8]
push 0x451a40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0xb4]
mov byte [esp + 0xa20], 0xd
cmp al, bl
je 0x43109b
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 0x1c]
push eax
call fcn.004042b4
cmp dword [esp + 0xb8], ebx
je 0x431116
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xb8]
lea ecx, [esp + 0x6b]
push 1
push ecx
push edx
lea ecx, [esp + 0x2c0]
mov ebp, eax
call fcn.0040cb18
mov edx, dword [0x4465b0]
lea eax, [esp + 0x2b4]
neg eax
sbb eax, eax
lea ecx, [esp + 0x2b8]
and eax, ecx
push edx
push ebx
push eax
mov eax, dword [esp + 0xbc]
mov byte [esp + 0xa2c], 0x19
lea ecx, [eax + 4]
call fcn.0040439f
lea ecx, [esp + 0x2b4]
mov byte [esp + 0xa20], 0xd
call fcn.0040e0a8
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ebp, [esi + 4]
cmp ebp, ebx
je 0x431122
add ebp, 4
jmp 0x431124
xor ebp, ebp
lea ecx, [esp + 0x70]
push 1
push ecx
push 0x451a54
lea ecx, [esp + 0x360]
call fcn.004365b0
push ebp
lea ecx, [eax + 4]
mov byte [esp + 0xa24], 0x1a
call fcn.00403fe6
test eax, eax
lea ecx, [esp + 0x354]
mov byte [esp + 0xa20], 0xd
sete byte [esp + 0x13]
call fcn.0040e0a8
cmp byte [esp + 0x13], bl
je 0x4311c1
lea edx, [esp + 0x72]
push 1
lea eax, [esp + 0x814]
push edx
push eax
lea ecx, [esp + 0x338]
call fcn.00436830
cmp eax, ebx
mov byte [esp + 0xa20], 0x1b
je 0x43119a
add eax, 4
jmp 0x43119c
xor eax, eax
mov ecx, dword [0x4465b0]
push ecx
push ebx
push eax
lea ecx, [esi + 8]
call fcn.0040439f
lea ecx, [esp + 0x32c]
mov byte [esp + 0xa20], 0xd
call fcn.0040e0a8
lea edx, [esp + 0x228]
lea eax, [esp + 0x1ac]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x1ac]
push str.DOWN
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0xbc]
push 0x104
lea ecx, [esi + 0x2c]
push edx
call fcn.0041f5b0
mov ebp, eax
mov ecx, dword [ebp]
mov byte [esp + 0xa20], 0x1c
call fcn.0040cea0
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [ebp + 8], eax
call fcn.0040cea0
mov edx, dword [esp + 0xa28]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea ecx, [esp + 0x1b8]
push 0x451a40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0xc0]
mov byte [esp + 0xa20], 0xd
cmp al, bl
je 0x431268
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 0x1c]
push eax
call fcn.004042b4
cmp dword [esp + 0xc4], ebx
je 0x4312e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x74]
push 1
push ecx
push edx
lea ecx, [esp + 0x298]
mov ebp, eax
call fcn.0040cb18
mov edx, dword [0x4465b0]
lea eax, [esp + 0x28c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x290]
and eax, ecx
push edx
push ebx
push eax
mov eax, dword [esp + 0xc8]
mov byte [esp + 0xa2c], 0x1d
lea ecx, [eax + 4]
call fcn.0040439f
lea ecx, [esp + 0x28c]
mov byte [esp + 0xa20], 0xd
call fcn.0040e0a8
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ebp, [esi + 0x2c]
cmp ebp, ebx
je 0x4312ef
add ebp, 4
jmp 0x4312f1
xor ebp, ebp
lea ecx, [esp + 0x77]
push 1
push ecx
push 0x451a54
lea ecx, [esp + 0x310]
call fcn.004365b0
push ebp
lea ecx, [eax + 4]
mov byte [esp + 0xa24], 0x1e
call fcn.00403fe6
test eax, eax
lea ecx, [esp + 0x304]
mov byte [esp + 0xa20], 0xd
sete byte [esp + 0x13]
call fcn.0040e0a8
cmp byte [esp + 0x13], bl
je 0x43138e
lea edx, [esp + 0x76]
push 1
lea eax, [esp + 0x918]
push edx
push eax
lea ecx, [esp + 0x388]
call fcn.00436830
cmp eax, ebx
mov byte [esp + 0xa20], 0x1f
je 0x431367
add eax, 4
jmp 0x431369
xor eax, eax
mov ecx, dword [0x4465b0]
push ecx
push ebx
push eax
lea ecx, [esi + 0x30]
call fcn.0040439f
lea ecx, [esp + 0x37c]
mov byte [esp + 0xa20], 0xd
call fcn.0040e0a8
lea edx, [esp + 0x228]
lea eax, [esp + 0x1ac]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x1ac]
push 0x45178c
push ecx
call ebp
mov ecx, edi
call fcn.0040cea0
mov ecx, dword [esp + 0xa28]
push eax
lea edx, [esp + 0x42c]
push 0x3e8
push edx
lea eax, [esp + 0x1b8]
push 0x451a40
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x428]
push 0x451a40
push edx
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x43143c
lea eax, [esi + 0x58]
lea edx, [esp + 0x428]
push eax
lea eax, [esi + 0x54]
push eax
lea eax, [esp + 0x7b]
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x5c], esp
push 1
push eax
push edx
call fcn.004342d0
mov ecx, dword [esp + 0x48]
call fcn.00431f40
lea eax, [esp + 0x228]
lea ecx, [esp + 0x1ac]
push eax
push ecx
mov dword [esi + 0x68], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x1ac]
push 0x4517b0
push edx
call ebp
mov ecx, edi
call fcn.0040cea0
mov edx, dword [esp + 0xa28]
push eax
lea eax, [esp + 0x42c]
push 0x3e8
push eax
lea ecx, [esp + 0x1b8]
push 0x451a40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x428]
push 0x451a40
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4314b7
mov ecx, dword [esp + 0xac]
mov dword [esi + 0x68], ecx
jmp 0x4314e7
lea eax, [esi + 0x68]
lea edx, [esp + 0x66]
push eax
sub esp, 0x28
mov dword [eax], 2
mov ecx, esp
mov dword [esp + 0x58], esp
push 1
lea eax, [esp + 0x458]
push edx
push eax
call fcn.004342d0
mov ecx, dword [esp + 0x44]
call fcn.00432580
lea ecx, [esp + 0x228]
lea edx, [esp + 0x1ac]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x1ac]
push str.TRNSPRNTCLR
push eax
call ebp
mov ecx, edi
call fcn.0040cea0
push eax
mov eax, dword [esp + 0xa2c]
lea ecx, [esp + 0x42c]
push 0x3e8
push ecx
lea edx, [esp + 0x1b8]
push 0x451a40
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x428]
push 0x451a40
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x43155f
mov edx, dword [esp + 0xd0]
mov dword [esi + 0x5c], edx
jmp 0x431592
lea eax, [esi + 0x5c]
lea edx, [esp + 0x428]
push eax
sub esp, 0x28
mov dword [eax], 0x808080
mov ecx, esp
mov dword [esp + 0x58], esp
lea eax, [esp + 0xa1]
push 1
push eax
push edx
call fcn.004342d0
mov ecx, dword [esp + 0x44]
call fcn.004321d0
lea eax, [esp + 0x228]
lea ecx, [esp + 0x1ac]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x1ac]
push str.TXTCLR
push edx
call ebp
mov ecx, edi
call fcn.0040cea0
mov edx, dword [esp + 0xa28]
push eax
lea eax, [esp + 0x42c]
push 0x3e8
push eax
lea ecx, [esp + 0x1b8]
push 0x451a40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x428]
push 0x451a40
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x43160a
mov ecx, dword [esp + 0xcc]
mov dword [esi + 0x60], ecx
jmp 0x43163e
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
lea ecx, [esi + 0x60]
lea edx, [esp + 0x68]
push ecx
sub esp, 0x28
mov dword [ecx], eax
mov ecx, esp
mov dword [esp + 0x58], esp
push 1
lea eax, [esp + 0x458]
push edx
push eax
call fcn.004342d0
mov ecx, dword [esp + 0x44]
call fcn.004321d0
lea ecx, [esp + 0x228]
lea edx, [esp + 0x1ac]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x1ac]
push str.DISTXTCLR
push eax
call ebp
mov ecx, edi
call fcn.0040cea0
push eax
mov eax, dword [esp + 0xa2c]
lea ecx, [esp + 0x42c]
push 0x3e8
push ecx
lea edx, [esp + 0x1b8]
push 0x451a40
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x428]
push 0x451a40
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4316b6
mov edx, dword [esp + 0xc8]
mov dword [esi + 0x64], edx
jmp 0x4316ed
push 0x11
lea edi, [esi + 0x64]
call dword [sym.imp.USER32.dll_GetSysColor]
push edi
mov dword [edi], eax
sub esp, 0x28
lea eax, [esp + 0x9d]
mov ecx, esp
mov dword [esp + 0x58], esp
push 1
lea edx, [esp + 0x458]
push eax
push edx
call fcn.004342d0
mov ecx, dword [esp + 0x44]
call fcn.004321d0
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x428]
push eax
push 0x4517a0
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp eax, ebx
mov edi, 0x4465c4
je 0x431715
mov edi, eax
mov ebp, 0x447198
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0x4471a0
mov dword [esp + 0x60], ebp
call fcn.00435ed0
cmp edi, ebx
mov byte [esp + 0xa20], 0x20
mov eax, edi
jne 0x431743
mov eax, 0x451a54
lea edx, [esp + 0x6a]
lea ecx, [esp + 0x40]
push edx
push eax
call fcn.004357e0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
push ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0xa24], 0x22
call fcn.00435f20
push ebx
lea ecx, [esp + 0xd8]
mov byte [esp + 0xa24], 0x23
mov dword [esp + 0xd8], 0x4471a0
mov dword [esp + 0xf8], ebp
call fcn.00435ed0
lea eax, [esp + 0x64]
lea ecx, [esp + 0xd8]
push eax
mov byte [esp + 0xa24], 0x24
call fcn.004380e0
lea ecx, [esp + 0xe8]
mov byte [esp + 0xa20], 0x25
call fcn.00435ec0
push ebx
lea ecx, [esp + 0xf8]
mov byte [esp + 0xa24], 0x26
call fcn.00435f20
lea ecx, [esp + 0xd4]
mov byte [esp + 0xa20], 0x28
test ecx, ecx
je 0x431828
lea edx, [esp + 0x428]
test edx, edx
je 0x43180a
lea edi, [esp + 0x428]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x43180c
xor ecx, ecx
lea eax, [esp + 0x6c]
push 1
push eax
push ecx
lea ecx, [esp + 0x434]
push ecx
lea ecx, [esp + 0xe4]
call fcn.004354d0
mov edx, dword [esp + 0xd4]
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0xd4]
lea eax, [esp + eax + 0xd4]
push ecx
call ebp
mov ecx, dword [0x447178]
lea eax, [esp + 0xd4]
neg eax
sbb eax, eax
lea edx, [esp + 0xd8]
and eax, edx
push ecx
push ebx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa2c], 0x29
call fcn.0041635a
lea eax, [esp + 0xd4]
lea edx, [esp + 0xf4]
neg eax
sbb eax, eax
mov byte [esp + 0xa20], 0x23
and eax, edx
mov ecx, dword [eax]
mov edi, dword [ecx + 4]
add edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0xd4]
lea edx, [esp + 0xe8]
neg ecx
sbb ecx, ecx
mov dword [edi], eax
and ecx, edx
call fcn.0041a455
lea ecx, [esp + 0xd4]
lea eax, [esp + 0xd8]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
call fcn.00415b54
mov ecx, dword [esp + 0xd4]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0xd4]
mov eax, dword [esp + edx + 0xd4]
push eax
call ebp
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [ebp + 0x40]
call fcn.00436680
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x431b7f
push 0xc
call fcn.00420be5
mov ebp, eax
add esp, 4
mov dword [esp + 0x2c], ebp
cmp ebp, ebx
mov byte [esp + 0xa20], 0x2a
je 0x431991
push 0x30
call fcn.00420be5
mov edi, eax
mov ecx, 0xc
xor eax, eax
mov dword [ebp], edi
rep stosd dword es:[edi], eax
push 0x48
call fcn.00420be5
mov edi, eax
mov ecx, 0x12
xor eax, eax
mov dword [ebp + 4], edi
rep stosd dword es:[edi], eax
push 0x18
call fcn.00420be5
add esp, 0xc
cmp eax, ebx
je 0x431981
mov ecx, eax
call fcn.0042f930
mov edi, eax
mov ecx, 6
xor eax, eax
mov dword [ebp + 8], edi
rep stosd dword es:[edi], eax
jmp 0x431993
xor edi, edi
mov ecx, 6
xor eax, eax
mov dword [ebp + 8], edi
rep stosd dword es:[edi], eax
jmp 0x431993
xor ebp, ebp
mov dword [esi + 0x6c], ebp
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov byte [esp + 0xa20], 0x23
mov edi, 0x4465c4
je 0x4319ac
mov edi, eax
push ebx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x12c], 0x4465bc
mov dword [esp + 0x14c], 0x4465b4
call fcn.00435ed0
cmp edi, ebx
mov byte [esp + 0xa20], 0x2b
mov eax, edi
jne 0x4319e2
mov eax, 0x451a54
lea ecx, [esp + 0x6d]
push ecx
push eax
lea ecx, [esp + 0x134]
call fcn.00435a50
lea ecx, [esp + 0x13c]
mov byte [esp + 0xa20], 0x2c
call fcn.00435ec0
push ebx
lea ecx, [esp + 0x14c]
mov byte [esp + 0xa24], 0x2d
call fcn.00435f20
lea edx, [esp + 0x14]
lea eax, [esp + 0x128]
push edx
push eax
lea ecx, [esp + 0x3d8]
mov byte [esp + 0xa28], 0x2e
mov dword [esp + 0x1c], ebx
call fcn.00436310
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x210]
push eax
push ecx
lea ecx, [edx + 0x30]
mov byte [esp + 0xa28], 0x2f
call fcn.00436180
mov edi, dword [eax]
lea ecx, [esp + 0x3d0]
mov byte [esp + 0xa20], 0x2e
call fcn.0040e0a8
mov ebp, dword [edi + 0x34]
lea eax, [esp + 0x128]
lea ecx, [esp + 0x148]
neg eax
sbb eax, eax
mov byte [esp + 0xa20], 0x31
and eax, ecx
mov edx, dword [eax]
mov edi, dword [edx + 4]
add edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x128]
mov dword [edi], eax
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x13c]
and ecx, eax
call fcn.0041a455
lea ecx, [esp + 0x128]
lea edx, [esp + 0x12c]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
mov byte [esp + 0xa24], 0x30
mov dword [esp + 0x24], ecx
call fcn.00415b54
mov eax, dword [esp + 0x128]
mov byte [esp + 0xa20], 0x23
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x128]
lea eax, [esp + ecx + 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push eax
lea eax, [esi + 4]
push ecx
push eax
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x5c]
push eax
mov ecx, dword [esi + 0x6c]
call fcn.0042dec0
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x404]
mov dword [esp + 0x1c], ebx
call fcn.00436780
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x218]
push eax
push ecx
lea ecx, [edx + 0x40]
mov byte [esp + 0xa28], 0x32
call fcn.00436470
mov edi, dword [eax]
lea ecx, [esp + 0x3fc]
mov byte [esp + 0xa20], 0x23
call fcn.0040e0a8
mov eax, dword [esi + 0x6c]
mov ebp, dword [esp + 0x18]
mov dword [edi + 0x34], eax
jmp 0x431b85
mov ecx, dword [ecx + 0x34]
mov dword [esi + 0x6c], ecx
mov edx, dword [esi + 0x68]
lea eax, [esp + 0x428]
push edx
push 0x4517a0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0x34]
add esp, 0xc
cmp eax, ebx
jne 0x431baf
mov eax, 0x4465c4
cmp eax, ebx
je 0x431bb3
mov edi, eax
jmp 0x431bb8
mov edi, 0x451a54
push edi
call fcn.00420bc8
add esp, 4
lea ecx, [esp + 0x40]
push eax
push edi
call fcn.00416088
push ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x4471a0
mov dword [esp + 0x9c], 0x447198
call fcn.00435ed0
lea ecx, [esp + 0x6e]
mov byte [esp + 0xa20], 0x33
push ecx
lea ecx, [esp + 0x80]
call fcn.004380e0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa20], 0x34
call fcn.00435ec0
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xa24], 0x35
call fcn.00435f20
lea edx, [esp + 0x78]
mov byte [esp + 0xa20], 0x37
test edx, edx
je 0x431c77
lea eax, [esp + 0x428]
test eax, eax
je 0x431c59
lea edi, [esp + 0x428]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x431c5b
xor ecx, ecx
lea edx, [esp + 0x6f]
push 1
push edx
lea eax, [esp + 0x430]
push ecx
push eax
lea ecx, [esp + 0x88]
call fcn.004354d0
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x78]
mov eax, dword [esp + edx + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [0x447178]
lea eax, [esp + 0x78]
neg eax
sbb eax, eax
lea ecx, [esp + 0x7c]
and eax, ecx
push edx
push ebx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa2c], 0x38
call fcn.0041635a
lea eax, [esp + 0x78]
lea ecx, [esp + 0x98]
neg eax
sbb eax, eax
mov byte [esp + 0xa20], 0x23
and eax, ecx
mov edx, dword [eax]
mov edi, dword [edx + 4]
add edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x78]
mov dword [edi], eax
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x8c]
and ecx, eax
call fcn.0041a455
lea ecx, [esp + 0x78]
lea edx, [esp + 0x7c]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00415b54
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x78]
lea eax, [esp + ecx + 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0xa8]
push eax
push ecx
lea ecx, [ebp + 0x40]
mov dword [esp + 0x34], ecx
call fcn.00436680
mov eax, dword [esp + 0xa8]
mov ecx, dword [ebp + 0x44]
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x431e38
push 0xc
call fcn.00420be5
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0xa20], 0x39
je 0x431d70
mov ecx, eax
call fcn.00431ec0
jmp 0x431d72
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
mov byte [esp + 0xa20], 0x23
jne 0x431d89
mov eax, 0x4465c4
lea edx, [esp + 0x65]
push 1
push edx
push eax
lea ecx, [esp + 0x2e8]
call fcn.00403f62
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2dc]
push eax
push ecx
lea ecx, [esp + 0x3ac]
mov byte [esp + 0xa28], 0x3a
mov dword [esp + 0x1c], ebx
call fcn.00436310
lea edx, [esp + 0x220]
push eax
push edx
lea ecx, [ebp + 0x30]
mov byte [esp + 0xa28], 0x3b
call fcn.00436180
mov edi, dword [eax]
lea ecx, [esp + 0x3a4]
mov byte [esp + 0xa20], 0x3a
call fcn.0040e0a8
mov edi, dword [edi + 0x34]
lea ecx, [esp + 0x2dc]
mov byte [esp + 0xa20], 0x23
call fcn.0040e0a8
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
lea eax, [esi + 0x2c]
push ecx
mov ecx, dword [esi + 0x70]
push eax
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x5c]
push eax
call fcn.0042dec0
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push edx
call fcn.00435010
mov ecx, dword [esi + 0x70]
mov dword [eax], ecx
jmp 0x431e3e
mov edx, dword [eax + 0x34]
mov dword [esi + 0x70], edx
mov ecx, dword [esp + 0xa2c]
push esi
call fcn.00434b60
lea ecx, [esp + 0x3c]
mov dword [eax], esi
mov byte [esp + 0xa20], 0xd
call fcn.0040e0a8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xa4]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jle 0x430f47
lea ecx, [esp + 0x17c]
call fcn.0040e0a8
lea ecx, [esp + 0x154]
call fcn.0040e0a8
lea ecx, [esp + 0x100]
call fcn.0040e0a8
mov ecx, dword [esp + 0xa18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa14
ret 8