joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434410
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46bad3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045e14d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00465492
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00466e0f
test eax, eax
je 0x43452c
mov ecx, dword [esp + 0x3c]
call fcn.004654bf
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4344f0
push edi
mov ecx, esi
call fcn.00461d68
mov ecx, esi
call fcn.00434690
cmp dword [esp + 0x38], 1
jne 0x434525
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00461ea3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43a470
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46c0d8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x43a4a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x43a5bc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43a4bd
mov eax, 0xffffffc7
jmp 0x43a5be
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43a4ce
cmp dword [esi + 8], eax
jne 0x43a4bd
cmp dword [esi + 8], eax
jne 0x43a4e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43a4e7
mov eax, 0xffffffc7
jmp 0x43a5be
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43a4fb
push eax
mov ecx, ebx
call fcn.00439ca0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43a52c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004012e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00439410
test eax, eax
mov dword [esp + 0x38], eax
je 0x43a55f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x488788
call fcn.004014c0
mov eax, dword [esp + 0x38]
jmp 0x43a5be
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043a2d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43a5a3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043a2f0
mov esi, eax
test esi, esi
jne 0x43a5d3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043a2d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43a575
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x488788
call fcn.004014c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x488788
call fcn.004014c0
mov eax, esi
jmp 0x43a5be
Function at 0x43d9d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43da03
push esi
call fcn.00440990
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43d9fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43da89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43da72
mov eax, dword [esi + 8]
test eax, eax
je 0x43da27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43da6e
cmp eax, 2
je 0x43da72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43da1a
cmp eax, 3
je 0x43da4d
cmp eax, 1
jne 0x43da1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43da1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43da1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043dab0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43da98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043dab0
add esp, 4
pop esi
ret

Function at 0x448ca0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x448d06
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x448d06
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x448ce7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x449e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46c4f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00449a20
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00449aa0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00449aa0
lea ecx, [esi + 0xc]
call fcn.00461657
lea ecx, [esi + 0x10]
call fcn.00461657
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044c2d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044c2d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044c2d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004616cc
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004616cc
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44ab18
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46c718
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44ab28
call fcn.0044b040
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44ac0b
cmp byte [edi], 0
je 0x44ac0b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44ab4d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00449840
test eax, eax
jne 0x44ab6d
push 0x4a143c
lea ecx, [esi + 0x38]
call fcn.00461809
jmp 0x44ac0b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00449890
test eax, eax
jne 0x44ab9c
mov ecx, esi
call fcn.00449990
push edi
add esi, 0x38
push 0x4a1418
push esi
call fcn.0045c165
add esp, 0xc
jmp 0x44ac0b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044b8c0
test eax, eax
je 0x44ac04
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044ace0
test eax, eax
jne 0x44ac20
push edi
lea eax, [esi + 0x38]
push 0x4a13f4
push eax
call fcn.0045c165
add esp, 0xc
mov ecx, esi
call fcn.0044b040
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44acc8
mov ecx, dword [0x4a1a70]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045c165
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00449940
test eax, eax
jne 0x44ac8a
push 0x4a13d8
lea ecx, [esi + 0x38]
call fcn.00461809
jmp 0x44ac9a
push 0xfa
mov ecx, esi
call fcn.0044b8c0
test eax, eax
jne 0x44acb7
mov ecx, esi
call fcn.0044b040
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004616cc
jmp 0x44ac0b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004616cc
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x45ef43
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45ef7b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00461b27
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00461aff
jmp 0x45ef87
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x460631
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x460673
call fcn.00467c61
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x460673
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46066a
xor eax, eax
jmp 0x46067b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00460681
pop edi
pop esi
pop ebx
ret 4

Function at 0x46831f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46834d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46836b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00468285
jmp 0x46836b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46836b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00468285
test edi, edi
mov eax, edi
jne 0x468355
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x498c00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov eax, 0x42d038
lea ecx, [ebp - 0x24]
mov edx, dword [eax]
mov dword [ecx], edx
mov ax, word [eax + 4]
mov word [ecx + 4], ax
mov dword [0x5b3640], 0
mov eax, dword [ebp + 8]
mov dword [0x5b4e00], eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.004b74d0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x498c5c
lea eax, [ebp - 0x24]
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], 0
jmp 0x498c6b
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
jle 0x498c99
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
movsx eax, byte [eax + ecx]
cmp eax, 0x3d
jne 0x498c94
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
mov byte [eax + ecx], 0x20
jmp 0x498c68
push 0x100
call fcn.004b7451
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00499076
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0049b628
add esp, 8
push 0x5b4e20
call fcn.0049b490
add esp, 4
call fcn.004bfd54
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x498d0e
mov eax, dword [ebp + 8]
push eax
call fcn.00499945
add esp, 4
push 0
call fcn.004b737c
add esp, 4
cmp dword [0x5b2da4], 0
je 0x498d31
mov eax, dword [ebp + 8]
push eax
call fcn.00499945
add esp, 4
push 0
call fcn.004b737c
add esp, 4
call fcn.0049b723
test eax, eax
jne 0x498d54
mov eax, dword [ebp + 8]
push eax
call fcn.00499945
add esp, 4
push 0xffffffffffffffff
call fcn.004b737c
add esp, 4
call fcn.0049c684
test eax, eax
je 0x498d7a
cmp dword [0x5b30dc], 0
jne 0x498d7a
mov eax, dword [ebp + 8]
push eax
call fcn.00498e28
add esp, 4
push 0x5b2c80
call fcn.00499c90
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x498dcf
xor eax, eax
mov al, byte [0x5b3661]
test eax, eax
je 0x498dcf
call fcn.0049c684
test eax, eax
je 0x498dbe
push 0
mov eax, dword [0x5b3640]
push eax
call dword [0x42b1f8]
call fcn.00499770
mov eax, dword [0x5b3640]
push eax
call dword [0x42b1fc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0049d458
mov dword [ebp - 0x10], eax
jmp 0x498deb
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0
je 0x498e0d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 - 4]
push eax
call fcn.004b7320
add esp, 4
jmp 0x498de8
mov eax, dword [ebp - 4]
push eax
call fcn.004b7320
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x498e21
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4a40c3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x180
push 0x8002
mov eax, dword [ebp + 8]
push eax
call fcn.004bd58f
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4a4106
push 0x40006
call fcn.0049e8cc
add esp, 4
mov eax, 0xffffffff
jmp 0x4a4207
mov eax, dword [ebp - 8]
push eax
call fcn.004c1281
add esp, 4
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0xffff
jne 0x4a414f
mov eax, dword [ebp - 8]
push eax
call fcn.004bb1ad
add esp, 4
push 0x40008
call fcn.0049e8cc
add esp, 4
mov eax, 0xffffffff
jmp 0x4a4207
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004bb667
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4a418b
push 0x40009
call fcn.0049e8cc
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.004bb1ad
add esp, 4
mov eax, 0xffffffff
jmp 0x4a4207
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax]
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004bb471
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4a41d4
push 0x4000a
call fcn.0049e8cc
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.004bb1ad
add esp, 4
mov eax, 0xffffffff
jmp 0x4a4207
mov eax, dword [ebp - 8]
push eax
call fcn.004bb1ad
add esp, 4
cmp eax, 0xffffffff
jne 0x4a4200
push 0x40005
call fcn.0049e8cc
add esp, 4
mov eax, 0xffffffff
jmp 0x4a4207
xor eax, eax
jmp 0x4a4207
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4c8e88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ax, word [esp + 0xc]
mov ebp, esp
xor word [ebp + 8], ax
push ebx
push esi
mov esi, 0xb
mov bl, byte [ebp + 9]
mov al, byte [ebp + 8]
mov byte [ebp + 9], al
mov eax, dword [ebp + 9]
push eax
call fcn.004c8ec8
xor al, bl
dec esi
mov byte [ebp + 8], al
jne 0x4c8e9b
mov ax, word [ebp + 8]
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4ca198
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, 0xb
mov bl, byte [ebp + 8]
mov al, byte [ebp + 9]
mov byte [ebp + 8], al
mov eax, dword [ebp + 8]
push eax
call fcn.004c8ec8
xor al, bl
dec esi
mov byte [ebp + 9], al
jne 0x4ca1a2
mov ax, word [ebp + 0xc]
pop esi
xor word [ebp + 8], ax
pop ebx
mov ax, word [ebp + 8]
pop ebp
ret 8

Function at 0x54eccc
Capabilities:
Encode data using xor

Disassembly:
mov ax, 0x11
push ebp
mov ebp, esp
sub esp, 4
push ebx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0x14
push esi
push edi
mov si, word [edx]
xor ecx, ecx
xor di, di
mov bx, ax
xor bx, si
and bx, 1
shl bx, cl
or di, bx
mov bx, si
and bx, 1
shr ax, 1
imul bx, bx, 0x4951
xor bx, ax
mov ax, bx
shr si, 1
inc cx
cmp cx, 0x10
jb 0x54eceb
mov word [edx], di
add edx, 2
dec dword [ebp - 4]
jne 0x54ece3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x54ed3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x14
push esi
push edi
mov di, 0x11
xor cx, cx
mov eax, dword [ebp - 4]
mov ax, word [eax]
xor esi, esi
mov dx, di
xor dx, ax
and dx, 1
mov bx, dx
shl bx, cl
or si, bx
imul dx, dx, 0x4951
shr di, 1
xor di, dx
shr ax, 1
inc cx
cmp cx, 0x10
jb 0x54ed62
mov eax, dword [ebp - 4]
add dword [ebp - 4], 2
mov word [eax], si
dec dword [ebp - 8]
jne 0x54ed57
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4c5560
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..data
lea edi, [esi - 0x76000]
push edi
jmp 0x4c557a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c5581
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c5570
mov eax, 1
add ebx, ebx
jne 0x4c5593
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c55a4
jne 0x4c55c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c55c3
dec eax
add ebx, ebx
jne 0x4c55b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c5588
add ebx, ebx
jne 0x4c55bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c5615
xor ecx, ecx
sub eax, 3
jb 0x4c55db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c564a
sar eax, 1
mov ebp, eax
jmp 0x4c55e6
add ebx, ebx
jne 0x4c55e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c55b4
inc ecx
add ebx, ebx
jne 0x4c55f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c55b4
add ebx, ebx
jne 0x4c5601
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c55f6
jne 0x4c5612
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c55f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c5634
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c5626
jmp 0x4c5576
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c5634
add edi, ecx
jmp 0x4c5576
pop esi
lea edi, [esi + 0xc2000]
mov eax, dword [edi]
or eax, eax
je 0x4c569c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcaac4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcabc8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c5651
mov ecx, edi
jns 0x4c5680
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xcabcc]
or eax, eax
je 0x4c5696
mov dword [ebx], eax
add ebx, 4
jmp 0x4c566e
call dword [esi + 0xcabdc]
mov ebp, dword [esi + 0xcabd0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4c56d0
sub esp, 0xffffff80
jmp 0x4493f1
Function at 0x412080
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c37b
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.0046ec32
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412102
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046c610
mov eax, dword [eax]
push 0x4b6214
push eax
call fcn.0045f094
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046eebd
test bl, bl
je 0x412102
push 0x4b6214
lea ecx, [esp + 0xc]
call fcn.0046f299
push 0x4b9d8c
lea ecx, [esp + 0xc]
call fcn.0046f299
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 0x41213e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046eebd
jmp 0x412209
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 0x4121c2
lea edx, [esp + 0x7c]
push 0x4b9d88
push edx
call fcn.0045f094
add esp, 8
test eax, eax
je 0x4121c2
lea eax, [esp + 0x7c]
push 0x4b9d84
push eax
call fcn.0045f094
add esp, 8
test eax, eax
je 0x4121c2
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 0x412152
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.0046eebd
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 0x412a00
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 0x412a62
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