joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51f9fb
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0051f69f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x51fa45
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004e6e10
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040bdf0
jmp 0x51fa50
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.005285d3
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x51fa56
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0051d44e
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x51fa93
call fcn.0051f69f
mov dword [esi + 0xc], 1
jmp 0x51fa98
call fcn.0051f69f
cmp dword [esi], 0
je 0x51fae1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x51fab9
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004e6e10
jmp 0x51facb
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00404d00
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040bdf0
jmp 0x51fb05
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x51fb05
push dword [esi]
push dword [ebp + 8]
call fcn.005285d3
pop esi
pop ebp
ret 0xc

Function at 0x523364
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x6d6fb0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x5233a9
push 0x674180
push 4
push eax
call fcn.0061cb9e
push eax
call fcn.004086a0
add esp, 0x10
jmp 0x5233bf
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x52343f
push edi
call fcn.00620c01
mov edi, dword [eax]
call fcn.00620c01
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0061e646
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00620c01
cmp dword [eax], 0
je 0x523413
call fcn.00620c01
push dword [eax]
call fcn.00516096
pop ecx
jmp 0x52341a
call fcn.00620c01
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x52343f
cmp dword [ebp - 0x234], esi
jae 0x52343f
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x523441
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.006208a5
leave
ret
Function at 0x5238e6
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x6d6fb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00517ea5
pop ecx
cmp eax, esi
je 0x5239d0
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x5239d0
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.0061b420
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x5239d0
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x5239d0
cmp esi, 0x14
jge 0x5239d0
push 0x10
push 0
push edi
call fcn.006211a5
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x5239bf
call fcn.00620c01
cmp dword [eax], 0x22
je 0x5239bf
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0061ba79
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x523995
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x6ec43c], 0
jne 0x523a5b
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x523a84
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00523364
pop ecx
pop ecx
test eax, eax
jne 0x523a86
inc edi
cmp edi, esi
jl 0x523a61
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006208a5
leave
ret 8
Function at 0x525c69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x525cb1
call fcn.00520431
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x525cb1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x525cf4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x525cdd
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x525cdd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x525cf1
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x52b3a7
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6d6fb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x52b3dc
xor eax, eax
jmp 0x52b42f
lea eax, [ebp - 0x210]
push eax
call fcn.0061ba79
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x52b40d
push 0x65abec
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.006204f1
add esp, 0xc
test eax, eax
jne 0x52b3d8
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.006204f1
add esp, 0xc
test eax, eax
jne 0x52b3d8
lea eax, [ebp - 0x210]
push eax
call fcn.00517ea5
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.006208a5
leave
ret
Function at 0x53b92e
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.005771b1
call fcn.0051fdce
cmp dword [eax + 0x14], 0
jne 0x53b94b
mov ecx, esi
pop esi
jmp fcn.0053b433
pop esi
ret

Function at 0x53f976
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0051680a
call fcn.0051fdce
cmp dword [eax + 0x14], 0
jne 0x53f993
mov ecx, esi
pop esi
jmp fcn.0053f349
pop esi
ret

Function at 0x57ad8f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x57ada9
call fcn.00520431
mov esi, dword [eax + 0xc]
push dword [0x6ee0e8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x57adc7
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x57adbf
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x57adf4
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x57adc1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0057acbd
mov esi, eax
jmp 0x57ade6

Function at 0x60042e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x600446
mov edi, dword [esi + 0xc]
jmp 0x600486
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x60045f
call fcn.00514149
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x600474
call fcn.00514149
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x600486
call fcn.00514149
call fcn.00520431
cmp dword [eax + 0x3c], 0
je 0x60049b
push edi
mov ecx, ebx
call fcn.005ff246
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00600348
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x6004b9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x6004c5
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x6208a5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d6fb0]
jne 0x6208af
repz ret
jmp fcn.00628c8e
Function at 0x62dd48
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6d6fb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00622fbb
and dword [ebp - 0x14], 0
cmp dword [0x6f0c5c], 0
mov dword [ebp - 0x18], eax
jne 0x62ddfb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x62dea3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6992b8
push ebx
call edi
test eax, eax
je 0x62dea3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x6992a8
push ebx
mov dword [0x6f0c5c], eax
call edi
push eax
call esi
push 0x699294
push ebx
mov dword [0x6f0c60], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x6f0c64], eax
call edi
push eax
call esi
mov dword [0x6f0c6c], eax
test eax, eax
je 0x62ddfb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x6f0c68], eax
mov eax, dword [0x6f0c68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x62de54
cmp dword [0x6f0c6c], ecx
je 0x62de54
push eax
call esi
push dword [0x6f0c6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x62de54
test ebx, ebx
je 0x62de54
call edi
test eax, eax
je 0x62de4b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x62de4b
test byte [ebp - 8], 1
jne 0x62de54
or dword [ebp + 0x10], 0x200000
jmp 0x62de87
mov eax, dword [0x6f0c60]
cmp eax, dword [ebp - 0x18]
je 0x62de87
push eax
call esi
test eax, eax
je 0x62de87
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x62de87
mov eax, dword [0x6f0c64]
cmp eax, dword [ebp - 0x18]
je 0x62de87
push eax
call esi
test eax, eax
je 0x62de87
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6f0c5c]
call esi
test eax, eax
je 0x62dea3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x62dea5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006208a5
leave
ret
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x28026d8b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x41ab4a87
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x423fcc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4240f1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423dd4
mov esi, eax
mov eax, dword [0x4dd988]
cmp byte [eax], 0
je 0x424099
mov eax, dword [0x4dd7d4]
call fcn.0040758c
call fcn.00406f60
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x423f9c]
call fcn.0040bb74
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x42410c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x4240d5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4dd798]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e1634]
call fcn.0040bf64
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4240f8
lea eax, [ebp - 4]
mov edx, dword [0x423f9c]
call fcn.0040bc98
ret
Function at 0x47dc9c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x47dca4
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4b5298
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b5336
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4b52fa
cmp byte [ebx + 0x11], 0
jne 0x4b52fa
cmp byte [ebx + 0x24], 0
jne 0x4b52fa
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4b531b
lea edx, [ebp - 4]
mov eax, dword [0x4dd944]
call fcn.0040ec04
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48d354]
call fcn.0042411c
call fcn.00409134
jmp 0x4b531b
lea edx, [ebp - 8]
mov eax, dword [0x4dd944]
call fcn.0040ec04
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x48d354]
call fcn.0042411c
call fcn.00409134
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b533d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409b18
ret

Function at 0x4b5b50
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b5b9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004b5118
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b5bb7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b5bc0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004b5118
dec esi
jne 0x4b5be2
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x401220
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x407040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x23c], ebx
cmp ebx, 0xffffffff
je 0x401321
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40131a
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x254]
call fcn.00402b80
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x40128f
mov ecx, dword [edi]
cmp dword [eax + 0x14], 7
mov esi, eax
jbe 0x401299
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
cmp edx, dword [edi + 0x10]
jne 0x4012bc
test edx, edx
je 0x4012b8
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4012bc
add ecx, 2
sub edx, 1
jne 0x4012a7
mov bl, 1
jmp 0x4012be
xor bl, bl
mov ecx, dword [ebp - 0x240]
cmp ecx, 7
jbe 0x4012fa
mov edx, dword [ebp - 0x254]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4012f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401334
push ecx
push edx
call fcn.0040356d
add esp, 8
test bl, bl
jne 0x40133a
mov ebx, dword [ebp - 0x23c]
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401273
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040352f
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040352f
mov esp, ebp
pop ebp
ret
Function at 0x401360
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404390
mov eax, dword fs:[0]
push eax
mov eax, 0x10bc
call fcn.00404340
mov eax, dword [0x407040]
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 ebx, edx
mov esi, ecx
push 0
push 0
push 0
push 1
push str.HTTPGET
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x4013d7
cmp dword [esi + 0x14], 7
jbe 0x4013b7
mov esi, dword [esi]
push 0
push 0x80000000
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x4013de
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x401501
push 0xb0
lea eax, [ebp - 0x10c8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebx + 0x14], 7
jbe 0x4013fc
mov ebx, dword [ebx]
sub esp, 0xc
lea ecx, [ebp - 0x10c8]
push ebx
call fcn.00402f30
mov eax, dword [ebp - 0x10c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x10c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10cc], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10c8]
mov eax, dword [ebp - 0x10c8]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
test al, al
je 0x401465
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
xor bl, bl
jmp 0x4014f4
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call ebx
test eax, eax
je 0x4014bf
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x4014bf
push 0
push eax
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x10c8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call ebx
test eax, eax
jne 0x401485
lea ecx, [ebp - 0x10c4]
call fcn.00402ea0
test eax, eax
jne 0x4014e6
push eax
mov eax, dword [ebp - 0x10c8]
lea ecx, [ebp - 0x10c8]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov bl, 1
lea ecx, [ebp - 0x10c8]
call fcn.00401520
mov al, bl
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.0040352f
mov esp, ebp
pop ebp
ret