Function at 0x413130
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x476dc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x49c220]
push ebx
push esi
push edi
push str..FireBox.ini
push 1
push str.AutoLogin
push str.FireBox
mov dword [esp + 0x134], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x41326c
mov eax, dword [str.http:__bbs.766.com]
mov ecx, dword [0x47fbc8]
mov edx, dword [0x47fbcc]
mov dword [esp + 0x20], eax
mov eax, dword [0x47fbd0]
mov dword [esp + 0x24], ecx
mov cx, word [0x47fbd4]
mov dword [esp + 0x28], edx
mov dl, byte [0x47fbd6]
mov dword [esp + 0x2c], eax
xor eax, eax
mov word [esp + 0x30], cx
mov byte [esp + 0x32], dl
mov ecx, 0x3b
lea edi, [esp + 0x33]
push eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
call fcn.00460104
mov esi, dword [sym.imp.WININET.dll_InternetGetCookieA]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push str.cookieTest
lea ecx, [esp + 0x2c]
push ecx
call esi
test eax, eax
jne 0x41323d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ecx]
call ebx
cmp eax, 0x7a
jne 0x41325f
push edi
call fcn.00460109
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x13c], 0xffffffff
call fcn.00460104
add esp, 8
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push str.cookieTest
lea ecx, [esp + 0x2c]
push ecx
call esi
test eax, eax
je 0x413200
push 0x47e1c1
lea ecx, [esp + 0x10]
call fcn.004025d0
test edi, edi
mov ebx, 2
mov dword [esp + 0x134], ebx
jne 0x41328f
xor eax, eax
jmp 0x41329d
test edi, edi
je 0x41326c
push edi
call fcn.00460109
add esp, 4
xor al, al
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
call fcn.0045086e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413294
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x14]
call fcn.00401fe0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x4132cd
push str.TGT_
push ecx
call fcn.0045111f
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x4132cd
sub eax, ecx
jns 0x413330
test ecx, ecx
jne 0x4132d5
xor eax, eax
jmp 0x4132ef
mov eax, ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4132e0
sub eax, esi
js 0x4134fd
cmp eax, dword [ecx - 8]
jg 0x4134fd
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0xc]
push edi
mov byte [eax + edx], 0
call fcn.00460109
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41348b
push eax
push 0
lea ecx, [esp + 0x14]
call fcn.00405280
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x413361
push str._authentication
push ecx
call fcn.0045111f
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x413361
sub eax, ecx
jns 0x4133c0
test ecx, ecx
jne 0x413369
xor eax, eax
jmp 0x41337f
mov eax, ecx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x413370
sub eax, esi
js 0x4134fd
cmp eax, dword [ecx - 8]
jg 0x4134fd
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0xc]
push edi
mov byte [eax + ecx], 0
call fcn.00460109
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x134], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41348b
add eax, 0xf
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.004034f0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 7
call fcn.00402260
mov eax, dword [esp + 0x14]
mov byte [esp + 0x134], bl
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41340b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401700
mov ecx, dword [esp + 0x24]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00412730
test al, al
mov edx, dword [esp + 0xc]
jne 0x41349e
test edx, edx
jne 0x413442
xor eax, eax
jmp 0x413456
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413447
sub eax, esi
js 0x4134fd
cmp eax, dword [edx - 8]
jg 0x4134fd
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0xc]
push edi
mov byte [eax + ecx], 0
call fcn.00460109
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x134], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x41326c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x41326c
test edx, edx
jne 0x4134a6
xor eax, eax
jmp 0x4134bb
mov eax, edx
lea esi, [eax + 1]
jmp 0x4134b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4134b0
sub eax, esi
js 0x4134fd
cmp eax, dword [edx - 8]
jg 0x4134fd
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0xc]
push edi
mov byte [eax + ecx], 0
call fcn.00460109
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x134], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x4134f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
jmp 0x41326e
push 0x80070057
call fcn.004015b0
int3