joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485a30
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4e2fec
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xdc]
xor esi, esi
cmp ebp, esi
jne 0x485a7f
xor eax, eax
jmp 0x485c3a
lea ecx, [esp + 0x18]
call fcn.00485650
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xd8], esi
call fcn.00485780
add esp, 4
mov ebx, 1
mov byte [esp + 0xd4], bl
mov edx, dword [0x5143ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143ac
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xdc], 2
call fcn.00485890
add esp, 8
mov byte [esp + 0xd4], 3
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov esi, dword [eax - 0xc]
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
jle 0x485b2a
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004168d0
mov eax, dword [esp + 0x18]
push esi
push eax
lea edi, [esp + 0x30]
call fcn.00489490
mov eax, dword [esp + 0x28]
mov esi, dword [eax - 0xc]
add esp, 8
cmp dword [eax - 4], ebx
jle 0x485b55
mov edx, esi
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004168d0
mov eax, dword [esp + 0x20]
push esi
push eax
lea edi, [esp + 0x30]
call fcn.00489490
mov eax, dword [esp + 0x24]
mov esi, dword [eax - 0xc]
add esp, 8
cmp dword [eax - 4], ebx
jle 0x485b80
mov ecx, esi
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004168d0
mov eax, dword [esp + 0x1c]
push esi
push eax
lea edi, [esp + 0x30]
call fcn.00489490
push ebp
mov esi, edi
call fcn.00489550
mov byte [esp + 0xe0], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd4], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485be5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd4], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485c0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xd4], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485c38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004b84de
add esp, 0xc4
ret
Function at 0x486440
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [esi + 4], 0
jne 0x4864e8
push edi
push 0x208
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.004be320
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xc
push 0x4f6344
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.004bc834
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x10
call edi
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
call edi
cmp dword [esi + 4], 0
pop edi
jne 0x4864e8
or dword [esi + 0x1c], 1
xor eax, eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004b84de
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov eax, 1
call fcn.004b84de
add esp, 0x210
ret
Function at 0x486c10
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
sub esp, 0x78
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
push esi
mov esi, dword [eax]
xor eax, eax
cmp esi, 0xffffffff
push edi
mov edi, ecx
je 0x486ce0
push 0x44
push eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
call fcn.004be320
mov eax, dword [edi]
or dword [esp + 0x50], 0x101
add esp, 0xc
mov dword [esp + 0x50], esi
mov ecx, 7
mov esi, str.ipconfig__all
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x8000000
push 1
push 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
push 0
lea eax, [esp + 0x80]
push eax
push 0
mov dword [esp + 0x40], 0x44
mov word [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
jne 0x486cca
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004b84de
add esp, 0x78
ret 4
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
mov eax, esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.004b84de
add esp, 0x78
ret 4
Function at 0x486d00
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e1596
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x414], eax
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov eax, dword [esp + 0x438]
mov edx, dword [0x5143ac]
mov ebp, dword [esp + 0x43c]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0xc]
mov esi, ecx
mov ecx, 0x5143ac
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x430], 0
mov eax, dword [esi]
test eax, eax
je 0x486d90
cmp eax, 0xffffffff
je 0x486d90
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x486ed9
mov dword [esi], 0xffffffff
mov eax, dword [ebp]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x400
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x486e66
mov edi, dword [esp + 0x18]
test edi, edi
je 0x486e66
mov edx, dword [0x5143ac]
mov eax, dword [edx]
push 1
push edi
mov ecx, 0x5143ac
call eax
test eax, eax
je 0x486f04
test edi, edi
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
jl 0x486f09
cmp edi, dword [esi - 8]
jg 0x486f09
push edi
lea ecx, [esp + 0x28]
push ecx
push edi
mov dword [esi - 0xc], edi
push esi
mov byte [edi + esi], 0
call fcn.004b8503
add esp, 0x10
mov byte [esp + 0x430], 1
mov eax, dword [esi - 0xc]
push eax
push esi
lea edx, [esp + 0x1c]
push edx
call fcn.00432230
lea eax, [esi - 0x10]
mov byte [esp + 0x430], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486e43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x400
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x486db3
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x18]
call fcn.00486f20
push esi
call fcn.00487970
push esi
call fcn.00487e30
mov dword [esp + 0x430], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486eab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004b84de
add esp, 0x424
ret 8
lea eax, [edi - 0x10]
mov dword [esp + 0x430], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486f00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x486eb0
call fcn.00401200
push 0x80070057
call fcn.00401340
int3
Function at 0x489810
Capabilities:
Create thread

Disassembly:
sub esp, 0xf8
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0xf0], eax
cmp dword [0x5158cc], 0
push ebp
push esi
push edi
mov esi, ecx
je 0x48984f
mov eax, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.004b84de
add esp, 0xf8
ret
call fcn.0048a090
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x489860
sub eax, edx
sar eax, 1
push eax
push esi
mov esi, 0x5158a0
call fcn.004024d0
xor eax, eax
push 0xc6
push eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov word [esp + 0x29], ax
mov byte [esp + 0x2b], al
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov word [esp + 0x38], ax
lea eax, [esp + 0x3a]
push eax
mov dword [0x5158cc], 1
mov byte [esp + 0x1c], 0
call fcn.004be320
add esp, 0xc
push 1
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4f63f0
lea ecx, [esp + 0x38]
push 0x63
push ecx
call fcn.004b8afa
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0x10
lea edx, [esp + 0x30]
push edx
push 1
push 1
lea eax, [esp + 0x30]
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
mov eax, dword [0x515894]
test eax, eax
je 0x48993c
push eax
call ebp
push 0
push 0
push 0
push 0
mov dword [0x515894], edi
call esi
mov esi, eax
mov eax, dword [0x515898]
test eax, eax
je 0x48995a
push eax
call ebp
cmp dword [0x515894], 0
mov dword [0x515898], esi
je 0x4899ba
test esi, esi
je 0x4899ba
push 0
push 0
push 0x515890
push 0x489e30
push 0
push 0
call fcn.004b9394
mov esi, eax
mov eax, dword [0x51589c]
add esp, 0x18
test eax, eax
je 0x489995
push eax
call ebp
xor eax, eax
test esi, esi
mov dword [0x51589c], esi
setne al
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.004b84de
add esp, 0xf8
ret
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004b84de
add esp, 0xf8
ret

Function at 0x48a000
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [eax + 0x2c], 0
push esi
lea esi, [eax + 0x2c]
jne 0x48a081
cmp dword [eax + 0x28], 8
jb 0x48a016
mov eax, dword [eax + 0x14]
jmp 0x48a019
add eax, 0x14
push 0x4f64a8
push eax
push esi
call fcn.004b8e8c
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x48a081
push edi
push 2
push 0
push eax
call fcn.004bd7e9
mov eax, dword [esi]
push eax
call fcn.004bd1c5
mov ecx, dword [esi]
push 0
push 0
push ecx
mov edi, eax
call fcn.004bd7e9
add esp, 0x1c
test edi, edi
pop edi
jne 0x48a081
mov edx, dword [esi]
push edx
push 2
lea eax, [esp + 0xc]
mov word [esp + 0xd], 0
push 1
push eax
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], 0xfe
mov byte [esp + 0x16], 0
call fcn.004b903b
add esp, 0x10
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
pop ecx
ret
Function at 0x48a090
Capabilities:
Get file size
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4e2f98
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x5158a4]
mov ebx, 8
cmp dword [0x5158b8], ebx
jae 0x48a0cd
mov eax, 0x5158a4
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48a1a6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x48a103
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x80000
jb 0x48a1a6
cmp dword [0x5158b8], ebx
mov ecx, dword [0x5158a4]
jae 0x48a129
mov ecx, 0x5158a4
lea eax, [esp + 0x14]
push eax
call fcn.004099e0
lea esi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.0048a1c0
cmp dword [0x5158b8], ebx
mov edi, dword [0x5158a4]
jae 0x48a157
mov edi, 0x5158a4
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push esi
call ebx
push 1
push esi
call fcn.0048b910
add esp, 8
push 0
push edi
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a1a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x48a6a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e150b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x228], eax
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x36]
push edi
push eax
mov dword [esp + 0x38], edi
mov word [esp + 0x3c], di
call fcn.004be320
mov eax, 1
add esp, 0xc
test byte [0x5161dc], al
lea ebp, [edi + 7]
jne 0x48a72e
or dword [0x5161dc], eax
push 0x4e6dd0
mov dword [0x5161d8], ebp
mov dword [0x5161d4], edi
mov word [0x5161c4], di
call fcn.004b9683
add esp, 4
cmp dword [0x5161d4], edi
jne 0x48a7c0
push 0x104
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x30]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x48a760
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x34]
push edx
lea esi, [esp + 0x18]
call fcn.004024d0
push 0xffffffffffffffff
push edi
mov eax, esi
mov ecx, 0x5161c0
mov dword [esp + 0x24c], edi
call fcn.00402090
mov dword [esp + 0x244], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x48a7b3
mov eax, dword [esp + 0x14]
push eax
call fcn.004b84d9
add esp, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
push 0xffffffffffffffff
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], edi
push edi
mov eax, 0x5161c0
mov ecx, ebx
mov word [ebx + 4], di
call fcn.00402090
mov eax, ebx
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004b84de
add esp, 0x238
ret
Function at 0x48a810
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e150b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x228], eax
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x36]
push edi
push eax
mov dword [esp + 0x38], edi
mov word [esp + 0x3c], di
call fcn.004be320
mov eax, 1
add esp, 0xc
test byte [0x5161bc], al
lea ebp, [edi + 7]
jne 0x48a89e
or dword [0x5161bc], eax
push 0x4e6e00
mov dword [0x5161b8], ebp
mov dword [0x5161b4], edi
mov word [0x5161a4], di
call fcn.004b9683
add esp, 4
cmp dword [0x5161b4], edi
jne 0x48a930
push 0x104
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x30]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x48a8d0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x34]
push edx
lea esi, [esp + 0x18]
call fcn.004024d0
push 0xffffffffffffffff
push edi
mov eax, esi
mov ecx, 0x5161a0
mov dword [esp + 0x24c], edi
call fcn.00402090
mov dword [esp + 0x244], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x48a923
mov eax, dword [esp + 0x14]
push eax
call fcn.004b84d9
add esp, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
push 0xffffffffffffffff
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], edi
push edi
mov eax, 0x5161a0
mov ecx, ebx
mov word [ebx + 4], di
call fcn.00402090
mov eax, ebx
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004b84de
add esp, 0x238
ret
Function at 0x48b3c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e13e8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor ebp, ebp
mov ebx, edx
mov eax, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebp
mov word [esp + 0x54], bp
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x48b410
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x58]
call fcn.004024d0
mov dword [esp + 0x78], ebp
mov eax, dword [ebx + 0x14]
push 0x4ebcc4
mov edi, 1
mov ecx, ebx
call fcn.004146a0
test eax, eax
push 0xffffffffffffffff
push ebp
jne 0x48b45c
mov eax, esi
mov ecx, ebx
call fcn.00402090
cmp dword [esp + 0x68], 8
jmp 0x48b5b6
mov eax, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
call fcn.00402090
lea eax, [esp + 0x18]
mov byte [esp + 0x78], 1
call fcn.0048af50
cmp dword [esp + 0x64], ebp
jbe 0x48b4f5
mov edx, dword [esp + 0x2c]
cmp edx, ebp
jbe 0x48b4f5
lea edi, [edx - 1]
cmp edi, edx
jbe 0x48b4a4
call fcn.004b9c0e
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0x48b4b7
lea eax, [esp + 0x1c]
movzx ecx, word [eax + edi*2]
xor eax, eax
lea ecx, [ecx]
cmp cx, word [eax + 0x4ec240]
je 0x48b4fa
add eax, 2
cmp eax, 4
jb 0x48b4c0
lea esi, [esp + 0x18]
mov edi, edx
call fcn.0047ba40
add eax, 1
cmp eax, edi
je 0x48b4f5
push 0x5c
mov eax, 1
mov ebx, esi
call fcn.0047c6b0
mov ebx, dword [esp + 0x14]
mov esi, 8
lea edi, [esp + 0x18]
call fcn.0048b1a0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x58]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebp
mov word [esp + 0x40], bp
call fcn.00402090
lea eax, [esp + 0x34]
mov byte [esp + 0x78], 2
call fcn.0047c210
cmp dword [esp + 0x4c], esi
mov edx, dword [esp + 0x38]
jae 0x48b540
lea edx, [esp + 0x38]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x48b545
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00403530
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x20]
mov ecx, ebx
call fcn.00402090
cmp dword [esp + 0x4c], esi
jb 0x48b580
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004b84d9
add esp, 4
cmp dword [esp + 0x30], esi
mov edi, 7
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], bp
jb 0x48b5a5
mov edx, dword [esp + 0x1c]
push edx
call fcn.004b84d9
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
jb 0x48b5c5
mov eax, dword [esp + 0x54]
push eax
call fcn.004b84d9
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004b84de
add esp, 0x68
ret
Function at 0x48b710
Capabilities:
Check for peb beingdebugged flag
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4e2eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov eax, edi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48b761
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x18]
call fcn.004024d0
push edi
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48b7a1
cmp dword [esp + 0x28], 8
jb 0x48b822
mov eax, dword [esp + 0x14]
push eax
jmp 0x48b81a
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push edi
call esi
test eax, eax
jne 0x48b80e
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0xb7
je 0x48b80e
lea ecx, [esp + 0x10]
push ecx
call fcn.0048b5f0
add esp, 4
cmp dword [esp + 0x24], 0
jne 0x48b7e0
lea esi, [esp + 0x10]
call fcn.00416cb0
xor eax, eax
jmp 0x48b827
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x48b7ef
lea eax, [esp + 0x14]
push eax
call fcn.0048b710
add esp, 4
test eax, eax
je 0x48b7d3
push 0
push edi
call esi
test eax, eax
jne 0x48b80e
call ebp
cmp eax, 0xb7
jne 0x48b7d3
cmp dword [esp + 0x28], 8
jb 0x48b822
mov edx, dword [esp + 0x14]
push edx
call fcn.004b84d9
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004b84de
add esp, 0x2c
ret

Function at 0x48b850
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
xor ebx, ebx
push 0x228
lea eax, [esp + 0x10]
push ebx
push eax
mov dword [esp + 0x14], ebx
call fcn.004be320
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x48b8f5
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x48b8ee
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov edi, edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x48b8d7
cmp eax, ebx
je 0x48b8d7
cmp eax, 4
je 0x48b8d7
lea edx, [esp + 0x30]
push str.QQPCRtp.exe
push edx
call fcn.004b9e54
add esp, 8
test eax, eax
je 0x48b8e8
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48b8b0
jmp 0x48b8ed
mov ebx, 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004b84de
add esp, 0x230
ret