Function at 0x40a7a0
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542f3d
mov eax, dword fs:[0]
push eax
mov eax, 0x31894
call fcn.00525f60
mov eax, dword [0x5a674c]
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 dword [ebp - 0x3189c], ecx
lea ecx, [ebp - 0x31884]
call fcn.00414330
mov dword [ebp - 4], 0
call fcn.00432d0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a804
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x31888], eax
mov byte [ebp - 4], 1
call fcn.00432d0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a834
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3188c], eax
mov byte [ebp - 4], 2
call fcn.00432d0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a864
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x31890], eax
mov byte [ebp - 4], 3
call fcn.00432d0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a894
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x31894], ebx
mov byte [ebp - 4], 4
call fcn.00432d0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a8c4
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x31898], edi
mov byte [ebp - 4], 5
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x5a7c50]
mov byte [ebp + eax - 0x610], cl
inc eax
test cl, cl
jne 0x40a8e0
push 0x555e94
push 0x556644
call fcn.005264ba
mov esi, eax
add esp, 8
test esi, esi
je 0x40ade7
mov ecx, dword [ebp - 0x3189c]
push 0x555528
push ecx
call fcn.004093b0
push esi
lea edx, [ebp - 0xa10]
push 0x400
push edx
call fcn.0052629e
push esi
call fcn.0052622a
add esp, 0x18
cmp byte [ebp - 0xa10], 0x3c
jne 0x40aa45
lea eax, [ebp - 0xa0f]
push 0x55672c
push eax
call fcn.005279fb
add esp, 8
test eax, eax
jne 0x40a963
xor ecx, ecx
jmp 0x40a971
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40a968
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x31888]
call fcn.00401530
push 0x55672c
push 0
call fcn.005279fb
add esp, 8
test eax, eax
jne 0x40a995
xor ecx, ecx
jmp 0x40a9a9
mov ecx, eax
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40a9a0
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x3188c]
call fcn.00401530
push 0x55672c
push 0
call fcn.005279fb
add esp, 8
test eax, eax
jne 0x40a9cd
xor ecx, ecx
jmp 0x40a9db
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40a9d2
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x31890]
call fcn.00401530
push 0x55672c
push 0
call fcn.005279fb
add esp, 8
test eax, eax
jne 0x40a9ff
xor ecx, ecx
jmp 0x40aa0d
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40aa04
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x31894]
call fcn.00401530
push 0x55672c
push 0
call fcn.005279fb
add esp, 8
test eax, eax
jne 0x40aa33
xor ecx, ecx
push ecx
push eax
jmp 0x40aa94
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40aa38
sub ecx, esi
push ecx
push eax
jmp 0x40aa94
push 7
push str.Unknown
lea ecx, [ebp - 0x31888]
call fcn.00401530
push 7
push str.Unknown
lea ecx, [ebp - 0x3188c]
call fcn.00401530
push 7
push str.Unknown
lea ecx, [ebp - 0x31890]
call fcn.00401530
push 7
push str.Unknown
lea ecx, [ebp - 0x31894]
call fcn.00401530
push 7
push str.Unknown
lea ecx, [ebp - 0x31898]
call fcn.00401530
push 0x556720
push 0x556654
call fcn.005264ba
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
jne 0x40ab5d
mov eax, dword [ebp - 0x31898]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aae3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x31894]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ab09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x31890]
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 0x40ab2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x3188c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ab55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
jmp 0x40ae77
push 2
push ebx
push esi
call fcn.0052797f
push esi
call fcn.00527890
push ebx
push ebx
push esi
mov edi, eax
call fcn.0052797f
push edi
call fcn.00527668
push esi
push 1
push edi
push eax
mov dword [ebp - 0x318a0], eax
call fcn.0052764b
push esi
call fcn.0052622a
add esp, 0x34
xor eax, eax
jmp 0x40aba0
mov cl, byte [eax + 0x5a7c50]
mov byte [ebp + eax - 0x610], cl
inc eax
test cl, cl
jne 0x40aba0
xor eax, eax
jmp 0x40abc0
mov cl, byte [ebp + eax - 0x610]
mov byte [ebp + eax - 0x110], cl
inc eax
test cl, cl
jne 0x40abc0
lea eax, [ebp - 0x110]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40abe0
mov ecx, dword [str.exception.log]
mov edx, dword [0x556714]
mov dword [eax], ecx
mov ecx, dword [0x556718]
mov dword [eax + 4], edx
mov dx, word [0x55671c]
mov dword [eax + 8], ecx
mov cl, byte [0x55671e]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
xor eax, eax
jmp 0x40ac20
mov cl, byte [ebp + eax - 0x610]
mov byte [ebp + eax - 0x210], cl
inc eax
test cl, cl
jne 0x40ac20
lea eax, [ebp - 0x210]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40ac40
mov edx, dword [str.exception.dmp]
mov ecx, dword [0x556704]
mov dword [eax], edx
mov edx, dword [0x556708]
mov dword [eax + 4], ecx
mov cx, word [0x55670c]
mov dword [eax + 8], edx
mov dl, byte [0x55670e]
mov word [eax + 0xc], cx
mov byte [eax + 0xe], dl
mov dword [ebp - 0xb18], ebx
mov dword [ebp - 0xb14], ebx
xor eax, eax
jmp 0x40ac90
mov cl, byte [ebp + eax - 0x110]
mov byte [ebp + eax - 0xb10], cl
inc eax
test cl, cl
jne 0x40ac90
lea eax, [ebp - 0xb10]
push eax
lea ecx, [ebp - 0xb18]
call fcn.00406bb0
lea ecx, [ebp - 0x31884]
mov byte [ebp - 4], 6
call fcn.004144f0
mov ecx, dword [ebp - 0x31888]
push 0
push ecx
push 0x5555f4
lea ecx, [ebp - 0x31884]
call fcn.004145e0
mov edx, dword [ebp - 0x3188c]
push 0
push edx
push str.version
lea ecx, [ebp - 0x31884]
call fcn.004145e0
mov eax, dword [ebp - 0x31890]
push 0
push eax
push str.packetversion
lea ecx, [ebp - 0x31884]
call fcn.004145e0
mov ebx, dword [ebp - 0x31894]
push 0
push ebx
push str.BugsPointLine
lea ecx, [ebp - 0x31884]
call fcn.004145e0
mov edi, dword [ebp - 0x31898]
push 0
push edi
push str.ModuleName
lea ecx, [ebp - 0x31884]
call fcn.004145e0
push 1
lea ecx, [ebp - 0x110]
push ecx
push str.file
lea ecx, [ebp - 0x31884]
call fcn.004145e0
push 1
lea edx, [ebp - 0x210]
push edx
push str.file2
lea ecx, [ebp - 0x31884]
call fcn.004145e0
push str.MERONG_0.9__p_
push 3
push str.http:__103.117.148.67:81_Report_StackLogDmp.php
lea ecx, [ebp - 0x31884]
call fcn.004143a0
test eax, eax
je 0x40ad99
lea ecx, [ebp - 0x31884]
call fcn.00412df0
mov eax, dword [ebp - 0x318a0]
push eax
call fcn.005273c7
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
lea ecx, [ebp - 0x110]
push ecx
call esi
lea edx, [ebp - 0x210]
push edx
call esi
mov eax, dword [ebp - 0x3189c]
push 0x5561b4
push eax
call fcn.004093b0
mov eax, dword [ebp - 0xb18]
add esp, 8
test eax, eax
je 0x40ade7
push eax
call fcn.0052622a
add esp, 4
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x31890]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x3188c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae73
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 - 0x31888]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x31884]
mov dword [ebp - 4], 0xffffffff
call fcn.00414360
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.00525092
mov esp, ebp
pop ebp
ret