Function at 0x457df0
Capabilities:
Contain obfuscated stackstrings
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48a12d
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.0042faed
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, 0x48b670
mov edi, 0x48b668
push ebx
lea ecx, [esp + 0x104]
mov dword [esp + 0x104], esi
mov dword [esp + 0x124], edi
call fcn.0045cdb0
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x108]
mov dword [esp + 0xa24], ebx
mov byte [esp + 0x108], al
call fcn.00401245
lea ecx, [esp + 0x114]
mov byte [esp + 0xa20], 1
call fcn.0045cda0
push ebx
lea ecx, [esp + 0x124]
mov byte [esp + 0xa24], 2
call fcn.0045cde0
lea ecx, [esp + 0x100]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x100]
mov byte [esp + 0xa20], 4
test edx, edx
je 0x457f82
cmp ebp, ebx
je 0x457f6b
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x48b668
jmp 0x457f6d
xor ecx, ecx
lea eax, [esp + 0x13]
push 1
push eax
push ecx
push ebp
lea ecx, [esp + 0x110]
call fcn.0045ce10
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.0045cdb0
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x15c], cl
lea ecx, [esp + 0x15c]
mov byte [esp + 0xa24], 6
call fcn.00401245
lea ecx, [esp + 0x168]
mov byte [esp + 0xa20], 7
call fcn.0045cda0
push ebx
lea ecx, [esp + 0x178]
mov byte [esp + 0xa24], 8
call fcn.0045cde0
push ebx
lea ecx, [esp + 0x180]
mov byte [esp + 0xa24], 9
mov dword [esp + 0x180], esi
mov dword [esp + 0x1a0], edi
call fcn.0045cdb0
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x184]
mov byte [esp + 0xa24], 0xa
mov byte [esp + 0x184], dl
call fcn.00401245
lea ecx, [esp + 0x190]
mov byte [esp + 0xa20], 0xb
call fcn.0045cda0
push ebx
lea ecx, [esp + 0x1a0]
mov byte [esp + 0xa24], 0xc
call fcn.0045cde0
push 0x4a62bc
mov byte [esp + 0xa24], 0xd
call fcn.00467494
add esp, 4
lea ecx, [esp + 0x104]
push eax
push ebx
push 0x4a62bc
call fcn.00413927
mov edi, eax
mov eax, dword [0x48b680]
cmp edi, eax
je 0x45820e
push edi
lea eax, [esp + 0x40]
push ebx
push eax
lea ecx, [esp + 0x10c]
call fcn.0045bbc0
cmp eax, ebx
mov byte [esp + 0xa20], 0xe
je 0x4580d9
add eax, 4
jmp 0x4580db
xor eax, eax
mov ecx, dword [0x48b680]
push ecx
push ebx
push eax
lea ecx, [esp + 0x18c]
call fcn.00401e1a
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.00439080
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.00401245
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 [0x48b680]
lea ecx, [esp + 0x3c]
push eax
push edi
push ecx
lea ecx, [esp + 0x10c]
call fcn.0045bbc0
cmp eax, ebx
mov byte [esp + 0xa20], 0xf
je 0x458188
add eax, 4
jmp 0x45818a
xor eax, eax
mov edx, dword [0x48b680]
lea ecx, [esp + 0x158]
push edx
push ebx
push eax
call fcn.00401e1a
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.00439080
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.00401245
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 0x4a072c
and esi, eax
call fcn.00467494
mov ecx, dword [esi + 8]
add esp, 4
push eax
push 0x4a072c
push ecx
push ebx
mov ecx, esi
call fcn.004254af
mov edi, dword [esp + 0xa2c]
cmp eax, ebx
je 0x458525
lea esi, [esp + 0x100]
lea edx, [esp + 0x104]
neg esi
sbb esi, esi
push 0x4a072c
and esi, edx
call fcn.00467494
add esp, 4
mov ecx, esi
push eax
mov eax, dword [esi + 8]
push 0x4a072c
push eax
push ebx
call fcn.004254af
cmp eax, ebx
je 0x458525
cmp dword [esp + 0x160], ebx
je 0x458359
lea ecx, [esp + 0x154]
lea edx, [esp + 0x3c]
push ecx
push 0x4a072c
push edx
call fcn.00464770
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.0045f600
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.00439080
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.00401245
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 0x458359
mov ecx, dword [ecx + 0x34]
cmp ecx, ebx
mov dword [esp + 0x28], ecx
jne 0x45848d
push ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x48b670
mov dword [esp + 0x9c], 0x48b668
call fcn.0045cdb0
mov ecx, 0x4a072c
mov byte [esp + 0xa20], 0x11
test ecx, ecx
mov eax, ecx
jne 0x45838e
mov eax, 0x4aa140
lea edx, [esp + 0x13]
lea ecx, [esp + 0x7c]
push edx
push eax
call fcn.0045d140
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.0045cde0
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.0045f700
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
mov byte [esp + 0xa24], 0x15
push edx
lea ecx, [eax + 0x54]
call fcn.0045f4c0
mov esi, dword [eax]
lea ecx, [esp + 0x128]
call fcn.00401093
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.00439080
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.00401245
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 0x4584e0
lea ebp, [esi + 0x158]
cmp ebp, ebx
je 0x4584ab
lea ecx, [esi + 0x15c]
jmp 0x4584ad
xor ecx, ecx
push 0x4a072c
call fcn.00464de0
test eax, eax
je 0x4584e0
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x54], esp
push 1
push ebp
call fcn.00401d87
mov ecx, dword [esi + 0x14c]
call fcn.00455ed0
mov ecx, eax
call fcn.0045b730
jmp 0x4584e6
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.0045ead0
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.0045ead0
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.0045ead0
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
add ecx, 4
call fcn.0042faed
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.0045ead0
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
add ecx, 0x2c
call fcn.0042faed
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.0045ebd0
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, edi
call fcn.0045ead0
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.0045ebd0
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
call fcn.0045ead0
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.0045ebd0
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.0045ead0
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.0045ebd0
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, edi
call fcn.0045ead0
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 0x4595c6
lea edx, [esp + 0xd4]
lea eax, [esp + 0x78]
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x34], eax
push 0x74
call fcn.004675be
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebx
mov byte [esp + 0xa20], 0x16
je 0x4586db
lea ecx, [esp + 0x67]
push 1
push ecx
lea ecx, [esi + 4]
call fcn.0045d270
lea edx, [esp + 0x69]
push 1
push edx
lea ecx, [esi + 0x2c]
mov byte [esp + 0xa28], 0x17
call fcn.0045d270
jmp 0x4586dd
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.0046977a
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.0042faed
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 0x4a6378
push eax
call ebp
lea edx, [esp + 0xb0]
push 0x104
lea ecx, [esi + 4]
push edx
call fcn.0045d7a0
mov ebp, eax
mov ecx, dword [ebp]
mov byte [esp + 0xa20], 0x18
call fcn.0042faed
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [ebp + 8], eax
call fcn.0042faed
mov edx, dword [esp + 0xa28]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea ecx, [esp + 0x1b8]
push 0x4aa144
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 0x4587eb
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 0x1c]
push eax
call fcn.00403eb2
cmp dword [esp + 0xb8], ebx
je 0x458866
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.00402d70
mov edx, dword [0x48b6b0]
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.00405b19
lea ecx, [esp + 0x2b4]
mov byte [esp + 0xa20], 0xd
call fcn.00402438
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ebp, [esi + 4]
cmp ebp, ebx
je 0x458872
add ebp, 4
jmp 0x458874
xor ebp, ebp
lea ecx, [esp + 0x70]
push 1
push ecx
push 0x4aa140
lea ecx, [esp + 0x360]
call fcn.0045d340
push ebp
lea ecx, [eax + 4]
mov byte [esp + 0xa24], 0x1a
call fcn.0040a96b
test eax, eax
lea ecx, [esp + 0x354]
mov byte [esp + 0xa20], 0xd
sete byte [esp + 0x13]
call fcn.00402438
cmp byte [esp + 0x13], bl
je 0x458911
lea edx, [esp + 0x72]
push 1
lea eax, [esp + 0x814]
push edx
push eax
lea ecx, [esp + 0x338]
call fcn.0045d410
cmp eax, ebx
mov byte [esp + 0xa20], 0x1b
je 0x4588ea
add eax, 4
jmp 0x4588ec
xor eax, eax
mov ecx, dword [0x48b6b0]
push ecx
push ebx
push eax
lea ecx, [esi + 8]
call fcn.00405b19
lea ecx, [esp + 0x32c]
mov byte [esp + 0xa20], 0xd
call fcn.00402438
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.0045d7a0
mov ebp, eax
mov ecx, dword [ebp]
mov byte [esp + 0xa20], 0x1c
call fcn.0042faed
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [ebp + 8], eax
call fcn.0042faed
mov edx, dword [esp + 0xa28]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea ecx, [esp + 0x1b8]
push 0x4aa144
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 0x4589b8
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 0x1c]
push eax
call fcn.00403eb2
cmp dword [esp + 0xc4], ebx
je 0x458a33
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.00402d70
mov edx, dword [0x48b6b0]
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.00405b19
lea ecx, [esp + 0x28c]
mov byte [esp + 0xa20], 0xd
call fcn.00402438
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ebp, [esi + 0x2c]
cmp ebp, ebx
je 0x458a3f
add ebp, 4
jmp 0x458a41
xor ebp, ebp
lea ecx, [esp + 0x77]
push 1
push ecx
push 0x4aa140
lea ecx, [esp + 0x310]
call fcn.0045d340
push ebp
lea ecx, [eax + 4]
mov byte [esp + 0xa24], 0x1e
call fcn.0040a96b
test eax, eax
lea ecx, [esp + 0x304]
mov byte [esp + 0xa20], 0xd
sete byte [esp + 0x13]
call fcn.00402438
cmp byte [esp + 0x13], bl
je 0x458ade
lea edx, [esp + 0x76]
push 1
lea eax, [esp + 0x918]
push edx
push eax
lea ecx, [esp + 0x388]
call fcn.0045d410
cmp eax, ebx
mov byte [esp + 0xa20], 0x1f
je 0x458ab7
add eax, 4
jmp 0x458ab9
xor eax, eax
mov ecx, dword [0x48b6b0]
push ecx
push ebx
push eax
lea ecx, [esi + 0x30]
call fcn.00405b19
lea ecx, [esp + 0x37c]
mov byte [esp + 0xa20], 0xd
call fcn.00402438
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 0x4a62c8
push ecx
call ebp
mov ecx, edi
call fcn.0042faed
mov ecx, dword [esp + 0xa28]
push eax
lea edx, [esp + 0x42c]
push 0x3e8
push edx
lea eax, [esp + 0x1b8]
push 0x4aa144
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x428]
push 0x4aa144
push edx
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x458b8c
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.0045ba30
mov ecx, dword [esp + 0x48]
call fcn.00459690
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 0x4a62ec
push edx
call ebp
mov ecx, edi
call fcn.0042faed
mov edx, dword [esp + 0xa28]
push eax
lea eax, [esp + 0x42c]
push 0x3e8
push eax
lea ecx, [esp + 0x1b8]
push 0x4aa144
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x428]
push 0x4aa144
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x458c07
mov ecx, dword [esp + 0xac]
mov dword [esi + 0x68], ecx
jmp 0x458c37
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.0045ba30
mov ecx, dword [esp + 0x44]
call fcn.00459cd0
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.0042faed
push eax
mov eax, dword [esp + 0xa2c]
lea ecx, [esp + 0x42c]
push 0x3e8
push ecx
lea edx, [esp + 0x1b8]
push 0x4aa144
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x428]
push 0x4aa144
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x458caf
mov edx, dword [esp + 0xd0]
mov dword [esi + 0x5c], edx
jmp 0x458ce2
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.0045ba30
mov ecx, dword [esp + 0x44]
call fcn.00459920
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.0042faed
mov edx, dword [esp + 0xa28]
push eax
lea eax, [esp + 0x42c]
push 0x3e8
push eax
lea ecx, [esp + 0x1b8]
push 0x4aa144
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x428]
push 0x4aa144
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x458d5a
mov ecx, dword [esp + 0xcc]
mov dword [esi + 0x60], ecx
jmp 0x458d8e
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.0045ba30
mov ecx, dword [esp + 0x44]
call fcn.00459920
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.0042faed
push eax
mov eax, dword [esp + 0xa2c]
lea ecx, [esp + 0x42c]
push 0x3e8
push ecx
lea edx, [esp + 0x1b8]
push 0x4aa144
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x428]
push 0x4aa144
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x458e06
mov edx, dword [esp + 0xc8]
mov dword [esi + 0x64], edx
jmp 0x458e3d
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.0045ba30
mov ecx, dword [esp + 0x44]
call fcn.00459920
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x428]
push eax
push 0x4a62dc
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp eax, ebx
mov edi, 0x48b6d0
je 0x458e65
mov edi, eax
mov ebp, 0x48b668
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0x48b670
mov dword [esp + 0x60], ebp
call fcn.0045cdb0
cmp edi, ebx
mov byte [esp + 0xa20], 0x20
mov eax, edi
jne 0x458e93
mov eax, 0x4aa140
lea edx, [esp + 0x6a]
lea ecx, [esp + 0x40]
push edx
push eax
call fcn.0045d140
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.0045cde0
push ebx
lea ecx, [esp + 0xd8]
mov byte [esp + 0xa24], 0x23
mov dword [esp + 0xd8], 0x48b670
mov dword [esp + 0xf8], ebp
call fcn.0045cdb0
lea eax, [esp + 0x64]
lea ecx, [esp + 0xd8]
push eax
mov byte [esp + 0xa24], 0x24
call fcn.0045d000
lea ecx, [esp + 0xe8]
mov byte [esp + 0xa20], 0x25
call fcn.0045cda0
push ebx
lea ecx, [esp + 0xf8]
mov byte [esp + 0xa24], 0x26
call fcn.0045cde0
lea ecx, [esp + 0xd4]
mov byte [esp + 0xa20], 0x28
test ecx, ecx
je 0x458f78
lea edx, [esp + 0x428]
test edx, edx
je 0x458f5a
lea edi, [esp + 0x428]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x458f5c
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.0045ce10
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 [0x48b680]
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.0040c468
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.00402e22
lea ecx, [esp + 0xd4]
lea eax, [esp + 0xd8]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
call fcn.00401245
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.0045f310
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x4592cf
push 0xc
call fcn.004675be
mov ebp, eax
add esp, 4
mov dword [esp + 0x2c], ebp
cmp ebp, ebx
mov byte [esp + 0xa20], 0x2a
je 0x4590e1
push 0x30
call fcn.004675be
mov edi, eax
mov ecx, 0xc
xor eax, eax
mov dword [ebp], edi
rep stosd dword es:[edi], eax
push 0x48
call fcn.004675be
mov edi, eax
mov ecx, 0x12
xor eax, eax
mov dword [ebp + 4], edi
rep stosd dword es:[edi], eax
push 0x18
call fcn.004675be
add esp, 0xc
cmp eax, ebx
je 0x4590d1
mov ecx, eax
call fcn.00457080
mov edi, eax
mov ecx, 6
xor eax, eax
mov dword [ebp + 8], edi
rep stosd dword es:[edi], eax
jmp 0x4590e3
xor edi, edi
mov ecx, 6
xor eax, eax
mov dword [ebp + 8], edi
rep stosd dword es:[edi], eax
jmp 0x4590e3
xor ebp, ebp
mov dword [esi + 0x6c], ebp
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov byte [esp + 0xa20], 0x23
mov edi, 0x48b6d0
je 0x4590fc
mov edi, eax
push ebx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x12c], 0x48b6c8
mov dword [esp + 0x14c], 0x48b6c0
call fcn.0045cdb0
cmp edi, ebx
mov byte [esp + 0xa20], 0x2b
mov eax, edi
jne 0x459132
mov eax, 0x4aa140
lea ecx, [esp + 0x6d]
push ecx
push eax
lea ecx, [esp + 0x134]
call fcn.0045d6d0
lea ecx, [esp + 0x13c]
mov byte [esp + 0xa20], 0x2c
call fcn.0045cda0
push ebx
lea ecx, [esp + 0x14c]
mov byte [esp + 0xa24], 0x2d
call fcn.0045cde0
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.0045f120
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x210]
push eax
push ecx
lea ecx, [edx + 0x30]
mov byte [esp + 0xa28], 0x2f
call fcn.0045efe0
mov edi, dword [eax]
lea ecx, [esp + 0x3d0]
mov byte [esp + 0xa20], 0x2e
call fcn.00402438
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.00402e22
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.00403edb
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.00455440
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x404]
mov dword [esp + 0x1c], ebx
call fcn.0045f410
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x218]
push eax
push ecx
lea ecx, [edx + 0x40]
mov byte [esp + 0xa28], 0x32
call fcn.0045f1d0
mov edi, dword [eax]
lea ecx, [esp + 0x3fc]
mov byte [esp + 0xa20], 0x23
call fcn.00401093
mov eax, dword [esi + 0x6c]
mov ebp, dword [esp + 0x18]
mov dword [edi + 0x34], eax
jmp 0x4592d5
mov ecx, dword [ecx + 0x34]
mov dword [esi + 0x6c], ecx
mov edx, dword [esi + 0x68]
lea eax, [esp + 0x428]
push edx
push 0x4a62dc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0x34]
add esp, 0xc
cmp eax, ebx
jne 0x4592ff
mov eax, 0x48b6d0
cmp eax, ebx
je 0x459303
mov edi, eax
jmp 0x459308
mov edi, 0x4aa140
push edi
call fcn.00467494
add esp, 4
lea ecx, [esp + 0x40]
push eax
push edi
call fcn.00401282
push ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x48b670
mov dword [esp + 0x9c], 0x48b668
call fcn.0045cdb0
lea ecx, [esp + 0x6e]
mov byte [esp + 0xa20], 0x33
push ecx
lea ecx, [esp + 0x80]
call fcn.0045d000
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa20], 0x34
call fcn.0045cda0
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xa24], 0x35
call fcn.0045cde0
lea edx, [esp + 0x78]
mov byte [esp + 0xa20], 0x37
test edx, edx
je 0x4593c7
lea eax, [esp + 0x428]
test eax, eax
je 0x4593a9
lea edi, [esp + 0x428]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4593ab
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.0045ce10
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 [0x48b680]
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.0040c468
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.00402e22
lea ecx, [esp + 0x78]
lea edx, [esp + 0x7c]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00401245
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.0045f310
mov eax, dword [esp + 0xa8]
mov ecx, dword [ebp + 0x44]
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x459588
push 0xc
call fcn.004675be
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0xa20], 0x39
je 0x4594c0
mov ecx, eax
call fcn.00459610
jmp 0x4594c2
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
mov byte [esp + 0xa20], 0x23
jne 0x4594d9
mov eax, 0x48b6d0
lea edx, [esp + 0x65]
push 1
push edx
push eax
lea ecx, [esp + 0x2e8]
call fcn.00404d89
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.0045f120
lea edx, [esp + 0x220]
push eax
push edx
lea ecx, [ebp + 0x30]
mov byte [esp + 0xa28], 0x3b
call fcn.0045efe0
mov edi, dword [eax]
lea ecx, [esp + 0x3a4]
mov byte [esp + 0xa20], 0x3a
call fcn.00402438
mov edi, dword [edi + 0x34]
lea ecx, [esp + 0x2dc]
mov byte [esp + 0xa20], 0x23
call fcn.00402438
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.00455440
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push edx
call fcn.0045c7a0
mov ecx, dword [esi + 0x70]
mov dword [eax], ecx
jmp 0x45958e
mov edx, dword [eax + 0x34]
mov dword [esi + 0x70], edx
mov ecx, dword [esp + 0xa2c]
push esi
call fcn.0045c320
lea ecx, [esp + 0x3c]
mov dword [eax], esi
mov byte [esp + 0xa20], 0xd
call fcn.00401093
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xa4]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jle 0x458697
lea ecx, [esp + 0x17c]
call fcn.00401093
lea ecx, [esp + 0x154]
call fcn.00401093
lea ecx, [esp + 0x100]
call fcn.00401093
mov ecx, dword [esp + 0xa18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa14
ret 8