Function at 0x486490
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e7d5b
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.004cb9a0
lea edi, [ebp + 4]
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4864f4
mov eax, dword [edi]
jmp 0x4864f6
mov eax, edi
cmp byte [ebp + 0x1c], 0
mov ecx, 0x4fe52c
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
mov eax, 0x4fe530
cmove eax, ecx
push eax
push str.Card
push 0x4fe534
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 0x486557
xor ecx, ecx
jmp 0x48656f
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486560
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 0x4fe52c
push dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00473d80
test eax, eax
setne al
mov byte [ebp + 0x1c], al
mov dword [esp + 0x248], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x4865c4
push dword [esp + 0x14]
call fcn.004c515a
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 0x4865e5
mov eax, dword [edi]
jmp 0x4865e7
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push str.m_cardDM
push 0x4fe534
call ebx
cmp word [esp + 0x2c], 0
jne 0x48660f
xor ecx, ecx
jmp 0x486625
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486616
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 0x48663d
mov eax, dword [edi]
jmp 0x48663f
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push str.m_cardXM
push 0x4fe534
call ebx
cmp word [esp + 0x2c], 0
jne 0x486667
xor ecx, ecx
jmp 0x48667f
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486670
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 0x486697
mov eax, dword [edi]
jmp 0x486699
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push str.m_cardQQ
push 0x4fe534
call ebx
cmp word [esp + 0x2c], 0
jne 0x4866c1
xor ecx, ecx
jmp 0x4866df
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
jmp 0x4866d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4866d0
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 0x4866f7
mov eax, dword [edi]
jmp 0x4866f9
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push str.m_cardDH
push 0x4fe534
call ebx
cmp word [esp + 0x2c], 0
jne 0x486721
xor ecx, ecx
jmp 0x48673f
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
jmp 0x486730
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486730
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 0x486757
mov eax, dword [edi]
jmp 0x486759
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push str.m_cardDZ1
push 0x4fe534
call ebx
cmp word [esp + 0x2c], 0
jne 0x486781
xor ecx, ecx
jmp 0x48679f
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
jmp 0x486790
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486790
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 0x4867ba
mov eax, dword [edi]
jmp 0x4867bc
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4f3da4
push str.m_cardDZ2
push 0x4fe534
call ebx
cmp word [esp + 0x2c], 0
jne 0x4867e4
xor ecx, ecx
jmp 0x4867ff
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
jmp 0x4867f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4867f0
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 0x48681a
mov eax, dword [edi]
jmp 0x48681c
mov eax, edi
push eax
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4fe5dc
push str.m_cardBZ1
push 0x4fe534
call ebx
cmp word [esp + 0x2c], 0
jne 0x486844
xor ecx, ecx
jmp 0x48685f
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
jmp 0x486850
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486850
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, 0x4fe644
mov ecx, esi
call fcn.004957b0
mov edx, 0x4fe644
mov ecx, esi
call fcn.00495820
mov edx, 0x4fe644
mov ecx, esi
call fcn.004957b0
mov edx, 0x4fe644
mov ecx, esi
call fcn.00495820
mov edx, 0x4fe644
mov ecx, esi
call fcn.004957b0
mov edx, 0x4fe644
mov ecx, esi
call fcn.00495820
cmp dword [edi + 0x14], 8
jb 0x4868c2
mov edi, dword [edi]
push edi
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4fe610
push str.m_cardBZ2
push 0x4fe534
call ebx
cmp word [esp + 0x2c], 0
jne 0x4868ea
xor ecx, ecx
jmp 0x486900
lea ecx, [esp + 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4868f1
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, 0x4fe644
mov ecx, esi
call fcn.004957b0
mov edx, 0x4fe644
mov ecx, esi
call fcn.00495820
mov edx, 0x4fe644
mov ecx, esi
call fcn.004957b0
mov edx, 0x4fe644
mov ecx, esi
call fcn.00495820
mov edx, 0x4fe644
mov ecx, esi
call fcn.004957b0
mov edx, 0x4fe644
mov ecx, esi
call fcn.00495820
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.004c515f
add esp, 0x238
ret