Function at 0x485d50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e799b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov ebp, ecx
xor eax, eax
push 0x208
push eax
mov word [esp + 0x34], ax
lea eax, [esp + 0x36]
push eax
call fcn.004cb700
lea edi, [ebp + 4]
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x485db4
mov eax, dword [edi]
jmp 0x485db6
mov eax, edi
cmp byte [ebp + 0x1c], 0
mov ecx, 0x4fe370
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
mov eax, 0x4fe32c
cmove eax, ecx
push eax
push str.Card
push str.Config
call ebx
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [esp + 0x2c], ax
jne 0x485e17
xor ecx, ecx
jmp 0x485e2f
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485e20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403120
mov dword [esp + 0x248], 0
push 1
push 0x4fe370
push dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00473620
test eax, eax
setne al
mov byte [ebp + 0x1c], al
mov dword [esp + 0x248], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x485e84
push dword [esp + 0x14]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
cmp dword [edi + 0x14], 8
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jb 0x485ea5
mov eax, dword [edi]
jmp 0x485ea7
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push 0x4fe374
push str.Config
call ebx
cmp word [esp + 0x2c], 0
jne 0x485ecf
xor ecx, ecx
jmp 0x485ee5
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485ed6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x20]
call fcn.00403120
cmp dword [edi + 0x14], 8
jb 0x485efd
mov eax, dword [edi]
jmp 0x485eff
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push str.m_cardXM
push str.Config
call ebx
cmp word [esp + 0x2c], 0
jne 0x485f27
xor ecx, ecx
jmp 0x485f3f
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485f30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x38]
call fcn.00403120
cmp dword [edi + 0x14], 8
jb 0x485f57
mov eax, dword [edi]
jmp 0x485f59
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push str.m_cardQQ
push str.Config
call ebx
cmp word [esp + 0x2c], 0
jne 0x485f81
xor ecx, ecx
jmp 0x485f9f
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
jmp 0x485f90
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485f90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x50]
call fcn.00403120
cmp dword [edi + 0x14], 8
jb 0x485fb7
mov eax, dword [edi]
jmp 0x485fb9
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push str.m_cardDH
push str.Config
call ebx
cmp word [esp + 0x2c], 0
jne 0x485fe1
xor ecx, ecx
jmp 0x485fff
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
jmp 0x485ff0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485ff0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x68]
call fcn.00403120
cmp dword [edi + 0x14], 8
jb 0x486017
mov eax, dword [edi]
jmp 0x486019
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push str.m_cardDZ1
push str.Config
call ebx
cmp word [esp + 0x2c], 0
jne 0x486041
xor ecx, ecx
jmp 0x48605f
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
jmp 0x486050
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486050
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x80]
call fcn.00403120
cmp dword [edi + 0x14], 8
jb 0x48607a
mov eax, dword [edi]
jmp 0x48607c
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push str.m_cardDZ2
push str.Config
call ebx
cmp word [esp + 0x2c], 0
jne 0x4860a4
xor ecx, ecx
jmp 0x4860bf
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
jmp 0x4860b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4860b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x98]
call fcn.00403120
cmp dword [edi + 0x14], 8
jb 0x4860da
mov eax, dword [edi]
jmp 0x4860dc
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4fe3e8
push 0x4fe434
push str.Config
call ebx
cmp word [esp + 0x2c], 0
jne 0x486104
xor ecx, ecx
jmp 0x48611f
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
jmp 0x486110
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486110
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
lea esi, [ebp + 0xb0]
push eax
mov ecx, esi
call fcn.00403120
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495510
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495580
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495510
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495580
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495510
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495580
cmp dword [edi + 0x14], 8
jb 0x486182
mov edi, dword [edi]
push edi
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4fe45c
push str.m_cardBZ2
push str.Config
call ebx
cmp word [esp + 0x2c], 0
jne 0x4861aa
xor ecx, ecx
jmp 0x4861c0
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4861b1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x30]
lea esi, [ebp + 0xc8]
push eax
mov ecx, esi
call fcn.00403120
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495510
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495580
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495510
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495580
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495510
mov edx, 0x4fe430
mov ecx, esi
call fcn.00495580
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x238
ret