joyce8/EMBER2024-capa huggingface dataset:
Function at 0x560b0b
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9ce4
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x6340c4]
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
lea ecx, [ebp - 0x260]
call 0x6d33a5
push 0x672878
mov dword [ebp - 4], 0
call fcn.005a3e76
mov edx, eax
mov dword [ebp - 0x220], 0
mov ecx, edx
mov dword [ebp - 0x21c], 7
xor eax, eax
mov word [ebp - 0x230], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x560af0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.005a58d8
add byte [ebp - 0x2677b], cl
inc esi
inc ebp
cld
add dword [eax + 0x68], edx
aas
add byte [edi], cl
add byte [edx], ch
push str.AppEventsSchemesAppscsc_ui
push 0x80000001
call dword [0x5c3044]
test eax, eax
jne 0x560bd2
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x26c]
push eax
push 0
push 0
push dword [ebp - 0x268]
call dword [0x5c3040]
inc eax
xor byte [eax + eax - 0x7b], bl
ror byte [edi], 0x85
xchg esi, eax
add byte [eax], al
invalid
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x560b76
mov ebx, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
mov edi, dword [ebp - 0x220]
sub esi, ecx
sar esi, 1
lea ecx, [ebp - 0x230]
cmp ebx, 8
mov eax, edi
cmovae ecx, dword [ebp - 0x230]
cmp esi, edi
cmovb eax, esi
push eax
call fcn.005aec20
add esp, 4
test eax, eax
jne 0x560c0f
cmp edi, esi
jb 0x560c0f
ja 0x560c0f
push dword [ebp - 0x268]
call dword [0x5c304c]
jmp 0x560dd7
push 0
lea eax, [ebp - 0x268]
push eax
push 0
push 0xf003f
push 0
push 0x5d90f0
add byte [edx], ch
push str.AppEventsSchemesAppscsc_ui
push 0x80000001
call dword [0x5c305c]
test eax, eax
jne 0x560dd7
mov ebx, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x220]
lea ecx, [edi + edi]
cmp ebx, 8
push ecx
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 1
push 0
push 0
push dword [ebp - 0x268]
call dword [0x5c3054]
xor esi, esi
nop dword [eax + eax]

Function at 0x574ad3
Capabilities:
Create process on windows

Disassembly:
cmp al, 0x2d
pop ss
add byte [ebx + 0x6a18c4], al
mov eax, dword [ebp - 0x88]
or eax, 0x400

Function at 0x574b7d
Capabilities:
Create process on windows

Disassembly:
movzx eax, byte [edi + 0x17]
push eax
push 0
push 0
push esi
push 0
push ebx
invalid
invalid
dec eax

Function at 0x587d10
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x587d26
mov eax, 0xfe000002
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ecx + 4]
test edx, edx
je 0x587d82
cmp edx, 0xffffffff
je 0x587d82
mov ecx, dword [ebp + 8]
push 0
mov eax, 0xfe000007
mov esp, ebp
pop ebp
ret 0x14

Function at 0x587d2e
Capabilities:
Access the windows event log

Disassembly:
cli
push dword [eax + edx*2 - 0x75]
dec ebp
or byte [edx], ch
mov dword [ebp - 4], eax
Function at 0x587d39
Capabilities:
Access the windows event log

Disassembly:
cld
lea eax, [ebp - 4]
push eax
push 0
push 1
push 0
push ecx
push dword [ebp + 0x14]
call 0x70ed59

Function at 0x5896ca
Capabilities:
Persist via winlogon helper dll registry key
Query or enumerate registry value

Disassembly:
adc byte [str.explorer.exe], al
mov ax, word [0x5fb73c]
push 0xe6
mov word [ebp - 0xf8], ax
lea eax, [ebp - 0xf6]
movups xmmword [ebp - 0x110], xmm0
push esi
movq xmm0, qword [0x5fb734]
push eax
movq qword [ebp - 0x100], xmm0
call 0x6501f2
lea edi, [ebp - 0x110]
add esp, 0xc
mov dword [ebp - 0x11c], edi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], esi
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push 0x80000002
call dword [0x5c3044]
test eax, eax
jne 0x58974e
mov esi, dword [ebp - 0x114]
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0
test eax, eax
jne 0x58982d
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x100
test esp, ebp
invalid
invalid
inc dword [eax]
add dword [eax], eax
add byte [eax - 0x73], dl
test eax, esi
invalid
invalid
call dword [eax - 0x73]
test eax, edx
invalid
invalid
call dword [eax + 0x6a]
add byte [eax - 0x58], ch
mov dh, 0x5f
add byte [esi - 1], dl
adc eax, 0x5c3040
test eax, eax
jne 0x5897bb
mov eax, dword [ebp - 0x130]
cmp eax, 1
je 0x58979b
cmp eax, 2
jne 0x5897b6
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x5897e0
test al, 1
jne 0x5897b6
shr eax, 1
cmp word [ebp + eax*2 - 0x112], 0
je 0x5897e9
mov eax, 0xd
push 0
push 0
push eax
push str.CRegKey::QueryStringValue
push 0x57
push 0x783
push str.C:drone_src_srcCommonIPCWinsecAPI.cpp
push str.CWinsecApiUtil::GetUserToken
call 0x6fc557
add byte [ebx + 0x2eeb20c4], al
push 0

Function at 0x589826
Capabilities:
Acquire debug privileges

Disassembly:
add byte [ebx + 0x2eeb20c4], al
xor eax, eax
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x110]
push 0x5c
push eax
call 0x651f10
add esp, 8
test eax, eax
je 0x58980e
lea ecx, [ebp - 0x12]
cmp eax, ecx
jae 0x58980e
add eax, 2
mov dword [ebp - 0x11c], eax
test esi, esi
je 0x589821
push esi
call dword [0x5c304c]
xor esi, esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], 0
jmp 0x589850
mov ecx, str.SeDebugPrivilege
call 0x712a26
mov ecx, str.SeAssignPrimaryTokenPrivilege
call 0x712a30
push 0
push 2
call dword [0x5c3394]
mov edi, eax
cmp edi, 0xffffffff
je 0x5898d2
push dword [ebp - 0x120]
mov edx, edi
push ecx
mov ecx, dword [ebp - 0x11c]
call 0x7125b5
add esp, 8
les ecx, [eax]
push 0
push 0
call dword [0x5c33c0]
push eax
push 0x5fb870
push 0x45
push 0x7bd
push str.C:drone_src_srcCommonIPCWinsecAPI.cpp
push str.CWinsecApiUtil::GetUserToken
call 0x6fc674
add esp, 0x20
Function at 0x4120a2
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186c0], 0
push ebx
push esi
mov esi, 0x4186c8
jne 0x4120ce
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4186e0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186c0], 1
push dword [0x4186e0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x41216b
push 0x14
push 8
push dword [0x41804c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412195
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186c4]
test eax, eax
je 0x412110
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186c4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41219a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4186e0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x41804c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412195
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x443450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4db0d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.004d0600
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.004473b0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x4434a4
jmp dword [ecx*4 + 0x44360c]
mov al, byte [esi]
test al, al
je 0x4434d2
cmp al, 0x20
je 0x4434be
cmp al, 0xa1
jne 0x4434d2
cmp byte [esi + 1], al
jne 0x4434d2
test al, 0x80
je 0x4434ca
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4434d2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4434b1
test ecx, ecx
je case.default.0x4434a4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x4434a4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x443518
cmp dl, 0xa1
jne 0x44350c
cmp byte [eax + 1], 0xa1
jne 0x44350c
test ecx, ecx
jne 0x443504
mov edi, eax
mov ecx, 1
inc eax
jmp 0x44352c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x443546
jmp 0x44352c
cmp dl, 0x20
jne 0x44352a
test ecx, ecx
jne 0x443523
mov edi, eax
mov ecx, 1
jmp 0x44352c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x4434ec
cmp ecx, 1
jne case.default.0x4434a4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x4434a4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x4434a4
mov al, byte [esi]
test al, al
je 0x44359e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x443584
mov cl, byte [esi + 1]
test cl, cl
je 0x44359e
cmp al, 0xa1
jne 0x443574
cmp cl, al
je 0x443581
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.00447680
inc esi
jmp 0x443596
cmp al, 0x20
je 0x443596
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004476c0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x44355d
push 0
lea ecx, [esp + 0x14]
call fcn.004476c0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00454e40
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x4435d1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x4f6a28
call fcn.004475b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004d0592
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x44f5d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4db8cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004d0307
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44f652
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ce1eb
mov eax, dword [eax]
push 0x50ccf8
push eax
call fcn.004c00f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d0592
test bl, bl
je 0x44f652
push 0x50ccf8
lea ecx, [esp + 0xc]
call fcn.004d0922
push 0x50cd04
lea ecx, [esp + 0xc]
call fcn.004d0922
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44f68e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d0592
jmp 0x44f759
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x44f712
lea edx, [esp + 0x7c]
push 0x50cd00
push edx
call fcn.004c00f4
add esp, 8
test eax, eax
je 0x44f712
lea eax, [esp + 0x7c]
push 0x50ccfc
push eax
call fcn.004c00f4
add esp, 8
test eax, eax
je 0x44f712
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44f6a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004d0592
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x44ff50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x44ffb2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x44ffc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4db94b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x51ca80]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4500f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x450026
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d0592
xor eax, eax
jmp 0x45016f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d06cf
push esi
lea ecx, [esp + 0xc]
call fcn.004d095e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45014d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0044ff50
test eax, eax
jne 0x45014d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0044ff50
test eax, eax
jne 0x45014d
lea eax, [esp + 0x14]
push 0x50cd14
push eax
call fcn.004c12f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x45012c
lea ecx, [esp + 0x14]
push 0x50cd10
push ecx
call fcn.004c1270
mov esi, eax
add esp, 8
test esi, esi
jne 0x45012c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45012f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d067f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45003e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d0592
xor eax, eax
jmp 0x45016f
mov byte [esi], 0
push 0x50cd0c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004d0592
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x460e80
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x460eee
cmp si, 0x69
ja 0x460eee
add esi, 0xffd0
cmp si, 0x11
je 0x460ebe
push 0x11
call edi
test ax, ax
jge 0x460ebe
or esi, 0x2000
cmp si, 0x10
je 0x460ed3
push 0x10
call edi
test ax, ax
jge 0x460ed3
or esi, 0x4000
cmp si, 0x12
je 0x460ee8
push 0x12
call edi
test ax, ax
jge 0x460ee8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x460efb
mov esi, 0xbd
jmp 0x460eaf
cmp si, 0x6e
jne 0x460f08
mov esi, 0xbe
jmp 0x460eaf
cmp si, 0x6f
jne 0x460ea9
mov esi, 0xbf
jmp 0x460eaf

Function at 0x462840
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x52d260]
xor edx, edx
cmp eax, edx
jne 0x462866
xor eax, eax
mov byte [eax + 0x52d160], al
inc eax
cmp eax, 0x100
jl 0x46284e
mov dword [0x52d260], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x52d160
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4628f7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4628ca
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x462898
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x462970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4629c3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4629aa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469ba0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x469d38
cmp ebp, ebx
jle 0x469d38
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x469bfe
dec eax
or eax, 0xfffffff8
inc eax
je 0x469c05
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x469c14
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x469c1b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004d02d3
add esp, 4
cmp eax, ebx
je 0x469c3c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004d02d3
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x469d2e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x469d15
mov al, byte [edx]
cmp al, 0xc0
jbe 0x469d01
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x469cf6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x469d04
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x469d04
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x469ca0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x469c91
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x46d280
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dc4e8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x46d2b9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.004d7ca1
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004d7ced
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0046d340
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004d7d2a
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24