joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50e515
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x50e62d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x50e62d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0054b5bb
mov esi, eax
test esi, esi
je 0x50e62d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x50e62d
mov ecx, esi
call fcn.0050e480
cmp edi, eax
jge 0x50e62d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x50e5b3
mov dword [esp + 0x34], 1
jmp 0x50e60e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x50e62d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0050ccc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x512660
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push 0
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 4]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], eax
mov eax, edx
ret
Function at 0x51ac60
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x5caeec]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x51ac73
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x51acb4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x5caf94]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x51ace6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x51acea
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x51acdb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x51ad08
mov bl, byte [esp + ecx + 0x4c]
jmp 0x51ad0c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x51acfd
xor ecx, ecx
mov eax, 0x5caefc
xor ebx, ebx
mov bl, byte [ecx + 0x5cafa4]
cmp byte [esp + ebx + 0x14], 0
je 0x51ad37
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x5cafbc]
cmp byte [esp + ebx + 0x14], 0
je 0x51ad4e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x51ad1e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x51aca7
lea edx, [esp + 0x84]
push edx
call fcn.0051ad90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x51f6b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b15d8
push 0x53b3a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.005391f0
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x51f860
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x51f8a1
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x51f90e
cmp dword [esp + 0x1c], 2
jne 0x51f90e
cmp dword [esp + 0x10], 5
jne 0x51f90e
cmp dword [esp + 0x14], 1
jne 0x51f90e
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x51f8f8
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x51f8e9
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x51f8f1
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x51f90e
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret
Function at 0x5204a0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.00539ad0
mov eax, dword [esp + 0x2824]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push str..PhysicalDrive_d
push ecx
call fcn.0053ab95
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x52064d
xor eax, eax
mov ecx, 0x9c4
mov dword [esp + 0x10], eax
lea edi, [esp + 0x11c]
mov dword [esp + 0x14], eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x124]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x2710
push edx
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0x52064d
mov ecx, dword [esp + 0x283c]
mov edx, dword [esp + 0x128]
push ecx
push 0
lea eax, [esp + 0x124]
push edx
push eax
call fcn.00520660
mov ecx, dword [esp + 0x2848]
mov edx, dword [esp + 0x13c]
push ecx
push 0
lea eax, [esp + 0x134]
push edx
push eax
call fcn.00520660
mov ecx, dword [esp + 0x2860]
mov edx, dword [esp + 0x150]
push ecx
push 0
lea eax, [esp + 0x144]
push edx
push eax
call fcn.00520660
mov ecx, dword [esp + 0x2864]
mov edx, dword [esp + 0x164]
push ecx
push 1
lea eax, [esp + 0x154]
push edx
push eax
call fcn.00520660
mov ecx, dword [esp + 0x2884]
add esp, 0x40
xor eax, eax
lea edi, [esp + 0x11c]
mov dword [ecx], 1
mov ecx, 0x9c4
lea edx, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x124]
push 0x2710
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
test eax, eax
je 0x52064d
mov edi, dword [esp + 0x124]
mov edx, dword [esp + 0x2848]
mov eax, dword [esp + 0x284c]
xor ecx, ecx
cmp edi, 0xc
push esi
setne cl
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2820
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2820
ret
Function at 0x523b30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x613a30]
xor edx, edx
cmp eax, edx
jne 0x523b56
xor eax, eax
mov byte [eax + 0x613930], al
inc eax
cmp eax, 0x100
jl 0x523b3e
mov dword [0x613a30], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x613930
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x523be7
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 0x523bba
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 0x523b88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x523c60
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 0x523cb3
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 0x523c9a
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 0x52a630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5586ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0052af50
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5b20bc
call fcn.005498fc
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x52a6c3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005498fc
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x52a6bc
push 0
mov ecx, eax
call fcn.00521760
mov dword [esi + 0xc], eax
jmp 0x52a6c5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x52a6c5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x54bf5f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x54bf97
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.0054a016
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00549fee
jmp 0x54bfa3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x54d659
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 0x54d69b
call fcn.00553109
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x54d69b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x54d692
xor eax, eax
jmp 0x54d6a3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0054d6a9
pop edi
pop esi
pop ebx
ret 4

Function at 0x553639
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 0x553667
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x553685
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0055359f
jmp 0x553685
mov eax, dword [esi + 0x14]
test eax, eax
je 0x553685
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0055359f
test edi, edi
mov eax, edi
jne 0x55366f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4578ce
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 2]
xchg dword [esp], ebp
lea edx, reloc.KERNEL32.dll_LoadLibraryA
rol dh, 3
inc ax
rdtsc
jmp 0x457907
mov dh, ch
sub esp, 2
inc edx
xchg word [esp], dx
mov ax, bx
jmp 0x4578a5

Function at 0x47809f
Capabilities:
Encrypt data using aes

Disassembly:
lea ebx, [edi*4]
inc edx
jmp 0x478023
push eax
mov eax, ebx
lea eax, [eax*4]
jmp 0x478009
lea eax, reloc.KERNEL32.dll_LoadLibraryA
mov ebx, dword [eax]
pop eax
lea edx, [ecx*4]
jmp 0x478067
movzx ebx, byte [esi + 0x11]
lea edi, [edx + ebx]
mov edi, dword [esp]
jmp 0x477ff9
lea esp, [esp + 4]
mov ecx, 0xff
jmp 0x44a08e
mov edx, dword [ecx]
pop ecx
mov edi, 0x947a0de6
shl edi, 5
sub esp, 0x16
lea esp, [esp + 2]
jmp 0x478086
add esi, 0x10
push ecx
mov ecx, esi
jmp 0x47804a
shr edi, 0x18
sub esp, 0x16
mov edi, edx
sub esp, 0xa
pop dword [esp]
push esp
pop word [esp + 3]
jmp 0x47806f
mov dword [ebp - 4], ecx
lea edi, [esp + ebx]
bswap edx
jmp 0x47803c

Function at 0x478180
Capabilities:
Encrypt data using aes

Disassembly:
movzx ebx, byte [esi + 2]
cmc
sub esp, 0x1c
jmp 0x478101
lea esp, [esp + 0x28]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_LoadLibraryA]
mov bx, 0x36bb
sbb ebx, eax
jmp 0x478117
stc
sub esp, 2
lea esp, [esp + 2]
jmp 0x47812f

Function at 0x478213
Capabilities:
Encrypt data using aes

Disassembly:
mov dword [esi], edi
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_LoadLibraryA]
mov di, word [esp]
bsr dx, bp
mov dx, 0x60ed
setge dh
mov edx, dword [esi + 4]
jmp 0x4781d1
pop word [esp]
lea esp, [esp + 2]
lea esp, [esp + 0xc]
xor edi, dword [edx*4 + reloc.KERNEL32.dll_LoadLibraryA]
jmp 0x4781f0
Function at 0x4783b8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
pop word [esp]
lea esp, [esp + 2]
jmp 0x4783c6
mov dword [esi + 4], edi
lea edi, [esp + esi]
bsf di, ax
pushal
jmp 0x4783f8
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_LoadLibraryA]
bsf di, ax
clc
lea edi, reloc.KERNEL32.dll_LoadLibraryA
push edx
jmp 0x4784e2
mov edi, dword [edi*4 + reloc.KERNEL32.dll_LoadLibraryA]
and ebx, ecx
lea esp, [esp + 0x6c]
jmp 0x4784a0
push dword [esp + 0xe]
pushal
mov edi, dword [edi*4 + reloc.KERNEL32.dll_LoadLibraryA]
and edi, ecx
jmp 0x478426
lea esp, [esp + 8]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_LoadLibraryA]
shl bx, cl
jmp 0x47847b
and ebx, ecx
sub esp, 0x14
cmc
add esp, 9
lea esp, [esp + 3]
jmp 0x478455
mov bx, word [esp]
lea ebx, [edx + edi]
lea ebx, reloc.KERNEL32.dll_LoadLibraryA
movzx ebx, byte [esi + 0xd]
jmp 0x4784cb
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_LoadLibraryA]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_LoadLibraryA]
stc
jmp 0x47846c
mov edx, dword [edx*4 + reloc.KERNEL32.dll_LoadLibraryA]
jmp 0x478522
and edx, ecx
sub esp, 2
lea esp, [esp + 2]
jmp 0x4784b5
mov edi, edx
push edx
shr edi, 0x18
pushal
jmp 0x478445
xor edi, dword [edx*4 + reloc.KERNEL32.dll_LoadLibraryA]
call fcn.004784ee
enter 0xffffffffffffde48, 0xffffffffffffffb9
dec eax
mov esp, dword [esi - 0x1b]
jne 0x478536
out dx, eax
push edx
xchg esp, eax
pop es
scasb al, byte es:[edi]
mov ecx, 0xca21fb98
and edx, ecx
pushal
mov word [esp + 0x18], bx
lea esp, [esp + 0x20]
jmp 0x478504
dec ebp
fsubr qword [edi]
lea edx, [edx + 8]
mov dword [edx], edi
pop edx
call 0x47855b
xor dh, byte [edx + ebp + 0x2478bc4d]
mov eax, dword [reloc.KERNEL32.dll_LoadLibraryA]
pushal
mov dword [reloc.KERNEL32.dll_LoadLibraryA], eax
call fcn.00478530
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_LoadLibraryA]
jmp 0x478568
push esp
mov di, 0x2f4d
pop edi
inc di
mov edi, edx
jmp 0x47858e
cmc
pushal
mov word [esp + 0x16], sp
shr edi, 0x18
cmc
jmp 0x478738
setbe bl
mov bx, 0xef13
movzx ebx, byte [esi + 0xe]
cmc
call fcn.00478620
push esp
jmp 0x478607
and ebx, ecx
lea esp, [esp + 0x50]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_LoadLibraryA]
mov bl, 0x7c
stc
jmp 0x4785b3
lea ecx, [ecx*4]
lea ecx, reloc.KERNEL32.dll_LoadLibraryA
mov edi, dword [ecx]
pop ecx
jmp 0x4785da
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_LoadLibraryA]
sub esp, 0x1c
pop dword [esp + 0xc]
jmp 0x478625
and edx, ecx
stc
mov edx, dword [edx*4 + reloc.KERNEL32.dll_LoadLibraryA]
call fcn.0047866e
dec esp
invalid
and edi, ecx
push ecx
mov ecx, edi
jmp 0x4785f5
mov ebx, edi
lea ebx, [ebx*4]
lea ebx, reloc.KERNEL32.dll_LoadLibraryA
mov edi, dword [ebx]
pop ebx
jmp 0x478640
clc
pushal
push dword [esp + 0x18]
push ebx
jmp 0x47869b

Function at 0x478670
Capabilities:
Encrypt data using aes

Disassembly:
call fcn.00478703
and edx, ecx
sub esp, 0x12
lea esp, [esp + 2]
lea esp, [esp + 0x18]
jmp 0x4786cf
xor edi, dword [edx*4 + reloc.KERNEL32.dll_LoadLibraryA]
call 0x478684
mov dword [esi + 0xc], edi
jne 0x44a08e
je 0x44a022

Function at 0x4786af
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 3]
lea esp, [esp + 4]
dec dword [ebp - 4]
jmp 0x4786db
Function at 0x478703
Capabilities:
Encrypt data using aes

Disassembly:
mov word [esp], sp
jmp 0x478675
Function at 0x553094
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x553133
jbe 0x5530fa
btr ebp, edx
neg cx
jmp 0x553100
btr ebp, edx
neg cx
jmp 0x553116
sub esp, 0xbc
mov ebp, esp
xor bx, 0x15ca
jl 0x55344a
jge 0x553334
inc esp
neg esi
sub dword [edx - reloc.KERNEL32.dll_LoadLibraryA], ecx
je 0x55315e
mov bh, byte [esp + 3]
mov dh, byte [esp + 3]
lea esi, [esp + 4]
xchg bh, cl
add bp, 0xed7e
jmp 0x5530e0
add ecx, dword [ebp - reloc.KERNEL32.dll_LoadLibraryA]
iretd
lea esp, [esp]
mov word [esp + 2], sp
lea esp, [esp + 1]
lea esp, [esp + 1]
call fcn.00552dbd
mov cx, di
jmp 0x552c6c
bsr bx, bp
lea edx, [esp + edi]
jmp 0x553199
cmc
jge 0x5531bb
bsr bx, bp
lea edx, [esp + edi]
mov cx, di
jmp 0x552c6c
lea edx, [edi + ebp]
rdtsc
lea ebx, [eax*4]
jmp 0x553456
lea edx, [edi + ebp]
rdtsc
lea ebx, [eax*4]
mov eax, edi
jmp 0x5532f2

Function at 0x61a831
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push esp
jmp 0x61a838
pop dword [esp + 4]
pop dword [esp]
push edx
mov dword [esp + 0x2c], edi
lea esp, [esp + 0x2c]
jmp 0x61a8c3
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x61a8a8
Function at 0x4284a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7f7d28]
xor edx, edx
cmp eax, edx
jne 0x4284c6
xor eax, eax
mov byte [eax + 0x7f7c28], al
inc eax
cmp eax, 0x100
jl 0x4284ae
mov dword [0x7f7d28], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7f7c28
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x428557
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 0x42852a
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 0x4284f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4285d0
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 0x428623
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 0x42860a
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 0x42c8c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x42cae1
cmp eax, 8
jg 0x42cae1
cmp dword [esp + 0x8c], 2
jl 0x42cae1
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x42cae1
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x42cae1
mov eax, dword [esp + 0x80]
test eax, eax
je 0x42c947
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x42caca
mov ebp, dword [0x479568]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x42c979
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x42cab1
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x42c999
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x479558]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x42c9d8
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x47955c]
lea ecx, [esp + 0x28]
push ecx
call dword [0x47959c]
test eax, eax
jne 0x42ca98
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042bed0
cmp eax, 1
jne 0x42cac2
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0042c780
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x42c98d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x42caca
jmp 0x42c964
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0042bad0
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c