Function at 0x428300
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4565d7
mov eax, dword fs:[0]
push eax
mov eax, 0xa04c
call fcn.00439260
mov eax, dword [0x46fb40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0xa03c]
push ecx
mov dword [ebp - 0xa038], eax
call fcn.00426d10
push esi
push eax
lea edx, [ebp - 0xa030]
push edx
mov dword [ebp - 4], 0
call fcn.0040a070
add esp, 0x10
mov eax, dword [ebp - 0xa03c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42838e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xa030]
push ecx
push 0x5000
lea edx, [ebp - 0xa010]
push edx
push 0x4599e8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x428535
push 2
lea ecx, [ebp - 0xa058]
call fcn.0040de70
lea eax, [ebp - 0xa010]
push eax
lea ecx, [ebp - 0xa058]
mov byte [ebp - 4], 3
call fcn.0040e430
mov edi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0xa018], edi
mov dword [ebp - 0xa01c], ebx
mov word [ebp - 0xa02c], cx
mov esi, vtable.CResponseDecoder.0
mov dword [ebp - 0xa034], esi
push str.135246
lea edx, [ebp - 0xa02c]
push edx
sub esp, 0x10
lea eax, [ebp - 0xa054]
mov ecx, esp
mov dword [ebp - 0xa040], esp
push eax
mov byte [ebp - 4], 5
call fcn.0040eb90
lea ecx, [ebp - 0xa034]
call fcn.0044e890
cmp eax, ebx
je 0x4284f3
cmp dword [ebp - 0xa018], 8
jb 0x428453
mov eax, dword [ebp - 0xa02c]
mov edx, eax
cmp eax, ebx
jne 0x428459
xor eax, eax
jmp 0x428474
lea edx, [ebp - 0xa02c]
mov eax, edx
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x428460
sub eax, edi
sar eax, 1
mov edi, 7
mov ecx, dword [ebp - 0xa038]
push eax
push edx
call fcn.00408584
cmp dword [ebp - 0xa018], 8
mov dword [ebp - 0xa034], esi
jb 0x42849f
mov ecx, dword [ebp - 0xa02c]
push ecx
call fcn.00438188
add esp, 4
xor edx, edx
lea ecx, [ebp - 0xa058]
mov dword [ebp - 0xa018], edi
mov dword [ebp - 0xa01c], ebx
mov word [ebp - 0xa02c], dx
mov byte [ebp - 4], 2
call fcn.0040deb0
mov eax, dword [ebp - 0xa030]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4284ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42855c
cmp dword [ebp - 0xa018], 8
mov dword [ebp - 0xa034], esi
jb 0x428511
mov ecx, dword [ebp - 0xa02c]
push ecx
call fcn.00438188
add esp, 4
xor edx, edx
lea ecx, [ebp - 0xa058]
mov dword [ebp - 0xa018], edi
mov dword [ebp - 0xa01c], ebx
mov word [ebp - 0xa02c], dx
mov byte [ebp - 4], 2
call fcn.0040deb0
mov eax, dword [ebp - 0xa030]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42855a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438fdb
mov esp, ebp
pop ebp
ret