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

Disassembly:
push 0xffffffffffffffff
push 0x4a252d
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.00445b64
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, 0x4a3680
mov edi, 0x4a3678
push ebx
lea ecx, [esp + 0x104]
mov dword [esp + 0x104], esi
mov dword [esp + 0x124], edi
call fcn.004686b0
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.004686a0
push ebx
lea ecx, [esp + 0x124]
mov byte [esp + 0xa24], 2
call fcn.004686e0
lea ecx, [esp + 0x100]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x100]
mov byte [esp + 0xa20], 4
test edx, edx
je 0x46dff2
cmp ebp, ebx
je 0x46dfdb
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x4a3678
jmp 0x46dfdd
xor ecx, ecx
lea eax, [esp + 0x13]
push 1
push eax
push ecx
push ebp
lea ecx, [esp + 0x110]
call fcn.00445a39
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.004686b0
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.004686a0
push ebx
lea ecx, [esp + 0x178]
mov byte [esp + 0xa24], 8
call fcn.004686e0
push ebx
lea ecx, [esp + 0x180]
mov byte [esp + 0xa24], 9
mov dword [esp + 0x180], esi
mov dword [esp + 0x1a0], edi
call fcn.004686b0
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.004686a0
push ebx
lea ecx, [esp + 0x1a0]
mov byte [esp + 0xa24], 0xc
call fcn.004686e0
push 0x4c076c
mov byte [esp + 0xa24], 0xd
call fcn.0047d464
add esp, 4
lea ecx, [esp + 0x104]
push eax
push ebx
push 0x4c076c
call fcn.004130f5
mov edi, eax
mov eax, dword [0x4a3690]
cmp edi, eax
je 0x46e27e
push edi
lea eax, [esp + 0x40]
push ebx
push eax
lea ecx, [esp + 0x10c]
call fcn.00467fb0
cmp eax, ebx
mov byte [esp + 0xa20], 0xe
je 0x46e149
add eax, 4
jmp 0x46e14b
xor eax, eax
mov ecx, dword [0x4a3690]
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.0044c894
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 [0x4a3690]
lea ecx, [esp + 0x3c]
push eax
push edi
push ecx
lea ecx, [esp + 0x10c]
call fcn.00467fb0
cmp eax, ebx
mov byte [esp + 0xa20], 0xf
je 0x46e1f8
add eax, 4
jmp 0x46e1fa
xor eax, eax
mov edx, dword [0x4a3690]
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.0044c894
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 0x4bb73c
and esi, eax
call fcn.0047d464
mov ecx, dword [esi + 8]
add esp, 4
push eax
push 0x4bb73c
push ecx
push ebx
mov ecx, esi
call fcn.00419aea
mov edi, dword [esp + 0xa2c]
cmp eax, ebx
je 0x46e595
lea esi, [esp + 0x100]
lea edx, [esp + 0x104]
neg esi
sbb esi, esi
push 0x4bb73c
and esi, edx
call fcn.0047d464
add esp, 4
mov ecx, esi
push eax
mov eax, dword [esi + 8]
push 0x4bb73c
push eax
push ebx
call fcn.00419aea
cmp eax, ebx
je 0x46e595
cmp dword [esp + 0x160], ebx
je 0x46e3c9
lea ecx, [esp + 0x154]
lea edx, [esp + 0x3c]
push ecx
push 0x4bb73c
push edx
call fcn.0047a170
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.00475030
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.0044c894
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 0x46e3c9
mov ecx, dword [ecx + 0x34]
cmp ecx, ebx
mov dword [esp + 0x28], ecx
jne 0x46e4fd
push ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x4a3680
mov dword [esp + 0x9c], 0x4a3678
call fcn.004686b0
mov ecx, 0x4bb73c
mov byte [esp + 0xa20], 0x11
test ecx, ecx
mov eax, ecx
jne 0x46e3fe
mov eax, 0x4c6e10
lea edx, [esp + 0x13]
lea ecx, [esp + 0x7c]
push edx
push eax
call fcn.00472c80
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.004686e0
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.00475130
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
mov byte [esp + 0xa24], 0x15
push edx
lea ecx, [eax + 0x54]
call fcn.00474ef0
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.0044c894
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 0x46e550
lea ebp, [esi + 0x158]
cmp ebp, ebx
je 0x46e51b
lea ecx, [esi + 0x15c]
jmp 0x46e51d
xor ecx, ecx
push 0x4bb73c
call fcn.0047a7e0
test eax, eax
je 0x46e550
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.0046bf40
mov ecx, eax
call fcn.004717a0
jmp 0x46e556
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.00474500
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.00474500
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.00474500
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
add ecx, 4
call fcn.00445b64
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.00474500
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
add ecx, 0x2c
call fcn.00445b64
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.00474600
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, edi
call fcn.00474500
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.00474600
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
call fcn.00474500
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.00474600
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.00474500
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.00474600
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, edi
call fcn.00474500
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 0x46f636
lea edx, [esp + 0xd4]
lea eax, [esp + 0x78]
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x34], eax
push 0x74
call fcn.0047d58e
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebx
mov byte [esp + 0xa20], 0x16
je 0x46e74b
lea ecx, [esp + 0x67]
push 1
push ecx
lea ecx, [esi + 4]
call fcn.00472d50
lea edx, [esp + 0x69]
push 1
push edx
lea ecx, [esi + 0x2c]
mov byte [esp + 0xa28], 0x17
call fcn.00472d50
jmp 0x46e74d
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.0047f82a
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.00445b64
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 0x4c3024
push eax
call ebp
lea edx, [esp + 0xb0]
push 0x104
lea ecx, [esi + 4]
push edx
call fcn.00473210
mov ebp, eax
mov ecx, dword [ebp]
mov byte [esp + 0xa20], 0x18
call fcn.00445b64
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [ebp + 8], eax
call fcn.00445b64
mov edx, dword [esp + 0xa28]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea ecx, [esp + 0x1b8]
push 0x4c6e14
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 0x46e85b
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 0x1c]
push eax
call fcn.00403eb2
cmp dword [esp + 0xb8], ebx
je 0x46e8d6
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 [0x4a36c0]
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 0x46e8e2
add ebp, 4
jmp 0x46e8e4
xor ebp, ebp
lea ecx, [esp + 0x70]
push 1
push ecx
push 0x4c6e10
lea ecx, [esp + 0x360]
call fcn.00472db0
push ebp
lea ecx, [eax + 4]
mov byte [esp + 0xa24], 0x1a
call fcn.0040a89f
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 0x46e981
lea edx, [esp + 0x72]
push 1
lea eax, [esp + 0x814]
push edx
push eax
lea ecx, [esp + 0x338]
call fcn.00472e80
cmp eax, ebx
mov byte [esp + 0xa20], 0x1b
je 0x46e95a
add eax, 4
jmp 0x46e95c
xor eax, eax
mov ecx, dword [0x4a36c0]
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.00473210
mov ebp, eax
mov ecx, dword [ebp]
mov byte [esp + 0xa20], 0x1c
call fcn.00445b64
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [ebp + 8], eax
call fcn.00445b64
mov edx, dword [esp + 0xa28]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea ecx, [esp + 0x1b8]
push 0x4c6e14
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 0x46ea28
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 0x1c]
push eax
call fcn.00403eb2
cmp dword [esp + 0xc4], ebx
je 0x46eaa3
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 [0x4a36c0]
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 0x46eaaf
add ebp, 4
jmp 0x46eab1
xor ebp, ebp
lea ecx, [esp + 0x77]
push 1
push ecx
push 0x4c6e10
lea ecx, [esp + 0x310]
call fcn.00472db0
push ebp
lea ecx, [eax + 4]
mov byte [esp + 0xa24], 0x1e
call fcn.0040a89f
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 0x46eb4e
lea edx, [esp + 0x76]
push 1
lea eax, [esp + 0x918]
push edx
push eax
lea ecx, [esp + 0x388]
call fcn.00472e80
cmp eax, ebx
mov byte [esp + 0xa20], 0x1f
je 0x46eb27
add eax, 4
jmp 0x46eb29
xor eax, eax
mov ecx, dword [0x4a36c0]
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 0x4c2f74
push ecx
call ebp
mov ecx, edi
call fcn.00445b64
mov ecx, dword [esp + 0xa28]
push eax
lea edx, [esp + 0x42c]
push 0x3e8
push edx
lea eax, [esp + 0x1b8]
push 0x4c6e14
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x428]
push 0x4c6e14
push edx
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x46ebfc
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.0044554d
mov ecx, dword [esp + 0x48]
call fcn.0046f700
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 0x4c2f98
push edx
call ebp
mov ecx, edi
call fcn.00445b64
mov edx, dword [esp + 0xa28]
push eax
lea eax, [esp + 0x42c]
push 0x3e8
push eax
lea ecx, [esp + 0x1b8]
push 0x4c6e14
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x428]
push 0x4c6e14
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x46ec77
mov ecx, dword [esp + 0xac]
mov dword [esi + 0x68], ecx
jmp 0x46eca7
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.0044554d
mov ecx, dword [esp + 0x44]
call fcn.0046fd40
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.00445b64
push eax
mov eax, dword [esp + 0xa2c]
lea ecx, [esp + 0x42c]
push 0x3e8
push ecx
lea edx, [esp + 0x1b8]
push 0x4c6e14
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x428]
push 0x4c6e14
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x46ed1f
mov edx, dword [esp + 0xd0]
mov dword [esi + 0x5c], edx
jmp 0x46ed52
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.0044554d
mov ecx, dword [esp + 0x44]
call fcn.0046f990
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.00445b64
mov edx, dword [esp + 0xa28]
push eax
lea eax, [esp + 0x42c]
push 0x3e8
push eax
lea ecx, [esp + 0x1b8]
push 0x4c6e14
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x428]
push 0x4c6e14
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x46edca
mov ecx, dword [esp + 0xcc]
mov dword [esi + 0x60], ecx
jmp 0x46edfe
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.0044554d
mov ecx, dword [esp + 0x44]
call fcn.0046f990
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.00445b64
push eax
mov eax, dword [esp + 0xa2c]
lea ecx, [esp + 0x42c]
push 0x3e8
push ecx
lea edx, [esp + 0x1b8]
push 0x4c6e14
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x428]
push 0x4c6e14
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x46ee76
mov edx, dword [esp + 0xc8]
mov dword [esi + 0x64], edx
jmp 0x46eead
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.0044554d
mov ecx, dword [esp + 0x44]
call fcn.0046f990
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x428]
push eax
push 0x4c2f88
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp eax, ebx
mov edi, 0x4a36e0
je 0x46eed5
mov edi, eax
mov ebp, 0x4a3678
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0x4a3680
mov dword [esp + 0x60], ebp
call fcn.004686b0
cmp edi, ebx
mov byte [esp + 0xa20], 0x20
mov eax, edi
jne 0x46ef03
mov eax, 0x4c6e10
lea edx, [esp + 0x6a]
lea ecx, [esp + 0x40]
push edx
push eax
call fcn.00472c80
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.004686e0
push ebx
lea ecx, [esp + 0xd8]
mov byte [esp + 0xa24], 0x23
mov dword [esp + 0xd8], 0x4a3680
mov dword [esp + 0xf8], ebp
call fcn.004686b0
lea eax, [esp + 0x64]
lea ecx, [esp + 0xd8]
push eax
mov byte [esp + 0xa24], 0x24
call fcn.004684f0
lea ecx, [esp + 0xe8]
mov byte [esp + 0xa20], 0x25
call fcn.004686a0
push ebx
lea ecx, [esp + 0xf8]
mov byte [esp + 0xa24], 0x26
call fcn.004686e0
lea ecx, [esp + 0xd4]
mov byte [esp + 0xa20], 0x28
test ecx, ecx
je 0x46efe8
lea edx, [esp + 0x428]
test edx, edx
je 0x46efca
lea edi, [esp + 0x428]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x46efcc
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.00445a39
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 [0x4a3690]
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.0040bcd6
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.00474d40
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x46f33f
push 0xc
call fcn.0047d58e
mov ebp, eax
add esp, 4
mov dword [esp + 0x2c], ebp
cmp ebp, ebx
mov byte [esp + 0xa20], 0x2a
je 0x46f151
push 0x30
call fcn.0047d58e
mov edi, eax
mov ecx, 0xc
xor eax, eax
mov dword [ebp], edi
rep stosd dword es:[edi], eax
push 0x48
call fcn.0047d58e
mov edi, eax
mov ecx, 0x12
xor eax, eax
mov dword [ebp + 4], edi
rep stosd dword es:[edi], eax
push 0x18
call fcn.0047d58e
add esp, 0xc
cmp eax, ebx
je 0x46f141
mov ecx, eax
call fcn.0046d0f0
mov edi, eax
mov ecx, 6
xor eax, eax
mov dword [ebp + 8], edi
rep stosd dword es:[edi], eax
jmp 0x46f153
xor edi, edi
mov ecx, 6
xor eax, eax
mov dword [ebp + 8], edi
rep stosd dword es:[edi], eax
jmp 0x46f153
xor ebp, ebp
mov dword [esi + 0x6c], ebp
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov byte [esp + 0xa20], 0x23
mov edi, 0x4a36e0
je 0x46f16c
mov edi, eax
push ebx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x12c], 0x4a36d8
mov dword [esp + 0x14c], 0x4a36d0
call fcn.004686b0
cmp edi, ebx
mov byte [esp + 0xa20], 0x2b
mov eax, edi
jne 0x46f1a2
mov eax, 0x4c6e10
lea ecx, [esp + 0x6d]
push ecx
push eax
lea ecx, [esp + 0x134]
call fcn.00473140
lea ecx, [esp + 0x13c]
mov byte [esp + 0xa20], 0x2c
call fcn.004686a0
push ebx
lea ecx, [esp + 0x14c]
mov byte [esp + 0xa24], 0x2d
call fcn.004686e0
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.00474b50
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x210]
push eax
push ecx
lea ecx, [edx + 0x30]
mov byte [esp + 0xa28], 0x2f
call fcn.00474a10
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.0046b4b0
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x404]
mov dword [esp + 0x1c], ebx
call fcn.00474e40
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x218]
push eax
push ecx
lea ecx, [edx + 0x40]
mov byte [esp + 0xa28], 0x32
call fcn.00474c00
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 0x46f345
mov ecx, dword [ecx + 0x34]
mov dword [esi + 0x6c], ecx
mov edx, dword [esi + 0x68]
lea eax, [esp + 0x428]
push edx
push 0x4c2f88
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0x34]
add esp, 0xc
cmp eax, ebx
jne 0x46f36f
mov eax, 0x4a36e0
cmp eax, ebx
je 0x46f373
mov edi, eax
jmp 0x46f378
mov edi, 0x4c6e10
push edi
call fcn.0047d464
add esp, 4
lea ecx, [esp + 0x40]
push eax
push edi
call fcn.00401282
push ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x4a3680
mov dword [esp + 0x9c], 0x4a3678
call fcn.004686b0
lea ecx, [esp + 0x6e]
mov byte [esp + 0xa20], 0x33
push ecx
lea ecx, [esp + 0x80]
call fcn.004684f0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa20], 0x34
call fcn.004686a0
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xa24], 0x35
call fcn.004686e0
lea edx, [esp + 0x78]
mov byte [esp + 0xa20], 0x37
test edx, edx
je 0x46f437
lea eax, [esp + 0x428]
test eax, eax
je 0x46f419
lea edi, [esp + 0x428]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x46f41b
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.00445a39
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 [0x4a3690]
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.0040bcd6
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.00474d40
mov eax, dword [esp + 0xa8]
mov ecx, dword [ebp + 0x44]
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x46f5f8
push 0xc
call fcn.0047d58e
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0xa20], 0x39
je 0x46f530
mov ecx, eax
call fcn.0046f680
jmp 0x46f532
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
mov byte [esp + 0xa20], 0x23
jne 0x46f549
mov eax, 0x4a36e0
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.00474b50
lea edx, [esp + 0x220]
push eax
push edx
lea ecx, [ebp + 0x30]
mov byte [esp + 0xa28], 0x3b
call fcn.00474a10
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.0046b4b0
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push edx
call fcn.00472560
mov ecx, dword [esi + 0x70]
mov dword [eax], ecx
jmp 0x46f5fe
mov edx, dword [eax + 0x34]
mov dword [esi + 0x70], edx
mov ecx, dword [esp + 0xa2c]
push esi
call fcn.004720e0
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 0x46e707
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