joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dbfc
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc9c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x41dddd
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 4]
xchg edx, eax
call fcn.0040e130
mov eax, dword [ebp - 4]
mov dl, 6
call fcn.0040ddf4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
jne 0x41ddc1
mov eax, dword [ebp - 4]
call fcn.0040e1cc
cmp al, 6
jne 0x41ddc1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x406fe000
push 0
push 0x3ff00000
push 0
lea eax, [ebp - 0x340]
call fcn.0041d7ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
shl eax, 2
call fcn.00402600
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x18]
dec esi
test esi, esi
jl 0x41dca0
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.0040e0c4
mov edx, dword [ebp - 8]
mov dword [edx + ebx*4], eax
inc ebx
dec esi
jne 0x41dc8c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0x100
jle 0x41dccf
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0x100
jle 0x41dccf
lea eax, [ebp - 0x364]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0xc], eax
jmp 0x41dcd6
mov dword [ebp - 0xc], 1
call fcn.00405f00
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x41dbe8]
call fcn.0040468c
add esp, 4
mov esi, dword [ebp - 0xc]
test esi, esi
jle 0x41dd71
mov edi, 1
mov eax, 0x33c
call fcn.00402600
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [ebx + 4], eax
push esi
push edi
lea esi, [ebp - 0x340]
lea edi, [ebx + 0x14]
mov ecx, 0xca
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [ebx + 0xc], edi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 8], eax
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
push 0x41da90
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx]
mov dword [eax + edi*4 - 4], edx
mov eax, dword [ebp - 0x18]
mov edx, ebx
call fcn.00405f7c
push 2
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_SetThreadPriority
inc edi
dec esi
jne 0x41dd04
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForMultipleObjects
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x41ddb1
inc esi
xor edi, edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edi*4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x18]
mov edx, edi
call fcn.00406014
mov edx, 0x33c
call fcn.00402618
inc edi
dec esi
jne 0x41dd8d
mov eax, dword [ebp - 0x18]
call fcn.00405e84
mov eax, dword [ebp - 8]
call fcn.00402618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dde4
lea eax, [ebp - 0x14]
mov edx, dword [0x41dbe8]
call fcn.00404698
ret
Function at 0x41f378
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x248], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41f529
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x144]
mov ecx, 0x41f540
mov edx, edi
call fcn.004035d0
mov eax, dword [ebp - 0x144]
call fcn.00403748
push eax
call sub.kernel32.dll_FindFirstFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x41f505
lea eax, [ebp - 0x140]
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x244]
lea edx, [ebp - 0x114]
call fcn.00402828
lea eax, [ebp - 0x244]
mov edx, 0x41f544
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402798
je 0x41f4e4
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x114]
call fcn.004034f4
mov eax, dword [ebp - 0x144]
mov edx, 0x41f550
call fcn.00403694
je 0x41f4e4
test byte [ebp - 0x140], 0x10
je 0x41f4b9
cmp byte [ebx + 0x1f], 0
jbe 0x41f469
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.0040356c
mov ecx, dword [ebp - 0x144]
mov edx, edi
mov eax, ebx
call fcn.0041f270
cmp byte [ebx + 0x1c], 0
jne 0x41f4e4
push edi
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.0040356c
push dword [ebp - 0x248]
push 0x41f55c
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00403644
mov edx, dword [ebp - 0x144]
mov eax, ebx
call fcn.0041f378
lea eax, [ebp - 0x140]
mov dword [ebx + 0x10], eax
jmp 0x41f4e4
cmp byte [ebx + 0x1f], 1
je 0x41f4e4
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.0040356c
mov ecx, dword [ebp - 0x144]
mov edx, edi
mov eax, ebx
call fcn.0041f270
cmp byte [ebx + 8], 0
jne 0x41f4ff
lea eax, [ebp - 0x140]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x41f3e2
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f530
lea eax, [ebp - 0x248]
call fcn.00403340
lea eax, [ebp - 0x144]
call fcn.00403340
ret
Function at 0x4218d8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
mov eax, dword [ebx + 0x6c]
sub edi, eax
mov edx, dword [ebx + 0x64]
sub edi, edx
test edi, edi
jne 0x421908
mov ecx, dword [ebx + 0x64]
test ecx, ecx
jne 0x421908
mov eax, dword [ebx + 0x6c]
test eax, eax
jne 0x421908
mov edi, esi
jmp 0x42199c
cmp edi, 0xffffffff
jne 0x421913
dec edi
jmp 0x42199c
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
mov edx, dword [ebx + 0x64]
cmp eax, edx
ja 0x42199c
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004209e8
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x3c]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
mov ecx, dword [esp]
cmp esi, ecx
ja 0x421966
mov cx, word [esp]
sub cx, si
jmp 0x421968
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x42194d
mov eax, esi
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x38]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
mov ecx, dword [esp]
cmp esi, ecx
ja 0x421992
mov cx, word [esp]
sub cx, si
jmp 0x421994
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x421979
add edi, esi
mov ebp, dword [ebx]
mov eax, dword [ebp + 4]
test eax, eax
je 0x421a04
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
add edx, ecx
mov eax, dword [ebx + 0x6c]
add edx, eax
mov ecx, edi
mov eax, ebp
call fcn.00421668
add dword [ebx + 0x6c], eax
mov edx, dword [ebx + 0x6c]
cmp edx, 3
jb 0x4219ed
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x64]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
mov edx, dword [ebx + 0x4c]
and eax, edx
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x6c]
cmp eax, 0x106
jae 0x421a04
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4218e2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42702c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x475904
mov eax, esi
mov edx, 8
test al, 1
je 0x427048
shr eax, 1
xor eax, 0xedb88320
jmp 0x42704a
shr eax, 1
dec edx
jne 0x42703b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x427034
mov byte [0x475d04], 1
pop esi
ret

Function at 0x427064
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x475d04], 0
jne 0x42707b
call fcn.0042702c
mov eax, edi
dec eax
test eax, eax
jl 0x4270a4
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x475904]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x427085
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x42a974
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.00403340
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x20
call fcn.00402808
call fcn.00410464
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x12d]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.00403748
mov dword [ebp - 0x1c], eax
mov edx, ebx
mov eax, esi
call fcn.0042a914
mov dword [ebp - 0x18], eax
test ebx, 0x1000
jle 0x42a9e9
lea eax, [ebp - 8]
push eax
push 0x12
call fcn.00410464
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
jmp 0x42aa24
test ebx, 0x2000
jle 0x42aa0a
lea eax, [ebp - 8]
push eax
push 4
call fcn.00410464
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
jmp 0x42aa24
test ebx, 0x401d
jle 0x42aa24
mov dword [ebp - 0x14], 0x42a950
mov eax, dword [esi + 4]
call fcn.00403748
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
call sub.shell32.dll_SHBrowseForFolderA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42aa7c
test ebx, 0x3000
jle 0x42aa52
mov eax, edi
lea edx, [ebp - 0x12d]
mov ecx, 0x105
call fcn.0040356c
jmp 0x42aa7c
lea eax, [ebp - 0x232]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, edi
lea edx, [ebp - 0x232]
mov ecx, 0x105
call fcn.0040356c
mov eax, dword [ebp - 8]
call fcn.0040594c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10001130
Capabilities:
Create udp socket
Resolve dns
Send data
Send data on socket

Disassembly:
sub esp, 0x12c
mov eax, dword [0x100280f0]
xor eax, esp
mov dword [esp + 0x128], eax
push edi
push str.tq.xunyou.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10001223
push eax
call fcn.100010d0
add esp, 4
test eax, eax
je 0x10001223
push 0x2346
mov word [esp + 0xc], 2
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x11
push 2
push 2
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001223
push 0x10d
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.1000f430
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x144]
add esp, 0xc
test esi, esi
mov dword [esp + 0x18], 0x10d
mov byte [esp + 0x1c], 0x20
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], edx
je 0x10001202
cmp dword [esp + 0x13c], 0x100
jae 0x10001202
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100011e8
sub eax, edx
push eax
lea eax, [esp + 0x29]
push esi
push eax
call fcn.100123e0
add esp, 0xc
push 0x10
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x10d
lea edx, [esp + 0x28]
push edx
push edi
call dword [sym.imp.WS2_32.dll_sendto]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x12c]
pop edi
xor ecx, esp
call fcn.1000dec6
add esp, 0x12c
ret

Function at 0x10001240
Capabilities:
Create udp socket
Resolve dns
Send data
Send data on socket

Disassembly:
sub esp, 0x138
mov eax, dword [0x100280f0]
xor eax, esp
mov dword [esp + 0x130], eax
push edi
push str.tq.xunyou.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1000133e
push eax
call fcn.100010d0
add esp, 4
test eax, eax
je 0x1000133e
push 0x2346
mov word [esp + 0xc], 2
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x11
push 2
push 2
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000133e
push 0x111
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.1000f430
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x150]
mov eax, dword [esp + 0x154]
add esp, 0xc
test esi, esi
mov dword [esp + 0x18], 0x111
mov byte [esp + 0x1c], 0x21
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], edx
mov dword [esp + 0x25], eax
je 0x1000131d
cmp dword [esp + 0x14c], 0x100
jae 0x1000131d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10001303
sub eax, edx
push eax
lea ecx, [esp + 0x2d]
push esi
push ecx
call fcn.100123e0
add esp, 0xc
push 0x10
lea edx, [esp + 0xc]
push edx
push 0
push 0x111
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.WS2_32.dll_sendto]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x134]
pop edi
xor ecx, esp
call fcn.1000dec6
add esp, 0x138
ret
Function at 0x10003020
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10020b38
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100280f0]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push edi
mov eax, dword [0x100280f0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
xor eax, eax
mov dword [esp + 0x30], ebx
mov ebp, 0x10
cmp dword [esp + 0x50], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
jae 0x10003080
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.1000c680
add esp, 8
cmp byte [esp + 0x54], bl
jne 0x10003136
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
cmp eax, ebp
jb 0x100030b6
mov ecx, dword [edi]
jmp 0x100030b8
mov ecx, edi
lea edx, [esp + 0x14]
cmp edx, ecx
jb 0x100030ef
cmp eax, ebp
jb 0x100030c8
mov ecx, dword [edi]
jmp 0x100030ca
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x14]
cmp edx, ecx
jbe 0x100030ef
cmp eax, ebp
jb 0x100030dd
mov edi, dword [edi]
push ebp
lea edx, [esp + 0x18]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.10001460
jmp 0x10003129
cmp eax, ebp
jae 0x100030ff
mov eax, dword [esi + 0x14]
push eax
push ebp
mov ecx, esi
call fcn.10001850
mov ecx, dword [esi + 0x18]
cmp ecx, ebp
jb 0x1000310a
mov eax, dword [edi]
jmp 0x1000310c
mov eax, edi
push ebp
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.1000ded5
add esp, 0x10
cmp dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebp
jb 0x10003126
mov edi, dword [edi]
mov byte [edi + 0x10], bl
cmp dword [esp + 0x50], ebp
jb 0x10003158
mov eax, dword [esp + 0x3c]
push eax
jmp 0x10003150
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10002f90
add esp, 4
cmp dword [esp + 0x50], ebp
jb 0x10003158
mov edx, dword [esp + 0x3c]
push edx
call fcn.1000dcfa
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1000dec6
add esp, 0x24
ret

Function at 0x10003180
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x100280f0]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov esi, ecx
mov edi, edx
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100031f4
lea eax, [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x100031ed
cmp esi, dword [esp + 0x18]
je 0x100031dc
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100031c5
jmp 0x100031ed
test edi, edi
je 0x100031eb
mov ecx, 0x8b
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.1000dec6
add esp, 0x230
ret
Function at 0x100033b0
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x10020b08
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100280f0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push edi
mov eax, dword [0x100280f0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, str.XUNYOU_H_ShareMemory
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10003401
sub eax, edi
push eax
push str.XUNYOU_H_ShareMemory
lea ecx, [esp + 0x1c]
call fcn.10001780
push 6
lea eax, [esp + 0x18]
mov dword [esp + 0x40], ebx
call fcn.10006df0
push str.XUNYOU_H_ShareMemory
push ebx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, ebx
mov dword [esi + 4], eax
mov byte [esp + 0x13], 1
jne 0x100034b6
push 0x14
call fcn.1000e264
push 0xc
mov ebp, eax
call fcn.1000e264
add esp, 8
cmp ebp, ebx
mov edi, eax
je 0x10003490
cmp edi, ebx
je 0x10003490
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x10003490
push ebx
push ebx
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x10003490
mov dword [edi], 0xc
mov dword [edi + 4], ebp
mov dword [edi + 8], 1
push str.XUNYOU_H_ShareMemory
push 0x32
push ebx
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x100034b2
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jmp 0x100034f9
mov byte [esp + 0x13], bl
mov ecx, dword [esi + 4]
push ebx
push ebx
push ebx
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x100034e0
cmp dword [esp + 0x2c], 0x10
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jb 0x1000350d
mov edx, dword [esp + 0x18]
push edx
jmp 0x10003505
cmp byte [esp + 0x13], bl
jne 0x100034f2
push 0x32
push ebx
push eax
call fcn.1000f430
add esp, 0xc
mov dword [esi + 0xc], 0x32
cmp dword [esp + 0x2c], 0x10
jb 0x1000350d
mov eax, dword [esp + 0x18]
push eax
call fcn.1000dcfa
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1000dec6
add esp, 0x30
ret
Function at 0x100041c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10021228
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100280f0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x100280f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
lea esi, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.10004110
add esp, 4
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push ebx
mov edx, esi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.10001460
mov esi, edi
call fcn.10003020
add esp, 0x20
cmp dword [esp + 0x28], 0x10
jb 0x1000424c
mov eax, dword [esp + 0x14]
push eax
call fcn.1000dcfa
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1000dec6
add esp, 0x30
ret
Function at 0x100058f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100208c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100280f0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
push edi
xor bl, bl
call fcn.10005450
test al, al
je 0x10005aa5
mov eax, dword [0x10031744]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, str.XY_YXQ_Nethelper.exe
shr ecx, 0x10
mov dword [esp + 0x18], eax
jne 0x10005955
mov edx, str.XY_YXQ_Nethelper.exe
movzx ecx, dx
lea edx, [esp + 0x18]
call fcn.10007fe0
jmp 0x10005991
push str.XY_YXQ_Nethelper.exe
call ebp
mov esi, eax
test esi, esi
je 0x10005991
mov ecx, esi
lea edx, [esp + 0x18]
call fcn.10007be0
test eax, eax
je 0x10005991
lea eax, [esi + esi]
push eax
add eax, 2
push str.XY_YXQ_Nethelper.exe
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.1000ded5
push eax
call fcn.10007c80
add esp, 0x14
mov dword [esp + 0x28], 0
mov ecx, dword [0x10031744]
mov edx, 0x100247e4
shr edx, 0x10
mov dword [esp + 0x14], ecx
jne 0x100059c0
mov eax, 0x100247e4
movzx ecx, ax
lea edx, [esp + 0x14]
call fcn.10007fe0
jmp 0x100059fc
push 0x100247e4
call ebp
mov esi, eax
test esi, esi
je 0x100059fc
mov ecx, esi
lea edx, [esp + 0x14]
call fcn.10007be0
test eax, eax
je 0x100059fc
mov ecx, dword [esp + 0x14]
lea eax, [esi + esi]
push eax
push 0x100247e4
add eax, 2
push eax
push ecx
call fcn.1000ded5
push eax
call fcn.10007c80
add esp, 0x14
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x20]
mov byte [esp + 0x30], 1
call fcn.10007e10
mov byte [esp + 0x28], 2
mov eax, dword [eax]
mov esi, dword [eax - 8]
call fcn.10007ac0
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x10031734
je 0x10005a52
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x10005a52
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.1000e356
add esp, 4
mov esi, dword [esp + 0x14]
lea eax, [esi - 0xc]
cmp eax, 0x10031734
je 0x10005a73
add esi, 0xfffffff4
push esi
call ebp
test eax, eax
jg 0x10005a73
push esi
call fcn.1000e356
add esp, 4
mov esi, dword [esp + 0x18]
lea ecx, [esi - 0xc]
cmp ecx, 0x10031734
je 0x10005a95
add esi, 0xfffffff4
push esi
call ebp
test eax, eax
jg 0x10005a95
push esi
call fcn.1000e356
add esp, 4
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
mov al, 1
je 0x10005aa7
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x10006f80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1002068b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100280f0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1000d586
push 4
mov dword [esp + 0x20], 0
call fcn.1000e071
mov edi, eax
add esp, 4
test edi, edi
je 0x10007000
call fcn.1000d7f1
mov dword [edi], eax
call fcn.1000d625
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.1000dc51
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10006ff5
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.1000dc72
jmp 0x10007002
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x100077d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x100206f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x100280f0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.100070e0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10007824
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.10007930
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.100070e0
cmp dword [esp + 0x24], 8
jb 0x1000786a
mov eax, dword [esp + 0x10]
push eax
call fcn.1000dcfa
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret