joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b588
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x328], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push edi
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x324], ecx
mov dword [ebp - 0x330], 0x1000
cmp eax, ecx
je 0x408247
mov byte [eax], cl
mov byte [eax + 0xff], cl
lea ebx, [ebp - 0x330]
lea edi, [ebp - 0x324]
call fcn.004b33c9
xor ebx, ebx
mov dword [ebp - 0x1c], 0x68
jmp 0x4b3796
push ebp
mov ebp, esp
sub esp, 0x33c
jmp 0x408204
cmp eax, 7
jl 0x4b37b7
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x334], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x6f35
xor cx, word [eax*2 + 0x58b5d0]
inc eax
mov word [ebp + eax*2 - 0x222], cx
jmp 0x4ce950
mov dword [ebp - 0x18], 0xb800
mov dword [ebp - 0x14], 0xd0ff0000
mov dword [ebp - 0x10], 0x589
mov dword [ebp - 0xc], 0x4c20000
mov byte [ebp - 8], bl
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x18cd
xor cx, word [eax*2 + 0x58b5c0]
inc eax
mov word [ebp + eax*2 - 0x222], cx
jmp 0x496342
cmp eax, 7
jl 0x496360
lea edx, [ebp - 0x220]
push edx
mov ecx, esi
call fcn.004652bf
add esp, 4
mov edi, eax
xor eax, eax
jmp 0x4ce973
lea ecx, [eax + 1]
imul ecx, ecx, 0x313e
xor cx, word [eax*2 + 0x58b5e0]
inc eax
mov word [ebp + eax*2 - 0x222], cx
cmp eax, 7
jl 0x4ce973
jmp 0x4fbf24
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4335
xor dx, word [eax*2 + 0x58b5f0]
inc eax
mov word [ebp + eax*2 - 0x322], dx
cmp eax, 7
jl 0x4fbf26
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x320]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub edi, dword [ebp - 0x334]
mov edx, dword [ebp - 0x324]
add eax, edi
lea ecx, [edx + 0x100]
jmp 0x508aba
add edx, 0x200
mov dword [ebp - 0xe], edx
mov edx, dword [ebp - 0x328]
mov dword [ebp - 0x16], eax
mov eax, edx
mov dword [ebp - 0x1b], ecx
lea edi, [eax + 1]
lea esp, [esp]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x508adb
push edx
sub eax, edi
push ecx
inc eax
mov ecx, esi
call fcn.004869dc
mov eax, dword [ebp - 0x324]
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, 0x15
mov ecx, esi
jmp 0x50d18a
call fcn.004869dc
mov edi, dword [ebp - 0x324]
xor ebx, ebx
call fcn.00536f4a
mov edi, eax
push 0xfa0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x324]
push ebx
mov dword [ebp - 0x32c], ebx
jmp dword [0x50d1c4]
Function at 0x4354a0
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 0x44782c
test ebx, ebx
je 0x44782c
push 0xff
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
jmp 0x5148a2
mov ecx, dword [ebp - 8]
pop edi
pop esi
jmp 0x51524a
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]
jmp dword [0x465aff]
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3e0]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov dword [ebp - 0x3e0], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x465acc
lea ecx, [eax + 1]
imul ecx, ecx, 0x7b11
xor cx, word [eax*2 + 0x58bb20]
inc eax
mov word [ebp + eax*2 - 0x236], cx
cmp eax, 5
jl 0x5148d0
xor eax, eax
jmp 0x5148fa
mov cl, byte [ebp + eax - 0x234]
push 0x465abc
ret
xor ecx, ebp
xor al, al
pop ebx
call fcn.005481a9
mov esp, ebp
pop ebp
ret

Function at 0x45b8fe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
test edi, edi
jle 0x45b930
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov edx, eax
sub esi, eax
lea ebx, [ecx + 1]
imul ebx, dword [ebp + 8]
xor bx, word [esi + edx]
inc ecx
mov word [edx], bx
add edx, 2
cmp ecx, edi
jl 0x45b914
pop esi
pop ebx
pop ebp
ret 8

Function at 0x46b2bc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [0x694668], ebx
jmp 0x424c01
mov eax, dword [0x69466c]
push eax
call fcn.0055339d
mov ebx, dword [0x694668]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x64d5f9], edx
mov edx, dword [ebp + 0x10]
mov dword [0x64d5fd], eax
mov eax, dword [ebp + 0x14]
mov dword [0x64d603], edx
mov edx, dword [ebp + 0x18]
jmp 0x44c6c8
mov dword [0x64d607], eax
mov eax, dword [ebp + 0x1c]
mov dword [0x64d60d], edx
mov edx, dword [ebp + 0x20]
mov dword [0x64d611], eax
mov eax, dword [ebp + 0x24]
mov dword [0x64d617], edx
mov edx, dword [ebp + 0x28]
mov dword [0x64d61b], eax
mov dword [0x64d621], edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
xor edx, edx
mov eax, ebx
add eax, 0x400
mov dword [0x64d67b], eax
adc edx, edi
push 0x541264
ret
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6942fc]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
jmp 0x523a0a
jne 0x48e29c
lea esi, [eax + 0x36]
jmp 0x48e29c
cmp eax, 0xa
jne 0x48e29c
lea esi, [eax + 0x30]
mov ebx, dword [0x694668]
cmp ebx, edi
jne 0x424bed
push 0x40
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
jmp 0x424be2
mov dword [ebp - 0x14], 0xb8d18b4c
mov word [ebp - 0xc], 0x50f
mov byte [ebp - 0xa], 0xc3
cmp eax, 6
jne 0x48e290
mov eax, dword [0x694300]
cmp eax, 1
jne 0x523a3a
lea esi, [edi + 0x37]
jmp 0x48e29c
cmp eax, 2
jne 0x523a4b
lea esi, [eax + 0x36]
jmp 0x48e29c
cmp eax, 3
jmp 0x48e282
Function at 0x476f0e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x47d9c4
sub esp, 0x540
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0x538], ecx
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x22de
xor dx, word [eax*2 + 0x58b6c0]
inc eax
mov word [ebp + eax*2 - 0x436], dx
cmp eax, 8
jl 0x47d9e1
jmp dword [0x47da0a]

Function at 0x498b97
Capabilities:
Encode data using xor

Disassembly:
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x698a88], eax
push 0
push 0x18
push edi
push 0
push esi
call dword [0x698a88]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005481a9
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x488ad3
lea edx, [eax + 1]
imul edx, edx, 0xe1e
xor dx, word [eax*2 + 0x58b598]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x488ad3
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5f04
xor dx, word [eax*2 + 0x58b5b4]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x488af9
jmp 0x42b54c
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x698a8c], cl
jne 0x42b56c
or dword [0x698a8c], ecx
jmp 0x488acc

Function at 0x4b33c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x563da0
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x33d6
xor cx, word [eax*2 + 0x58b218]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 0xc
jl 0x563db2
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5ec5
xor dx, word [eax*2 + 0x58b234]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
jmp dword [0x563dfa]

Function at 0x4c5b05
Capabilities:
Enumerate pe sections

Disassembly:
cmp edi, ebx
jb 0x414e7e
inc edx
add eax, 0x28
cmp edx, esi
jb 0x4c5b2e
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x414e7c
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x414e70
mov ebx, dword [eax + 8]
add ebx, ecx
jmp 0x414e68
Function at 0x4d1686
Capabilities:
Encode data using xor

Disassembly:
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005481a9
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*8 + 0x100], edx
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax*8 + 0x104], edx
inc dword [ecx + 0x2040]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.005481a9
mov esp, ebp
pop ebp
ret 0xc
imul ecx, ecx, 0x63cd
xor cx, word [eax*2 + 0x58b2f8]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 0xc
jl 0x4d16b1
push 0
push 0
lea edx, [ebp - 0x10c]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005481a9
mov esp, ebp
pop ebp
ret 0xc
xor esi, esi
test eax, eax
jle 0x4df3e9
lea ebx, [edi + 8]
jmp 0x4df3aa
nop
lea edx, [eax + 1]
imul edx, edx, 0x7f0f
xor dx, word [eax*2 + 0x58b314]
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 0xd
jl 0x49ad4b
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x45cc4e
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [edi]
push ebx
push esi
cmp eax, 0x64
jl 0x462ab9
xor eax, eax
lea ecx, [eax + 1]
jmp 0x462a74
mov eax, dword [ebp - 0x110]
push eax
push ebx
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x4df3d7
inc esi
add ebx, 0x2048
cmp esi, dword [edi]
jl 0x4df3aa
jmp 0x4df3e9
imul esi, esi, 0x2048
lea ecx, [esi + edi + 8]
test ecx, ecx
jne 0x50c0c6
mov ecx, dword [edi]
mov eax, dword [ebp - 0x110]
imul ecx, ecx, 0x2048
jmp 0x50c0a4
lea ecx, [ecx + edi + 8]
mov esi, ecx
mov dword [ecx + 0x2040], 0
sub esi, eax
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
test dl, dl
jne 0x50c0b6
inc dword [edi]
mov eax, dword [ecx + 0x2040]
cmp eax, 0x3e8
jl 0x45cc60
xor eax, eax
jmp 0x49ad4a

Function at 0x4dffc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x6279
xor cx, word [eax*2 + 0x58b180]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 7
jl 0x4dffdd
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4593
xor dx, word [eax*2 + 0x58b190]
jmp dword [0x4e001c]
Function at 0x4fa8a6
Capabilities:
Send data
Send data on socket

Disassembly:
mov al, cl
imul dl
mov bl, al
add bl, bl
add al, bl
mov bl, byte [ebp + 0xc]
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 0x4a
jl 0x566a1e
test esi, esi
je 0x476efd
mov dl, bl
call fcn.004fa98d
mov ecx, dword [ebp - 0x5c]
push 0
push edi
push esi
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dl, bl
call fcn.004fa98d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005481a9
mov esp, ebp
pop ebp
ret
sub edx, dword [ebp - 0x58]
xor ecx, ecx
mov word [ebp - 0x56], dx
lea ebx, [ebx]
mov eax, ecx
and eax, 0x80000001
jns 0x480221
dec eax
or eax, 0xfffffffe
inc eax
je 0x480232
mov al, bl
not al
imul cl
jmp 0x5669e8
mov al, cl
imul bl
jmp dword [0x480240]
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
mov eax, dword [0x69453c]
push ebx
mov bl, byte [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x5c], eax
je 0x476ed9
call dword [sym.imp.msvcrt.dll_rand]
mov ecx, 0xbb8
cdq
idiv ecx
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x54], 1
mov byte [ebp - 0x53], bl
mov word [ebp - 0x58], dx
mov edx, ecx
jmp 0x480200
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 0x4a
jl 0x48020f
mov ecx, dword [ebp - 0x5c]
push 0
push 0x50
lea eax, [ebp - 0x58]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp byte [ebp - 0x54], 0
je 0x476ed9
mov dl, byte [ebp - 0x53]
xor ecx, ecx
lea esp, [esp]
mov eax, ecx
and eax, 0x80000001
jns 0x566a30
dec eax
or eax, 0xfffffffe
inc eax
je 0x476ebe
mov al, dl
not al
imul cl
jmp 0x476ecb
Function at 0x504e79
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc eax
mov word [ebp + eax*2 - 0x30e], cx
cmp eax, 4
jl 0x4fb900
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
add esp, 0xc
push edx
mov edx, dword [ebp - 0x418]
push ebx
push eax
push edi
lea ecx, [ebp - 0x20c]
push ecx
push edx
call fcn.005390e3
jmp dword [0x406e3b]
mov esi, dword [ebx + edi + 0x78]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0xc]
add esi, edi
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x420], edx
test edx, edx
je 0x429af2
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x429ae4
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
je 0x44a2c4
mov dword [ebp - 0x414], ecx
jmp 0x449e8c
movzx edx, ax
sub edx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
lea ecx, [eax + edx*4]
mov esi, dword [ecx + edi]
mov eax, dword [ebx + edi + 0x78]
cmp esi, eax
jb 0x5331f8
mov edx, dword [ebx + edi + 0x7c]
add edx, eax
cmp esi, edx
ja 0x5331f8
mov ebx, dword [ebp - 0x420]
test ebx, ebx
je 0x434e79
mov byte [ebx + 0xff], 1
lea eax, [esi + edi]
jmp 0x4fb8b4
cmp dword [esi + 0x18], ecx
jbe 0x44a2a2
mov eax, dword [esi + 0x20]
add eax, edi
mov dword [ebp - 0x410], eax
jmp 0x449eab
mov eax, dword [ebp - 0x410]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
add eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x477611
test dl, dl
je 0x47760a
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x477611
jmp 0x4775fc
inc eax
mov dword [ebp - 0x414], eax
cmp eax, dword [esi + 0x18]
jb 0x449ea5
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005481a9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x414]
cmp ecx, 0xffffffff
je 0x44a2a2
cmp dword [ebp + 0x10], 0
movzx eax, word [ebp + 0x14]
je 0x434e3b
mov edx, dword [esi + 0x24]
lea eax, [edx + ecx*2]
push 0x434e30
ret
add eax, 2
add ecx, 2
test dl, dl
jne 0x449eb5
xor eax, eax
jmp 0x477616
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44a2b5
mov eax, dword [ebp - 0x414]
add dword [ebp - 0x410], 4
jmp 0x44a292
lea edx, [ebp - 0x10c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4fb8bc
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [ebp - 0x10c]
mov eax, 0x2e
push edx
mov word [ebp - 0x40c], ax
call dword [sym.imp.msvcrt.dll_strstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x533219
mov byte [edi], 0
inc edi
xor eax, eax
lea ecx, [ecx]
lea ecx, [eax + 1]
imul ecx, ecx, 0x619
xor cx, word [eax*2 + 0x58b2ec]
jmp 0x406de6
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x3c]
jmp 0x429abe
cmp byte [ebp + 0x18], 0
jne 0x533219
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x418]
push eax
call fcn.004652bf
add esp, 4
add esi, eax
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
jmp 0x5390d6
pop esi
xor ecx, ebp
pop ebx
call fcn.005481a9
mov esp, ebp
pop ebp
ret
Function at 0x50e40c
Capabilities:
Encode data using xor

Disassembly:
lea edx, [eax + 1]
imul edx, edx, 0x3417
xor dx, word [eax*2 + 0x58b268]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x41b230
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x1ea7
xor dx, word [eax*2 + 0x58b284]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x41b256
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x566de8
ret
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x698a9c], cl
jne 0x566df4
or dword [0x698a9c], ecx
xor eax, eax
jmp 0x41b230
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push edx
push esi
push eax
call dword [0x698a98]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005481a9
mov esp, ebp
pop ebp
ret
Function at 0x52903f
Capabilities:
Encode data using xor
Execute shellcode via indirect call
Terminate process

Disassembly:
mov word [ebp - 0x111], ax
mov eax, dword [0x694670]
mov dword [ebp - 0x11b], esi
cmp eax, ebx
jne 0x50f78e
push 0x40
push 0x3000
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x11c]
jmp 0x50f75c
lea edx, [eax + 1]
imul edx, edx, 0x61e2
xor dx, word [eax*2 + 0x58b2c0]
inc eax
mov word [ebp + eax*2 - 0x10a], dx
cmp eax, 6
jl 0x4499b8
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
jmp 0x53dbec
cmp eax, 0xa
jne 0x53dc01
mov eax, dword [0x694304]
cmp eax, 0x2800
jne 0x52a114
push 0x52a10a
ret
xor ecx, ebp
pop ebx
call fcn.005481a9
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x694300]
cmp eax, 1
jne 0x508936
mov esi, 0x18f
jmp 0x53dc01
cmp eax, 2
jne 0x508946
mov esi, eax
jmp 0x53dc01
cmp eax, 3
jne 0x508956
mov esi, eax
jmp 0x53dc01
xor eax, eax
mov edi, edi
jmp 0x4499b8
mov edx, dword [ebp - 0x118]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x114]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x110]
mov dword [eax + 8], ecx
mov cx, word [ebp - 0x10c]
mov dword [eax + 0xc], edx
mov dword [0x694670], eax
mov word [eax + 0x10], cx
jmp 0x50f7a6
mov edx, dword [0x694674]
push edx
mov ebx, eax
call fcn.0055339d
mov eax, dword [0x694670]
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x124]
push ebx
push ecx
mov ecx, dword [ebp - 0x120]
jmp 0x558c98
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x565022
cmp eax, 0x295a
jne 0x52a129
mov esi, 4
jmp 0x53dc01
cmp eax, 0x3839
jne 0x52a13e
mov esi, 4
jmp 0x53dc01
cmp eax, 0x3ad7
jmp 0x53dbac
jne 0x53dbbc
mov esi, 4
jmp 0x53dc01
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x3ba1
xor cx, word [eax*2 + 0x58b2d0]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 6
jl 0x53dbc0
push ebx
push ebx
lea edx, [ebp - 0x108]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0x18
jmp 0x41e9b6
push edx
push ecx
push edi
call eax
mov esi, eax
cmp dword [0x694674], ebx
jne 0x558cc1
mov edi, dword [sym.imp.msvcrt.dll_rand]
call edi
mov word [0x694674], ax
call edi
mov word [0x694676], ax
mov edx, dword [0x694674]
mov ebx, dword [0x694670]
push edx
call fcn.0055339d
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov eax, esi
pop esi
jmp 0x4869ce
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x120], eax
mov eax, dword [0x6942fc]
xor ebx, ebx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x11c], 0xb8
mov dword [ebp - 0x117], 0x3e8
mov word [ebp - 0x113], 0xc200
mov dword [ebp - 0x10f], 0x340fd48b
mov byte [ebp - 0x10b], 0xc3
cmp eax, 6
jne 0x4499e9
jmp 0x50891e
Function at 0x52baeb
Capabilities:
Receive data
Receive data on socket

Disassembly:
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 0x4fc8cc
mov eax, dword [0x694540]
add esi, edi
mov dword [ebp - 8], esi
test eax, eax
je 0x40e2e2
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 0x52bb05
push 0x4fc8cc
ret
cmp edi, 0xffffffff
pop edi
jne 0x4fc8df
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 ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x69453c]
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x4fc8df
push edi
mov eax, dword [ebp + 0xc]
sub eax, esi
cmp eax, 0x100000
jle 0x40e299
push 0x40e294
ret

Function at 0x53eb11
Capabilities:
Create tcp socket
Create udp socket
Encode data using xor

Disassembly:
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x973
xor cx, word [eax*2 + 0x58babc]
inc eax
mov word [ebp + eax*2 - 0x11a], cx
cmp eax, 5
jl 0x48fc4f
lea edx, [ebp - 0x118]
push edx
call fcn.0052bad3
push 0x55d504
ret
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x69453c], eax
cmp eax, 0xffffffff
jne 0x48fc46
xor eax, eax
nop
lea ecx, [eax + 1]
imul ecx, ecx, 0x3295
push 0x4db9ba
ret
Function at 0x54228a
Capabilities:
Delete file
Encode data using xor

Disassembly:
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a5714
sub eax, edx
dec eax
js 0x573986
lea esp, [esp]
cmp byte [esp + eax + 0x60668], 0x5c
je 0x57397e
dec eax
jns 0x4a572c
jmp 0x573986
add ecx, eax
push 0x100
mov dword [0x694528], eax
mov dword [0x69452c], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
xor eax, eax
nop
lea edx, [eax + 1]
imul edx, edx, 0x639d
xor dx, word [eax*2 + 0x58bb34]
jmp 0x52b6c4
inc eax
mov word [esp + eax*2 + 0x16], dx
cmp eax, 6
jl 0x5274ea
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.msvcrt.dll_remove]
add esp, 4
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x45fd
xor cx, word [eax*2 + 0x58bb44]
inc eax
mov word [esp + eax*2 + 0x16], cx
cmp eax, 6
jl 0x52b6e7
lea edx, [esp + 0x18]
push edx
call fcn.0052bad3
add esp, 4
lea eax, [esp + 0x218]
push eax
push 0x101
jmp dword [0x52b729]
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x60964
call fcn.004d0db0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x60960], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push 0x100
lea eax, [esp + 0x6066c]
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x60668]
lea edx, [eax + 1]
lea esp, [esp]
jmp 0x4a5714
mov byte [esp + eax + 0x60669], 0
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x60668]
mov byte [eax + 0x64f4e8], cl
inc eax
test cl, cl
jne 0x57398f
call fcn.004e7546
push 0
call esi
mov ecx, dword [eax + 0x3c]
jmp 0x5274c8

Function at 0x552371
Capabilities:
Encode data using xor

Disassembly:
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x33bc], eax
mov dword [ebp - 0x33c4], edi
xor eax, eax
lea ecx, [ecx]
lea ecx, [eax + 1]
imul ecx, ecx, 0x7a6c
xor cx, word [eax*2 + 0x58b794]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 0xe
jl 0x4b2938
lea edx, [ebp - 0x33b4]
push edx
push 1
push 0
lea eax, [ebp - 0x318c]
push 0x46a660
ret
push ebp
mov ebp, esp
mov eax, 0x33d0
call fcn.004d0db0
mov eax, dword [section..data]
jmp 0x4b291a