Function at 0x4056a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4795b2
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x497650]
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 esi, ecx
push str..data
lea edi, [esi + 0x5d0]
lea eax, [ebp - 0x15c]
push edi
push eax
call fcn.00409d90
add esp, 0xc
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x15c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x405874
push 0x48a84c
lea ecx, [ebp - 0x158]
push edi
push ecx
call fcn.00409d90
add esp, 0xc
lea edx, [ebp - 0x124]
push edx
push eax
lea eax, [ebp - 0x154]
push eax
mov byte [ebp - 4], 1
call fcn.00409d90
add esp, 0xc
lea ebx, [esi + 0x5c8]
mov byte [ebp - 4], 2
call fcn.00402640
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x154]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405774
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x158]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40579a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx]
push 0x48adc0
push eax
call fcn.0045deba
mov edi, eax
push edi
push 1
lea ecx, [ebp - 0x17c]
push 4
push ecx
call fcn.0045d5e0
mov edx, dword [ebp - 0x17c]
inc edx
push edx
call fcn.00417314
mov ebx, eax
mov eax, dword [ebp - 0x17c]
add esp, 0x1c
push edi
inc eax
push eax
push 1
push ebx
call fcn.0045d5e0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
add esp, 0x10
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x164], eax
lea ecx, [ebp - 0x164]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.004018e0
mov eax, dword [ebp - 0x164]
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x180], esp
mov byte [ecx], 0
lea edx, [eax + 1]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x405830
mov ebx, dword [ebp - 0x164]
sub eax, edx
push eax
push ebx
call fcn.00404350
lea ecx, [esi + 0x520]
call fcn.0040ad00
test al, al
jne 0x4058a4
mov byte [ebp - 4], al
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405874
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40589d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x405ddd
push 2
push 0xfffffffffffffff8
push edi
call fcn.0045df5b
add esp, 0xc
push edi
push 1
lea ecx, [esi + 0x4f8]
push 8
push ecx
call fcn.0045d5e0
push edi
call fcn.0045d66a
add esp, 0x14
mov dword [ebp - 0x158], 0
mov byte [ebp - 4], 4
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x170], eax
add esi, 0x53c
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 0x10
jb 0x405904
mov esi, dword [esi]
push esi
push 0x48a850
push str.http:__d.guaihou.com_azb_getconfig.php_type_sid_s
lea edi, [ebp - 0x170]
call fcn.004025a0
mov esi, dword [ebp - 0x170]
add esp, 0xc
push esi
lea edi, [ebp - 0x178]
lea ecx, [ebp - 0x158]
call fcn.00404b70
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x178]
cmp dword [eax - 0xc], 0
jne 0x4059a4
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405965
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405985
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x405998
push eax
call fcn.0045cdbe
add esp, 4
mov byte [ebp - 4], 0
lea eax, [ebx - 0x10]
jmp 0x405d99
mov dword [ebp - 0x174], 1
mov edi, edi
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x180], ebx
mov byte [ebp - 4], 7
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x168], eax
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x154], esp
push ecx
mov esi, str.__line_
call fcn.00401bc0
push ecx
mov byte [ebp - 4], 9
mov edx, esp
mov dword [ebp - 0x16c], esp
push edx
mov esi, str._line_
call fcn.00401bc0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x178]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x160], esp
mov esi, esp
call fcn.004026b0
mov ecx, dword [ebp - 0x174]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x168]
push eax
mov byte [ebp - 4], 8
call fcn.004053b0
mov edi, dword [ebp - 0x168]
cmp dword [edi - 0xc], 0
je 0x405ced
lea esi, [ebp - 0x19c]
call fcn.00405e00
mov byte [ebp - 4], 0xb
cmp dword [edi - 0xc], 0
jg 0x405a76
or eax, 0xffffffff
jmp 0x405a8c
push 0x7c
push edi
call fcn.0045eac2
add esp, 8
test eax, eax
jne 0x405a8a
or eax, 0xffffffff
jmp 0x405a8c
sub eax, edi
lea ecx, [ebp - 0x184]
lea edx, [ebp - 0x168]
call fcn.00409c70
lea ebx, [ebp - 0x19c]
mov byte [ebp - 4], 0xc
call fcn.00402640
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x184]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ad2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x160], esp
push ecx
mov esi, 0x48a89c
mov edi, 1
call fcn.00401bc0
push ecx
mov byte [ebp - 4], 0xd
mov edx, esp
mov dword [ebp - 0x16c], esp
push edx
call fcn.00401bc0
mov byte [ebp - 4], 0xe
mov ebx, dword [ebp - 0x168]
push ecx
add ebx, 0xfffffff0
mov eax, ebx
mov dword [ebp - 0x154], esp
mov esi, esp
call fcn.004026b0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x194]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.004053b0
push ecx
mov ecx, esp
mov dword [ebp - 0x160], esp
push ecx
mov esi, 0x48a89c
mov edi, 2
call fcn.00401bc0
push ecx
mov byte [ebp - 4], 0xf
mov edx, esp
mov dword [ebp - 0x16c], esp
push edx
call fcn.00401bc0
push ecx
mov byte [ebp - 4], 0x10
mov eax, ebx
mov dword [ebp - 0x154], esp
mov esi, esp
call fcn.004026b0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x198]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.004053b0
push ecx
mov ecx, esp
mov dword [ebp - 0x160], esp
push ecx
mov esi, 0x48a89c
mov edi, 3
call fcn.00401bc0
push ecx
mov byte [ebp - 4], 0x11
mov edx, esp
mov dword [ebp - 0x16c], esp
push edx
call fcn.00401bc0
push ecx
mov byte [ebp - 4], 0x12
mov eax, ebx
mov dword [ebp - 0x154], esp
mov esi, esp
call fcn.004026b0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x190]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.004053b0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x154], eax
push ecx
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x160], esp
push ecx
mov esi, 0x48a89c
mov edi, 4
call fcn.00401bc0
push ecx
mov byte [ebp - 4], 0x14
mov edx, esp
mov dword [ebp - 0x16c], esp
push edx
call fcn.00401bc0
push ecx
mov eax, ebx
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x1a0], esp
mov esi, esp
call fcn.004026b0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x154]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.004053b0
mov esi, dword [ebp - 0x154]
push esi
call fcn.0045dfed
add esp, 4
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x18c], eax
call fcn.00409e60
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x19c]
call fcn.00405e60
mov byte [ebp - 4], 7
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405cbc
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x180]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ce2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [ebp - 0x174]
jmp 0x4059b0
add edi, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d0d
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x405d2d
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x178]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x170]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x405d8c
push eax
call fcn.0045cdbe
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x164]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405db2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ddb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
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.0045cc1a
mov esp, ebp
pop ebp
ret