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

Disassembly:
push 0xffffffffffffffff
push 0x4891ad
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.00442914
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, 0x48a670
mov edi, 0x48a668
push ebx
lea ecx, [esp + 0x104]
mov dword [esp + 0x104], esi
mov dword [esp + 0x124], edi
call fcn.0045c290
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.0045c280
push ebx
lea ecx, [esp + 0x124]
mov byte [esp + 0xa24], 2
call fcn.0045c2c0
lea ecx, [esp + 0x100]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x100]
mov byte [esp + 0xa20], 4
test edx, edx
je 0x457462
cmp ebp, ebx
je 0x45744b
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x48a668
jmp 0x45744d
xor ecx, ecx
lea eax, [esp + 0x13]
push 1
push eax
push ecx
push ebp
lea ecx, [esp + 0x110]
call fcn.0045c2f0
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.0045c290
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.0045c280
push ebx
lea ecx, [esp + 0x178]
mov byte [esp + 0xa24], 8
call fcn.0045c2c0
push ebx
lea ecx, [esp + 0x180]
mov byte [esp + 0xa24], 9
mov dword [esp + 0x180], esi
mov dword [esp + 0x1a0], edi
call fcn.0045c290
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.0045c280
push ebx
lea ecx, [esp + 0x1a0]
mov byte [esp + 0xa24], 0xc
call fcn.0045c2c0
push 0x4a4d5c
mov byte [esp + 0xa24], 0xd
call fcn.00466974
add esp, 4
lea ecx, [esp + 0x104]
push eax
push ebx
push 0x4a4d5c
call fcn.004138f0
mov edi, eax
mov eax, dword [0x48a680]
cmp edi, eax
je 0x4576ee
push edi
lea eax, [esp + 0x40]
push ebx
push eax
lea ecx, [esp + 0x10c]
call fcn.0045b0a0
cmp eax, ebx
mov byte [esp + 0xa20], 0xe
je 0x4575b9
add eax, 4
jmp 0x4575bb
xor eax, eax
mov ecx, dword [0x48a680]
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.0043797a
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 [0x48a680]
lea ecx, [esp + 0x3c]
push eax
push edi
push ecx
lea ecx, [esp + 0x10c]
call fcn.0045b0a0
cmp eax, ebx
mov byte [esp + 0xa20], 0xf
je 0x457668
add eax, 4
jmp 0x45766a
xor eax, eax
mov edx, dword [0x48a680]
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.0043797a
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 0x49f72c
and esi, eax
call fcn.00466974
mov ecx, dword [esi + 8]
add esp, 4
push eax
push 0x49f72c
push ecx
push ebx
mov ecx, esi
call fcn.00424b86
mov edi, dword [esp + 0xa2c]
cmp eax, ebx
je 0x457a05
lea esi, [esp + 0x100]
lea edx, [esp + 0x104]
neg esi
sbb esi, esi
push 0x49f72c
and esi, edx
call fcn.00466974
add esp, 4
mov ecx, esi
push eax
mov eax, dword [esi + 8]
push 0x49f72c
push eax
push ebx
call fcn.00424b86
cmp eax, ebx
je 0x457a05
cmp dword [esp + 0x160], ebx
je 0x457839
lea ecx, [esp + 0x154]
lea edx, [esp + 0x3c]
push ecx
push 0x49f72c
push edx
call fcn.00463c50
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.0045eae0
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.0043797a
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 0x457839
mov ecx, dword [ecx + 0x34]
cmp ecx, ebx
mov dword [esp + 0x28], ecx
jne 0x45796d
push ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x48a670
mov dword [esp + 0x9c], 0x48a668
call fcn.0045c290
mov ecx, 0x49f72c
mov byte [esp + 0xa20], 0x11
test ecx, ecx
mov eax, ecx
jne 0x45786e
mov eax, 0x4a8be0
lea edx, [esp + 0x13]
lea ecx, [esp + 0x7c]
push edx
push eax
call fcn.0045c620
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.0045c2c0
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.0045ebe0
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
mov byte [esp + 0xa24], 0x15
push edx
lea ecx, [eax + 0x54]
call fcn.0045e9a0
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.0043797a
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 0x4579c0
lea ebp, [esi + 0x158]
cmp ebp, ebx
je 0x45798b
lea ecx, [esi + 0x15c]
jmp 0x45798d
xor ecx, ecx
push 0x49f72c
call fcn.004642c0
test eax, eax
je 0x4579c0
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.004553b0
mov ecx, eax
call fcn.0045ac10
jmp 0x4579c6
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.0045dfb0
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.0045dfb0
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.0045dfb0
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
add ecx, 4
call fcn.00442914
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.0045dfb0
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
add ecx, 0x2c
call fcn.00442914
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.0045e0b0
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, edi
call fcn.0045dfb0
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.0045e0b0
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
call fcn.0045dfb0
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.0045e0b0
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.0045dfb0
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.0045e0b0
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, edi
call fcn.0045dfb0
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 0x458aa6
lea edx, [esp + 0xd4]
lea eax, [esp + 0x78]
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x34], eax
push 0x74
call fcn.00466a9e
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebx
mov byte [esp + 0xa20], 0x16
je 0x457bbb
lea ecx, [esp + 0x67]
push 1
push ecx
lea ecx, [esi + 4]
call fcn.0045c750
lea edx, [esp + 0x69]
push 1
push edx
lea ecx, [esi + 0x2c]
mov byte [esp + 0xa28], 0x17
call fcn.0045c750
jmp 0x457bbd
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.00468c5a
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.00442914
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 0x4a4e18
push eax
call ebp
lea edx, [esp + 0xb0]
push 0x104
lea ecx, [esi + 4]
push edx
call fcn.0045cc80
mov ebp, eax
mov ecx, dword [ebp]
mov byte [esp + 0xa20], 0x18
call fcn.00442914
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [ebp + 8], eax
call fcn.00442914
mov edx, dword [esp + 0xa28]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea ecx, [esp + 0x1b8]
push 0x4a8be4
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 0x457ccb
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 0x1c]
push eax
call fcn.00403eb2
cmp dword [esp + 0xb8], ebx
je 0x457d46
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 [0x48a6b0]
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.00405b20
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 0x457d52
add ebp, 4
jmp 0x457d54
xor ebp, ebp
lea ecx, [esp + 0x70]
push 1
push ecx
push 0x4a8be0
lea ecx, [esp + 0x360]
call fcn.0045c820
push ebp
lea ecx, [eax + 4]
mov byte [esp + 0xa24], 0x1a
call fcn.0040a972
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 0x457df1
lea edx, [esp + 0x72]
push 1
lea eax, [esp + 0x814]
push edx
push eax
lea ecx, [esp + 0x338]
call fcn.0045c8f0
cmp eax, ebx
mov byte [esp + 0xa20], 0x1b
je 0x457dca
add eax, 4
jmp 0x457dcc
xor eax, eax
mov ecx, dword [0x48a6b0]
push ecx
push ebx
push eax
lea ecx, [esi + 8]
call fcn.00405b20
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.0045cc80
mov ebp, eax
mov ecx, dword [ebp]
mov byte [esp + 0xa20], 0x1c
call fcn.00442914
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [ebp + 8], eax
call fcn.00442914
mov edx, dword [esp + 0xa28]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea ecx, [esp + 0x1b8]
push 0x4a8be4
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 0x457e98
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 0x1c]
push eax
call fcn.00403eb2
cmp dword [esp + 0xc4], ebx
je 0x457f13
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 [0x48a6b0]
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.00405b20
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 0x457f1f
add ebp, 4
jmp 0x457f21
xor ebp, ebp
lea ecx, [esp + 0x77]
push 1
push ecx
push 0x4a8be0
lea ecx, [esp + 0x310]
call fcn.0045c820
push ebp
lea ecx, [eax + 4]
mov byte [esp + 0xa24], 0x1e
call fcn.0040a972
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 0x457fbe
lea edx, [esp + 0x76]
push 1
lea eax, [esp + 0x918]
push edx
push eax
lea ecx, [esp + 0x388]
call fcn.0045c8f0
cmp eax, ebx
mov byte [esp + 0xa20], 0x1f
je 0x457f97
add eax, 4
jmp 0x457f99
xor eax, eax
mov ecx, dword [0x48a6b0]
push ecx
push ebx
push eax
lea ecx, [esi + 0x30]
call fcn.00405b20
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 0x4a4d68
push ecx
call ebp
mov ecx, edi
call fcn.00442914
mov ecx, dword [esp + 0xa28]
push eax
lea edx, [esp + 0x42c]
push 0x3e8
push edx
lea eax, [esp + 0x1b8]
push 0x4a8be4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x428]
push 0x4a8be4
push edx
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x45806c
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.0045af10
mov ecx, dword [esp + 0x48]
call fcn.00458b70
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 0x4a4d8c
push edx
call ebp
mov ecx, edi
call fcn.00442914
mov edx, dword [esp + 0xa28]
push eax
lea eax, [esp + 0x42c]
push 0x3e8
push eax
lea ecx, [esp + 0x1b8]
push 0x4a8be4
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x428]
push 0x4a8be4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4580e7
mov ecx, dword [esp + 0xac]
mov dword [esi + 0x68], ecx
jmp 0x458117
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.0045af10
mov ecx, dword [esp + 0x44]
call fcn.004591b0
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.00442914
push eax
mov eax, dword [esp + 0xa2c]
lea ecx, [esp + 0x42c]
push 0x3e8
push ecx
lea edx, [esp + 0x1b8]
push 0x4a8be4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x428]
push 0x4a8be4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x45818f
mov edx, dword [esp + 0xd0]
mov dword [esi + 0x5c], edx
jmp 0x4581c2
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.0045af10
mov ecx, dword [esp + 0x44]
call fcn.00458e00
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.00442914
mov edx, dword [esp + 0xa28]
push eax
lea eax, [esp + 0x42c]
push 0x3e8
push eax
lea ecx, [esp + 0x1b8]
push 0x4a8be4
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x428]
push 0x4a8be4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x45823a
mov ecx, dword [esp + 0xcc]
mov dword [esi + 0x60], ecx
jmp 0x45826e
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.0045af10
mov ecx, dword [esp + 0x44]
call fcn.00458e00
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.00442914
push eax
mov eax, dword [esp + 0xa2c]
lea ecx, [esp + 0x42c]
push 0x3e8
push ecx
lea edx, [esp + 0x1b8]
push 0x4a8be4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x428]
push 0x4a8be4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4582e6
mov edx, dword [esp + 0xc8]
mov dword [esi + 0x64], edx
jmp 0x45831d
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.0045af10
mov ecx, dword [esp + 0x44]
call fcn.00458e00
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x428]
push eax
push 0x4a4d7c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp eax, ebx
mov edi, 0x48a6d0
je 0x458345
mov edi, eax
mov ebp, 0x48a668
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0x48a670
mov dword [esp + 0x60], ebp
call fcn.0045c290
cmp edi, ebx
mov byte [esp + 0xa20], 0x20
mov eax, edi
jne 0x458373
mov eax, 0x4a8be0
lea edx, [esp + 0x6a]
lea ecx, [esp + 0x40]
push edx
push eax
call fcn.0045c620
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.0045c2c0
push ebx
lea ecx, [esp + 0xd8]
mov byte [esp + 0xa24], 0x23
mov dword [esp + 0xd8], 0x48a670
mov dword [esp + 0xf8], ebp
call fcn.0045c290
lea eax, [esp + 0x64]
lea ecx, [esp + 0xd8]
push eax
mov byte [esp + 0xa24], 0x24
call fcn.0045c4e0
lea ecx, [esp + 0xe8]
mov byte [esp + 0xa20], 0x25
call fcn.0045c280
push ebx
lea ecx, [esp + 0xf8]
mov byte [esp + 0xa24], 0x26
call fcn.0045c2c0
lea ecx, [esp + 0xd4]
mov byte [esp + 0xa20], 0x28
test ecx, ecx
je 0x458458
lea edx, [esp + 0x428]
test edx, edx
je 0x45843a
lea edi, [esp + 0x428]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x45843c
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.0045c2f0
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 [0x48a680]
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.0040c46f
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.0045e7f0
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x4587af
push 0xc
call fcn.00466a9e
mov ebp, eax
add esp, 4
mov dword [esp + 0x2c], ebp
cmp ebp, ebx
mov byte [esp + 0xa20], 0x2a
je 0x4585c1
push 0x30
call fcn.00466a9e
mov edi, eax
mov ecx, 0xc
xor eax, eax
mov dword [ebp], edi
rep stosd dword es:[edi], eax
push 0x48
call fcn.00466a9e
mov edi, eax
mov ecx, 0x12
xor eax, eax
mov dword [ebp + 4], edi
rep stosd dword es:[edi], eax
push 0x18
call fcn.00466a9e
add esp, 0xc
cmp eax, ebx
je 0x4585b1
mov ecx, eax
call fcn.00456560
mov edi, eax
mov ecx, 6
xor eax, eax
mov dword [ebp + 8], edi
rep stosd dword es:[edi], eax
jmp 0x4585c3
xor edi, edi
mov ecx, 6
xor eax, eax
mov dword [ebp + 8], edi
rep stosd dword es:[edi], eax
jmp 0x4585c3
xor ebp, ebp
mov dword [esi + 0x6c], ebp
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov byte [esp + 0xa20], 0x23
mov edi, 0x48a6d0
je 0x4585dc
mov edi, eax
push ebx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x12c], 0x48a6c8
mov dword [esp + 0x14c], 0x48a6c0
call fcn.0045c290
cmp edi, ebx
mov byte [esp + 0xa20], 0x2b
mov eax, edi
jne 0x458612
mov eax, 0x4a8be0
lea ecx, [esp + 0x6d]
push ecx
push eax
lea ecx, [esp + 0x134]
call fcn.0045cbb0
lea ecx, [esp + 0x13c]
mov byte [esp + 0xa20], 0x2c
call fcn.0045c280
push ebx
lea ecx, [esp + 0x14c]
mov byte [esp + 0xa24], 0x2d
call fcn.0045c2c0
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.0045e600
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x210]
push eax
push ecx
lea ecx, [edx + 0x30]
mov byte [esp + 0xa28], 0x2f
call fcn.0045e4c0
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.00454920
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x404]
mov dword [esp + 0x1c], ebx
call fcn.0045e8f0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x218]
push eax
push ecx
lea ecx, [edx + 0x40]
mov byte [esp + 0xa28], 0x32
call fcn.0045e6b0
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 0x4587b5
mov ecx, dword [ecx + 0x34]
mov dword [esi + 0x6c], ecx
mov edx, dword [esi + 0x68]
lea eax, [esp + 0x428]
push edx
push 0x4a4d7c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0x34]
add esp, 0xc
cmp eax, ebx
jne 0x4587df
mov eax, 0x48a6d0
cmp eax, ebx
je 0x4587e3
mov edi, eax
jmp 0x4587e8
mov edi, 0x4a8be0
push edi
call fcn.00466974
add esp, 4
lea ecx, [esp + 0x40]
push eax
push edi
call fcn.00401282
push ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x48a670
mov dword [esp + 0x9c], 0x48a668
call fcn.0045c290
lea ecx, [esp + 0x6e]
mov byte [esp + 0xa20], 0x33
push ecx
lea ecx, [esp + 0x80]
call fcn.0045c4e0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa20], 0x34
call fcn.0045c280
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xa24], 0x35
call fcn.0045c2c0
lea edx, [esp + 0x78]
mov byte [esp + 0xa20], 0x37
test edx, edx
je 0x4588a7
lea eax, [esp + 0x428]
test eax, eax
je 0x458889
lea edi, [esp + 0x428]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x45888b
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.0045c2f0
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 [0x48a680]
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.0040c46f
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.0045e7f0
mov eax, dword [esp + 0xa8]
mov ecx, dword [ebp + 0x44]
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x458a68
push 0xc
call fcn.00466a9e
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0xa20], 0x39
je 0x4589a0
mov ecx, eax
call fcn.00458af0
jmp 0x4589a2
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
mov byte [esp + 0xa20], 0x23
jne 0x4589b9
mov eax, 0x48a6d0
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.0045e600
lea edx, [esp + 0x220]
push eax
push edx
lea ecx, [ebp + 0x30]
mov byte [esp + 0xa28], 0x3b
call fcn.0045e4c0
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.00454920
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push edx
call fcn.0045bc80
mov ecx, dword [esi + 0x70]
mov dword [eax], ecx
jmp 0x458a6e
mov edx, dword [eax + 0x34]
mov dword [esi + 0x70], edx
mov ecx, dword [esp + 0xa2c]
push esi
call fcn.0045b800
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 0x457b77
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