joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48da7a
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.0048e732
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.0048dbda
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x48dbc4
test ebx, ebx
jl 0x48db68
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd43ede
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48db89
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x48db7b
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.0048f54a
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.0048f54a
add esp, 8
mov ebx, 0x80070057
jmp 0x48db68
Function at 0x4a473a
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.004a53f2
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.004a489a
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a4884
test ebx, ebx
jl 0x4a4828
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd5ab9e
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a4849
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x4a483b
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.004a620a
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.004a620a
add esp, 8
mov ebx, 0x80070057
jmp 0x4a4828
Function at 0x4b8945
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c1338
cmp edx, dword [eax]
je 0x4b8967
add eax, 8
inc ecx
cmp eax, 0x4c13c8
jl 0x4b8958
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c1338]
jne 0x4b8a95
mov eax, dword [0x4c5cbc]
cmp eax, 1
je 0x4b8a6f
test eax, eax
jne 0x4b8998
cmp dword [0x4c1264], 1
je 0x4b8a6f
cmp edx, 0xfc
je 0x4b8a95
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b89cf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004b9330
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004b97c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b8a12
lea eax, [ebp - 0x1a4]
push eax
call fcn.004b97c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bdb94
push edi
call fcn.004bb690
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004b9330
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b9340
lea eax, [ebp - 0xa0]
push 0x4bdb74
push eax
call fcn.004b9340
push dword [esi + 0x4c133c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b9340
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bb604
add esp, 0x2c
pop edi
jmp 0x4b8a95
lea eax, [ebp + 8]
lea esi, [esi + 0x4c133c]
push 0
push eax
push dword [esi]
call fcn.004b97c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x94b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0094b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x94b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94b06a
add dl, dl
jne 0x94b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94b0dc
xor eax, eax
add dl, dl
jne 0x94b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94b17d
add dl, dl
jne 0x94b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x94b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x94b075
mov eax, 1
add dl, dl
jne 0x94b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x94b0e1
sub eax, ebx
mov ebx, 1
jne 0x94b128
mov ecx, 1
add dl, dl
jne 0x94b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x94b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x94b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x94b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x94b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x94b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x94b136
cmp eax, 0x7d00
jae 0x94b16d
cmp eax, 0x500
jb 0x94b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x94b075
cmp eax, 0x7f
ja 0x94b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x94b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x94b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x94b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x403e59
pop dword [ebp - 0x18]
mov eax, 0x403e59
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x3f87d9a4
add dword [ebp - 0x28], 0xeca6ba7
mov dword [ebp - 0x24], 0x6ee768b8
sub dword [ebp - 0x24], 0x3cb41c73
mov dword [ebp - 0x20], 0xfdcb951e
sub dword [ebp - 0x20], 0xb17f50f0
mov dword [ebp - 0x1c], 0xb05fbab9
sub dword [ebp - 0x1c], 0xb05fbab9
lea eax, [ebp - 0x28]
push eax
mov eax, 0x211c10b8
sub eax, 0x20dba054
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xede0c0a
sub dword [ebp - 0x28], 0x9a6ba2b4
mov dword [ebp - 0x24], 0x73debbee
sub dword [ebp - 0x24], 0x32725a79
mov dword [ebp - 0x20], 0xe21837ed
add dword [ebp - 0x20], 0x8157347f
mov dword [ebp - 0x1c], 0x756acc97
add dword [ebp - 0x1c], 0x8a953369
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x38cb1
push 0
call eax
mov ecx, 0x502f
xor edi, edi
add edi, eax
mov edx, 0x410000
add edx, dword [ebp - 0x18]
mov esi, 0x8c487604
sub esi, 0x71d8feca
mov ebx, dword [edx]
sub dword [ebp - 8], 0x790a3be
sub ebx, esi
add dword [ebp - 0xc], eax
mov dword [edi], ebx
xor dword [ebp - 4], ebx
add edi, 0x648d0855
sub edi, 0x648d0851
add edx, 4
loop 0x403f67
add eax, 0x1338f
mov ebx, eax
add eax, 0xd10b8d97
add eax, 0x2ef4726e
mov ecx, 0xd22bd457
add ecx, 0x2e142ba9
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x8356ec
Capabilities:
Encode data using xor

Disassembly:
jmp 0x8356f6
pushal
call 0x8356fc
pop ebp
sub ebp, 0x10
sub ebp, 0x4356ec
jmp 0x835712
mov eax, 0x4356ec
add eax, ebp
add eax, 0x4c
mov ecx, 0x613
mov edx, 0xb375b8cf
xor byte [eax], dl
inc eax
dec ecx
jne 0x835729
jmp 0x83573c
inc esp
add al, byte [esi + eax*2 - 0xd]
iretd
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x450004]
jne 0x40100a
repz ret
jmp fcn.00401858

Function at 0x408aa5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406172
and dword [ebp - 4], 0
cmp dword [0x4560bc], 0
mov ebx, eax
jne 0x408b56
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c07
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c07
push eax
call fcn.00406100
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4560bc], eax
call esi
push eax
call fcn.00406100
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4560c0], eax
call esi
push eax
call fcn.00406100
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4560c4], eax
call esi
push eax
call fcn.00406100
pop ecx
mov dword [0x4560cc], eax
test eax, eax
je 0x408b56
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406100
pop ecx
mov dword [0x4560c8], eax
mov eax, dword [0x4560c8]
cmp eax, ebx
je 0x408bae
cmp dword [0x4560cc], ebx
je 0x408bae
push eax
call fcn.0040617b
push dword [0x4560cc]
mov esi, eax
call fcn.0040617b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bae
test edi, edi
je 0x408bae
call esi
test eax, eax
je 0x408ba5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408ba5
test byte [ebp - 0xc], 1
jne 0x408bae
or dword [ebp + 0x10], 0x200000
jmp 0x408be7
mov eax, dword [0x4560c0]
cmp eax, ebx
je 0x408be7
push eax
call fcn.0040617b
pop ecx
test eax, eax
je 0x408be7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408be7
mov eax, dword [0x4560c4]
cmp eax, ebx
je 0x408be7
push eax
call fcn.0040617b
pop ecx
test eax, eax
je 0x408be7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4560bc]
call fcn.0040617b
pop ecx
test eax, eax
je 0x408c07
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c09
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b962
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
xor esi, esi
cmp dword [0x236d8f4], 0x930
jne 0x40b98a
push str.hidipezilac
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x236d8f4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x236d610], eax
jne 0x40b9bc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
lea eax, [ebp - 0x1c]
push eax
push str.receyodat
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
leave
ret
Function at 0x409b34
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6c72fc]
push ebx
jmp 0x57b56a
mov ebx, dword [0x6c7658]
cmp ebx, edi
jne 0x41333a
push 0x40
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [0x6c7658], ebx
jmp 0x558f11
mov eax, dword [0x6c765c]
jmp 0x558f02
mov dword [ebp - 4], edi
mov dword [0x68053d], 0x7ffeffff
mov dword [0x680551], 0x3000
mov dword [0x680560], 0x40
mov edx, ebx
add edx, 0x400
mov dword [0x6805ab], edx
adc eax, edi
mov dword [0x6805af], eax
lea ecx, [ebx + 0x100]
mov dword [0x6800cd], ecx
lea eax, [ebp - 8]
cdq
mov dword [0x6805c0], edx
mov edx, dword [ebp - 0x14]
mov dword [0x6805bc], eax
movzx eax, word [ebp - 0xc]
push 0x48d670
ret
push eax
call fcn.00599376
mov ebx, dword [0x6c7658]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x680529], edx
mov edx, dword [ebp + 0x10]
mov dword [0x68052d], eax
mov eax, dword [ebp + 0x14]
mov dword [0x680533], edx
mov dword [0x680547], eax
xor eax, eax
mov dword [0x680541], edi
mov dword [ebp - 8], edi
jmp 0x4d6ade
jmp 0x41330c
cmp eax, 2
jne 0x57a636
lea esi, [eax + 0x14]
jmp 0x41330c
cmp eax, 3
jne 0x41330c
lea esi, [eax + 0x14]
jmp 0x41330c
cmp eax, 0xa
jne 0x41330c
lea esi, [eax + 0xe]
jmp dword [0x57a65a]
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], 0xb8d18b4c
mov word [ebp - 0xc], 0x50f
mov byte [ebp - 0xa], 0xc3
cmp eax, 6
jne 0x57a647
mov eax, dword [0x6c7300]
cmp eax, 1
jne 0x57a625
lea esi, [edi + 0x15]
jmp 0x57a620
Function at 0x415c16
Capabilities:
Encode data using xor
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3e4], ebx
test eax, eax
je 0x48e209
test ebx, ebx
je 0x48e209
push 0xff
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3e0]
push ecx
jmp 0x48317a
inc eax
test cl, cl
jne 0x4831c3
mov edx, dword [ebp - 0x3e0]
push 1
lea eax, [ebp - 0x3dc]
push eax
push 0
push 0
mov byte [ebp + edx - 0x10c], 0
mov dword [ebp - 0x3dc], 0x1a8
call dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
lea eax, [ebp - 0x3b8]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45238e
lea edi, [ebp - 0x10c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
jmp 0x5aa0f8
lea edx, [ebp - 0x10c]
push edx
mov dword [ebp - 0x3e0], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x45235b
lea ecx, [eax + 1]
imul ecx, ecx, 0x7b11
xor cx, word [eax*2 + 0x5beb20]
inc eax
mov word [ebp + eax*2 - 0x236], cx
cmp eax, 5
jl 0x483199
xor eax, eax
jmp 0x4831c3
mov cl, byte [ebp + eax - 0x234]
mov byte [ebp + eax - 0x10c], cl
jmp 0x452352
mov eax, ebx
xor esi, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a568
sub eax, edx
mov dword [ebp - 0x3e0], eax
mov al, byte [ebp - 0x10c]
xor ecx, ecx
test al, al
je 0x538c18
mov bl, al
lea ecx, [ecx]
mov eax, ecx
cdq
idiv dword [ebp - 0x3e0]
mov eax, dword [ebp - 0x3e4]
inc ecx
movzx edx, byte [edx + eax]
jmp 0x538c02
mov ecx, dword [ebp - 8]
jmp dword [0x48e213]
movzx eax, bl
mov bl, byte [ebp + ecx - 0x10c]
xor edx, eax
add esi, edx
test bl, bl
jne 0x48a590
mov eax, 0x2aaaaaab
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
xor eax, eax
add ecx, ecx
mov edx, 4
sub edx, ecx
mov dword [ebp - 0x134], eax
push 0x428eac
ret
inc edi
test cl, cl
jne 0x4523a2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp byte [0x6c7550], 0
rep movsb byte es:[edi], byte [esi]
jne 0x48a55a
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x10c]
mov byte [eax + 0x6c7550], cl
inc eax
test cl, cl
jne 0x5aa127
jmp 0x48a55a
Function at 0x41eeb5
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x6c753c]
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x470499
push edi
mov eax, dword [ebp + 0xc]
sub eax, esi
cmp eax, 0x100000
jle 0x582a18
mov eax, 0x100000
jmp 0x582a18
cmp edi, 0xffffffff
pop edi
jne 0x470499
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push eax
mov eax, dword [ebp + 8]
lea ecx, [esi + eax]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jle 0x470486
mov eax, dword [0x6c7540]
add esi, edi
mov dword [ebp - 8], esi
test eax, eax
je 0x582a61
fild dword [ebp - 4]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp - 8]
fstp dword [esp + 4]
fild dword [ebp + 0xc]
fstp dword [esp]
call eax
cmp esi, dword [ebp + 0xc]
jl 0x41eecf
jmp dword [0x582a73]

Function at 0x43205e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x6c7650], 0
jne 0x4cbaa4
push 0x1000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [0x6c740c], eax
mov byte [0x6c7650], 1
jmp 0x4cbaa4
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x6c740c]
lea edx, [ecx + eax*2]
xor eax, eax
mov dword [esi], edx
test edi, edi
jle 0x4cbadd
lea ebx, [ebx]
mov edx, dword [esi]
lea ecx, [eax + 1]
imul ecx, dword [ebp + 8]
xor cx, word [ebx + eax*2]
inc eax
mov word [edx + eax*2 - 2], cx
cmp eax, edi
jl 0x4cbac2
mov eax, esi
pop ebp
ret 8
Function at 0x436c17
Capabilities:
Terminate process

Disassembly:
cmp dword [0x68206c], ebx
jne 0x42b573
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x682068]
call fcn.004d11a6
ret
push 0x40100a
call fcn.00401000
call fcn.00447737
jmp 0x4756de
push 0x10
push 0x5bec68
jmp 0x575812
mov dword [0x68206c], esi
mov eax, dword [0x8956d8]
cmp eax, esi
jne 0x534c9e
push 0x5be164
push 0x5be15c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x8956d8], 2
cmp dword [ebp - 0x1c], ebx
jne 0x53bb7c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x53bb7c
cmp dword [0x8956e0], ebx
je 0x53bba5
push 0x8956e0
call fcn.00581be3
pop ecx
test eax, eax
je 0x53bba5
push ebx
push 2
push ebx
call dword [0x8956e0]
push dword [0x682054]
push dword [0x682058]
push dword [0x682050]
call fcn.00559e4e
add esp, 0xc
jmp 0x59f72e
call fcn.00536576
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x8956dc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x59c6e6
cmp eax, esi
jne 0x575851
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x59c6e9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x57582d
xor esi, esi
inc esi
mov eax, dword [0x8956d8]
cmp eax, esi
jne 0x59c703
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x534c76
mov eax, dword [0x8956d8]
test eax, eax
jne 0x534c70
mov dword [0x8956d8], esi
push 0x5be174
push 0x5be168
call fcn.00452512
pop ecx
pop ecx
test eax, eax
je 0x534c76
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x42b57f
mov dword [0x682068], eax
cmp dword [0x68205c], ebx
jne 0x42b561
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret

Function at 0x4553e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
jmp 0x482636
mov edi, eax
xor eax, eax
jmp 0x47861d
lea ecx, [eax + 1]
imul ecx, ecx, 0x4f5a
xor cx, word [eax*2 + 0x5be19c]
inc eax
mov word [ebp + eax*2 - 0x30a], cx
cmp eax, 5
jl 0x47861d
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [eax + 0x3c]
mov edx, dword [0x6c72fc]
jmp dword [0x47865e]
mov ebp, esp
sub esp, 0x30c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x10043a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x114
push 0
push 0x6c72f8
mov dword [0x6c7410], eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, 0x6c72f8
mov dword [0x6c72f8], 0x114
call fcn.004cbae3
jmp 0x478614
Function at 0x49b187
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x4eef88
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x6cba8c], cl
jne 0x555856
or dword [0x6cba8c], ecx
xor eax, eax
jmp 0x4eefb6
lea edx, [eax + 1]
imul edx, edx, 0xe1e
xor dx, word [eax*2 + 0x5be598]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x4eefb6
xor eax, eax
lea edx, [eax + 1]
jmp 0x58cbd6
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6cba88], eax
push 0
push 0x18
push edi
push 0
push esi
call dword [0x6cba88]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004524fe
mov esp, ebp
pop ebp
ret
imul edx, edx, 0x5f04
xor dx, word [eax*2 + 0x5be5b4]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x4eefdc
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x55584a