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

Disassembly:
push 0xffffffffffffffff
push 0x489bed
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.00442fb0
mov ebp, dword [esp + 0xa28]
xor ebx, ebx
push eax
push ebx
push 0x4a6094
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.0045c920
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.0045c910
push ebx
lea ecx, [esp + 0x124]
mov byte [esp + 0xa24], 2
call fcn.0045c950
lea ecx, [esp + 0x100]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x100]
mov byte [esp + 0xa20], 4
test edx, edx
je 0x457af2
cmp ebp, ebx
je 0x457adb
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x48b668
jmp 0x457add
xor ecx, ecx
lea eax, [esp + 0x13]
push 1
push eax
push ecx
push ebp
lea ecx, [esp + 0x110]
call fcn.0045c980
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.0045c920
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.0045c910
push ebx
lea ecx, [esp + 0x178]
mov byte [esp + 0xa24], 8
call fcn.0045c950
push ebx
lea ecx, [esp + 0x180]
mov byte [esp + 0xa24], 9
mov dword [esp + 0x180], esi
mov dword [esp + 0x1a0], edi
call fcn.0045c920
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.0045c910
push ebx
lea ecx, [esp + 0x1a0]
mov byte [esp + 0xa24], 0xc
call fcn.0045c950
push 0x4a5fcc
mov byte [esp + 0xa24], 0xd
call fcn.00467004
add esp, 4
lea ecx, [esp + 0x104]
push eax
push ebx
push 0x4a5fcc
call fcn.004138e9
mov edi, eax
mov eax, dword [0x48b680]
cmp edi, eax
je 0x457d7e
push edi
lea eax, [esp + 0x40]
push ebx
push eax
lea ecx, [esp + 0x10c]
call fcn.0045b730
cmp eax, ebx
mov byte [esp + 0xa20], 0xe
je 0x457c49
add eax, 4
jmp 0x457c4b
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.00438016
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.0045b730
cmp eax, ebx
mov byte [esp + 0xa20], 0xf
je 0x457cf8
add eax, 4
jmp 0x457cfa
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.00438016
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.00467004
mov ecx, dword [esi + 8]
add esp, 4
push eax
push 0x4a072c
push ecx
push ebx
mov ecx, esi
call fcn.0042521d
mov edi, dword [esp + 0xa2c]
cmp eax, ebx
je 0x458095
lea esi, [esp + 0x100]
lea edx, [esp + 0x104]
neg esi
sbb esi, esi
push 0x4a072c
and esi, edx
call fcn.00467004
add esp, 4
mov ecx, esi
push eax
mov eax, dword [esi + 8]
push 0x4a072c
push eax
push ebx
call fcn.0042521d
cmp eax, ebx
je 0x458095
cmp dword [esp + 0x160], ebx
je 0x457ec9
lea ecx, [esp + 0x154]
lea edx, [esp + 0x3c]
push ecx
push 0x4a072c
push edx
call fcn.004642e0
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.0045f170
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.00438016
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 0x457ec9
mov ecx, dword [ecx + 0x34]
cmp ecx, ebx
mov dword [esp + 0x28], ecx
jne 0x457ffd
push ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x48b670
mov dword [esp + 0x9c], 0x48b668
call fcn.0045c920
mov ecx, 0x4a072c
mov byte [esp + 0xa20], 0x11
test ecx, ecx
mov eax, ecx
jne 0x457efe
mov eax, 0x4a9e50
lea edx, [esp + 0x13]
lea ecx, [esp + 0x7c]
push edx
push eax
call fcn.0045ccb0
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.0045c950
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.0045f270
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
mov byte [esp + 0xa24], 0x15
push edx
lea ecx, [eax + 0x54]
call fcn.0045f030
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.00438016
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 0x458050
lea ebp, [esi + 0x158]
cmp ebp, ebx
je 0x45801b
lea ecx, [esi + 0x15c]
jmp 0x45801d
xor ecx, ecx
push 0x4a072c
call fcn.00464950
test eax, eax
je 0x458050
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.00455a40
mov ecx, eax
call fcn.0045b2a0
jmp 0x458056
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.0045e640
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.0045e640
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.0045e640
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
add ecx, 4
call fcn.00442fb0
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.0045e640
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
add ecx, 0x2c
call fcn.00442fb0
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.0045e740
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, edi
call fcn.0045e640
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.0045e740
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
call fcn.0045e640
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.0045e740
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.0045e640
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.0045e740
lea edx, [esp + 0x34]
push eax
push edx
mov ecx, edi
call fcn.0045e640
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 0x459136
lea edx, [esp + 0xd4]
lea eax, [esp + 0x78]
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x34], eax
push 0x74
call fcn.0046712e
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebx
mov byte [esp + 0xa20], 0x16
je 0x45824b
lea ecx, [esp + 0x67]
push 1
push ecx
lea ecx, [esi + 4]
call fcn.0045cde0
lea edx, [esp + 0x69]
push 1
push edx
lea ecx, [esi + 0x2c]
mov byte [esp + 0xa28], 0x17
call fcn.0045cde0
jmp 0x45824d
xor esi, esi
lea eax, [esp + 0x228]
push 0x4a608c
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.004692ea
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.00442fb0
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 0x4a6088
push eax
call ebp
lea edx, [esp + 0xb0]
push 0x104
lea ecx, [esi + 4]
push edx
call fcn.0045d310
mov ebp, eax
mov ecx, dword [ebp]
mov byte [esp + 0xa20], 0x18
call fcn.00442fb0
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [ebp + 8], eax
call fcn.00442fb0
mov edx, dword [esp + 0xa28]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea ecx, [esp + 0x1b8]
push 0x4a9e54
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 0x45835b
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 0x1c]
push eax
call fcn.00403eb2
cmp dword [esp + 0xb8], ebx
je 0x4583d6
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 0x4583e2
add ebp, 4
jmp 0x4583e4
xor ebp, ebp
lea ecx, [esp + 0x70]
push 1
push ecx
push 0x4a9e50
lea ecx, [esp + 0x360]
call fcn.0045ceb0
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 0x458481
lea edx, [esp + 0x72]
push 1
lea eax, [esp + 0x814]
push edx
push eax
lea ecx, [esp + 0x338]
call fcn.0045cf80
cmp eax, ebx
mov byte [esp + 0xa20], 0x1b
je 0x45845a
add eax, 4
jmp 0x45845c
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 0x4a6080
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0xbc]
push 0x104
lea ecx, [esi + 0x2c]
push edx
call fcn.0045d310
mov ebp, eax
mov ecx, dword [ebp]
mov byte [esp + 0xa20], 0x1c
call fcn.00442fb0
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [ebp + 8], eax
call fcn.00442fb0
mov edx, dword [esp + 0xa28]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea ecx, [esp + 0x1b8]
push 0x4a9e54
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 0x458528
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 0x1c]
push eax
call fcn.00403eb2
cmp dword [esp + 0xc4], ebx
je 0x4585a3
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 0x4585af
add ebp, 4
jmp 0x4585b1
xor ebp, ebp
lea ecx, [esp + 0x77]
push 1
push ecx
push 0x4a9e50
lea ecx, [esp + 0x310]
call fcn.0045ceb0
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 0x45864e
lea edx, [esp + 0x76]
push 1
lea eax, [esp + 0x918]
push edx
push eax
lea ecx, [esp + 0x388]
call fcn.0045cf80
cmp eax, ebx
mov byte [esp + 0xa20], 0x1f
je 0x458627
add eax, 4
jmp 0x458629
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 0x4a5fd8
push ecx
call ebp
mov ecx, edi
call fcn.00442fb0
mov ecx, dword [esp + 0xa28]
push eax
lea edx, [esp + 0x42c]
push 0x3e8
push edx
lea eax, [esp + 0x1b8]
push 0x4a9e54
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x428]
push 0x4a9e54
push edx
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4586fc
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.0045b5a0
mov ecx, dword [esp + 0x48]
call fcn.00459200
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 0x4a5ffc
push edx
call ebp
mov ecx, edi
call fcn.00442fb0
mov edx, dword [esp + 0xa28]
push eax
lea eax, [esp + 0x42c]
push 0x3e8
push eax
lea ecx, [esp + 0x1b8]
push 0x4a9e54
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x428]
push 0x4a9e54
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x458777
mov ecx, dword [esp + 0xac]
mov dword [esi + 0x68], ecx
jmp 0x4587a7
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.0045b5a0
mov ecx, dword [esp + 0x44]
call fcn.00459840
lea ecx, [esp + 0x228]
lea edx, [esp + 0x1ac]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x1ac]
push 0x4a5ff0
push eax
call ebp
mov ecx, edi
call fcn.00442fb0
push eax
mov eax, dword [esp + 0xa2c]
lea ecx, [esp + 0x42c]
push 0x3e8
push ecx
lea edx, [esp + 0x1b8]
push 0x4a9e54
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x428]
push 0x4a9e54
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x45881f
mov edx, dword [esp + 0xd0]
mov dword [esi + 0x5c], edx
jmp 0x458852
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.0045b5a0
mov ecx, dword [esp + 0x44]
call fcn.00459490
lea eax, [esp + 0x228]
lea ecx, [esp + 0x1ac]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x1ac]
push 0x4a6078
push edx
call ebp
mov ecx, edi
call fcn.00442fb0
mov edx, dword [esp + 0xa28]
push eax
lea eax, [esp + 0x42c]
push 0x3e8
push eax
lea ecx, [esp + 0x1b8]
push 0x4a9e54
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x428]
push 0x4a9e54
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4588ca
mov ecx, dword [esp + 0xcc]
mov dword [esi + 0x60], ecx
jmp 0x4588fe
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.0045b5a0
mov ecx, dword [esp + 0x44]
call fcn.00459490
lea ecx, [esp + 0x228]
lea edx, [esp + 0x1ac]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x1ac]
push 0x4a606c
push eax
call ebp
mov ecx, edi
call fcn.00442fb0
push eax
mov eax, dword [esp + 0xa2c]
lea ecx, [esp + 0x42c]
push 0x3e8
push ecx
lea edx, [esp + 0x1b8]
push 0x4a9e54
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x428]
push 0x4a9e54
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x458976
mov edx, dword [esp + 0xc8]
mov dword [esi + 0x64], edx
jmp 0x4589ad
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.0045b5a0
mov ecx, dword [esp + 0x44]
call fcn.00459490
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x428]
push eax
push 0x4a5fec
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp eax, ebx
mov edi, 0x48b6d0
je 0x4589d5
mov edi, eax
mov ebp, 0x48b668
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0x48b670
mov dword [esp + 0x60], ebp
call fcn.0045c920
cmp edi, ebx
mov byte [esp + 0xa20], 0x20
mov eax, edi
jne 0x458a03
mov eax, 0x4a9e50
lea edx, [esp + 0x6a]
lea ecx, [esp + 0x40]
push edx
push eax
call fcn.0045ccb0
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.0045c950
push ebx
lea ecx, [esp + 0xd8]
mov byte [esp + 0xa24], 0x23
mov dword [esp + 0xd8], 0x48b670
mov dword [esp + 0xf8], ebp
call fcn.0045c920
lea eax, [esp + 0x64]
lea ecx, [esp + 0xd8]
push eax
mov byte [esp + 0xa24], 0x24
call fcn.0045cb70
lea ecx, [esp + 0xe8]
mov byte [esp + 0xa20], 0x25
call fcn.0045c910
push ebx
lea ecx, [esp + 0xf8]
mov byte [esp + 0xa24], 0x26
call fcn.0045c950
lea ecx, [esp + 0xd4]
mov byte [esp + 0xa20], 0x28
test ecx, ecx
je 0x458ae8
lea edx, [esp + 0x428]
test edx, edx
je 0x458aca
lea edi, [esp + 0x428]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x458acc
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.0045c980
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.0045ee80
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x458e3f
push 0xc
call fcn.0046712e
mov ebp, eax
add esp, 4
mov dword [esp + 0x2c], ebp
cmp ebp, ebx
mov byte [esp + 0xa20], 0x2a
je 0x458c51
push 0x30
call fcn.0046712e
mov edi, eax
mov ecx, 0xc
xor eax, eax
mov dword [ebp], edi
rep stosd dword es:[edi], eax
push 0x48
call fcn.0046712e
mov edi, eax
mov ecx, 0x12
xor eax, eax
mov dword [ebp + 4], edi
rep stosd dword es:[edi], eax
push 0x18
call fcn.0046712e
add esp, 0xc
cmp eax, ebx
je 0x458c41
mov ecx, eax
call fcn.00456bf0
mov edi, eax
mov ecx, 6
xor eax, eax
mov dword [ebp + 8], edi
rep stosd dword es:[edi], eax
jmp 0x458c53
xor edi, edi
mov ecx, 6
xor eax, eax
mov dword [ebp + 8], edi
rep stosd dword es:[edi], eax
jmp 0x458c53
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 0x458c6c
mov edi, eax
push ebx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x12c], 0x48b6c8
mov dword [esp + 0x14c], 0x48b6c0
call fcn.0045c920
cmp edi, ebx
mov byte [esp + 0xa20], 0x2b
mov eax, edi
jne 0x458ca2
mov eax, 0x4a9e50
lea ecx, [esp + 0x6d]
push ecx
push eax
lea ecx, [esp + 0x134]
call fcn.0045d240
lea ecx, [esp + 0x13c]
mov byte [esp + 0xa20], 0x2c
call fcn.0045c910
push ebx
lea ecx, [esp + 0x14c]
mov byte [esp + 0xa24], 0x2d
call fcn.0045c950
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.0045ec90
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x210]
push eax
push ecx
lea ecx, [edx + 0x30]
mov byte [esp + 0xa28], 0x2f
call fcn.0045eb50
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.00454fb0
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x404]
mov dword [esp + 0x1c], ebx
call fcn.0045ef80
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x218]
push eax
push ecx
lea ecx, [edx + 0x40]
mov byte [esp + 0xa28], 0x32
call fcn.0045ed40
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 0x458e45
mov ecx, dword [ecx + 0x34]
mov dword [esi + 0x6c], ecx
mov edx, dword [esi + 0x68]
lea eax, [esp + 0x428]
push edx
push 0x4a5fec
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0x34]
add esp, 0xc
cmp eax, ebx
jne 0x458e6f
mov eax, 0x48b6d0
cmp eax, ebx
je 0x458e73
mov edi, eax
jmp 0x458e78
mov edi, 0x4a9e50
push edi
call fcn.00467004
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.0045c920
lea ecx, [esp + 0x6e]
mov byte [esp + 0xa20], 0x33
push ecx
lea ecx, [esp + 0x80]
call fcn.0045cb70
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa20], 0x34
call fcn.0045c910
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xa24], 0x35
call fcn.0045c950
lea edx, [esp + 0x78]
mov byte [esp + 0xa20], 0x37
test edx, edx
je 0x458f37
lea eax, [esp + 0x428]
test eax, eax
je 0x458f19
lea edi, [esp + 0x428]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x458f1b
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.0045c980
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.0045ee80
mov eax, dword [esp + 0xa8]
mov ecx, dword [ebp + 0x44]
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x4590f8
push 0xc
call fcn.0046712e
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0xa20], 0x39
je 0x459030
mov ecx, eax
call fcn.00459180
jmp 0x459032
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
mov byte [esp + 0xa20], 0x23
jne 0x459049
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.0045ec90
lea edx, [esp + 0x220]
push eax
push edx
lea ecx, [ebp + 0x30]
mov byte [esp + 0xa28], 0x3b
call fcn.0045eb50
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.00454fb0
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push edx
call fcn.0045c310
mov ecx, dword [esi + 0x70]
mov dword [eax], ecx
jmp 0x4590fe
mov edx, dword [eax + 0x34]
mov dword [esi + 0x70], edx
mov ecx, dword [esp + 0xa2c]
push esi
call fcn.0045be90
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 0x458207
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