joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011d15
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10279a3c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov byte [0x10279a40], 0
mov dword [0x10279a38], 0
mov dword [ebp - 0x1c], eax
jmp 0x10011d7f
xor eax, eax
mov dword [0x10279a30], 0x1c5c
mov dword [0x10279a38], 0
mov dword [ebp - 0x20], eax
jmp 0x10011db1
mov dword [0x10279a34], 0x2116
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [0x10279a34], 0xe98
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10279a38]
add eax, 1
mov dword [0x10279a38], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10011d7f
jmp 0x10011d52
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10279a44], 0
mov dword [0x10279a30], 0x1369
mov edi, dword [0x10279a3c]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10279a44], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x10279a3c], edx
mov dword [0x10279a30], 0xba5
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10279a40], cl
mov dword [0x10279a30], 0x403
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x10279a40]
mov esi, dword [0x10279a3c]
mov byte [ebx + esi], cl
mov dword [0x10279a30], 0x5e6
mov esi, dword [0x10279a38]
add esi, 1
mov dword [0x10279a38], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10011db1
jmp 0x10011d6d
Function at 0x10011f13
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x10279a30], 0x1730
mov dword [ebp - 0x10], eax
call fcn.100112de
mov ecx, eax
mov edx, ecx
add edx, dword [eax + 0x3c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
cmp edx, 0x4550
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x10011f59
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10279a34], 0x1e1a
mov ecx, dword [ebp - 0x18]
add ecx, dword [ecx + eax + 0x20]
mov dword [0x10279a30], 0xafd
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x10012084
jmp 0x10011fcb
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x1001202a
jmp 0x10012057
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
jmp 0x10012006
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10279a34], 0x269
mov edx, dword [ebp - 0x18]
add edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x10012084
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x10279a30], 0x1f1b
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x50]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
jne 0x10011f9e
mov al, byte [ebp - 0x36]
test al, 1
jne 0x10011fdf
jmp 0x10012060
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x48]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x30], eax
jb 0x10012006
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001208f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x30
mov dword [0x10279a30], 0x25b6
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
mov ecx, dword [0x10279a30]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x10]
mov esi, dword [esi + 0x3c]
mov edi, ecx
add edi, 0xcfd
mov dword [0x10279a30], edi
mov edi, ecx
add edi, 0xcac
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
je 0x1001215b
jmp 0x10012144
mov dword [0x10279a34], 0x90
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10012187
jmp 0x100121dd
mov eax, dword [ebp - 0x1c]
add eax, 0xffffffdf
mov dword [0x10279a34], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10012105
jmp 0x100121dd
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
jl 0x100120ed
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [0x10279a34], ecx
mov edx, dword [ebp - 0x20]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x30], eax
jne 0x100121dd
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10012123
jmp 0x100121dd
mov dword [0x10279a34], 0x177c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x12], 0x64
sete dl
mov byte [ebp - 0x31], dl
mov al, byte [ebp - 0x31]
test al, 1
jne 0x100121ad
jmp 0x100121dd
mov dword [0x10279a34], 0x1a29
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100121dd
mov eax, 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x38], eax
je 0x100121e4
xor eax, eax
mov dword [ebp - 0x38], eax
jmp 0x100121e4
mov eax, dword [ebp - 0x38]
add esp, 0x30
pop esi
pop edi
pop ebp
ret
Function at 0x100121ee
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x10279a30]
add ebx, 0xffffe1a5
mov dword [0x10279a30], ebx
mov dword [0x10279a38], 0
mov dword [0x10279a3c], 0
mov dword [0x10279a48], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x10012267
mov dword [0x10279a30], 0x179
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10279a38], edx
mov dword [0x10279a30], 0xd72
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10279a3c], edx
mov dword [0x10279a34], 0x264b
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10279a40], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10279a40]
mov edx, dword [0x10279a3c]
mov byte [edi + edx], cl
mov dword [0x10279a30], 0x24a1
mov edx, dword [0x10279a38]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10279a3c]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10279a48], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov dword [0x10279a30], 0x218d
mov dword [0x10279a34], 0x26af
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10012255
mov eax, dword [0x10279a38]
mov ecx, dword [0x10279a3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x10012267
Function at 0x401000
Capabilities:
Terminate process

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

Function at 0x407539
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80a004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404292
and dword [ebp - 0x14], 0
cmp dword [0x80cd88], 0
mov dword [ebp - 0x18], eax
jne 0x4075ec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407694
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407694
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x80cd88], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x80cd8c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x80cd90], eax
call edi
push eax
call esi
mov dword [0x80cd98], eax
test eax, eax
je 0x4075ec
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x80cd94], eax
mov eax, dword [0x80cd94]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407645
cmp dword [0x80cd98], ecx
je 0x407645
push eax
call esi
push dword [0x80cd98]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407645
test ebx, ebx
je 0x407645
call edi
test eax, eax
je 0x40763c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40763c
test byte [ebp - 8], 1
jne 0x407645
or dword [ebp + 0x10], 0x200000
jmp 0x407678
mov eax, dword [0x80cd8c]
cmp eax, dword [ebp - 0x18]
je 0x407678
push eax
call esi
test eax, eax
je 0x407678
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407678
mov eax, dword [0x80cd90]
cmp eax, dword [ebp - 0x18]
je 0x407678
push eax
call esi
test eax, eax
je 0x407678
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x80cd88]
call esi
test eax, eax
je 0x407694
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407696
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x806320
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x808
mov eax, dword [0x80a004]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x80d2a4]
imul eax, eax, 0x343fd
cmp dword [0x26afe8c], 0x139e
mov dword [0x80d2a4], eax
jne 0x806373
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapePosition]
mov eax, dword [esp]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x80d2a4]
add eax, 0x269ec3
push esi
mov dword [0x80d2a4], eax
movzx esi, word [0x80d2a6]
and esi, 0x7fff
cmp dword [0x26afe8c], 0x8e7
jne 0x8063a8
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x808
ret

Function at 0x806430
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x80a004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x80b1f0]
push ebx
mov ebx, dword [0x26af830]
push edi
mov edi, dword [0x26afe8c]
call fcn.008063c0
cmp dword [0x26afe8c], 0x2f
jne 0x806495
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.008063f0
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x24
ret
Function at 0x8067e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00409640
mov eax, dword [0x80a004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x806809
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x8068b1
cmp dword [0x26afe8c], 0xa5f
jne 0x806855
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push str.keminivefayosexerukugufebaponif
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84526b
jne 0x80687a
mov eax, dword [0x80c010]
mov dword [0x26afe8c], eax
mov ecx, dword [0x26afe8c]
add ecx, 0xa231
mov dword [0x26afe8c], ecx
cmp dword [0x26afe8c], 0x141
jne 0x8068ac
push str.renej_luwoyisawopab_dadabayegutenecisufoba_wozonotuwugewiropoxu_vogiwipeladoxakanahotucucuwi
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x80d2a8], 0xec58acac
mov dword [0x80d2ac], 0xffffffff
jmp 0x806800
call fcn.008064b0
jmp dword [0x26af830]
Function at 0x4209cb
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420a0a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420a0a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420a0a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420a0a
cmp dword [ecx + 0x74], 0xe
jbe 0x420a0a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433180
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4331ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4331ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1002af60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1002af6f
pop dword [ebp - 0x10]
mov eax, 0xa3b0e9b7
sub eax, 0x93ae3a48
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x3e362241
sub dword [ebp - 0x20], 0xefe3dcf6
mov dword [ebp - 0x1c], 0x86f178c5
sub dword [ebp - 0x1c], 0x54be2c80
mov dword [ebp - 0x18], 0xf232d0d5
add dword [ebp - 0x18], 0x5a197359
mov dword [ebp - 0x14], 0xe44bc14e
sub dword [ebp - 0x14], 0xe44bc14e
lea eax, [ebp - 0x20]
push eax
mov eax, 0x58d861ce
sub eax, 0x48d2a0c2
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xc559317a
add dword [ebp - 0x20], 0xaf1937dc
mov dword [ebp - 0x1c], 0x5c780450
add dword [ebp - 0x1c], 0xe4f45d25
mov dword [ebp - 0x18], 0xc92134f9
sub dword [ebp - 0x18], 0x65b1c88d
mov dword [ebp - 0x14], 0x9865683a
add dword [ebp - 0x14], 0x679a97c6
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x110a0380
add eax, 0xfefbbcc0
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x58c36
push 0
call eax
mov ecx, 0x2736cdc
sub ecx, 0x27328bc
xor edx, edx
add edx, eax
mov edi, 0x1006ca00
add edi, dword [ebp - 0x10]
mov esi, 0xe035b767
add esi, 0x140e1c76
sub dword [ebp - 4], esi
mov ebx, dword [edi]
xor dword [ebp - 8], esi
add ebx, esi
sub dword [ebp - 4], 0x5e2e20f2
mov dword [edx], ebx
sub dword [ebp - 0xc], edi
add edx, 4
add edi, 0xfc6b5e08
add edi, 0x394a1fc
loop 0x1002b08d
add eax, 0x10353
mov ebx, eax
add eax, 0x7e4a3d54
sub eax, 0x7e4a3d4f
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x486cd4
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00486e84
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x486dd2
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x486d75
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x486db8
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x486d8c
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x486da7
test al, 0x40
je 0x486d9e
mov ecx, dword [edi + 0x20]
jmp 0x486da5
test al, 0x80
je 0x486db8
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x486db8
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x486d44
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x511200
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x995b70]
xor edx, edx
cmp eax, edx
jne 0x511226
xor eax, eax
mov byte [eax + 0x995a70], al
inc eax
cmp eax, 0x100
jl 0x51120e
mov dword [0x995b70], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x995a70
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5112b7
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 0x51128a
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 0x511258
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x511330
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 0x511383
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 0x51136a
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 0x526c80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b6178
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 0x526cb9
inc eax
mov dword [esi + 0x10], eax
jmp 0x526dcc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x526ccd
mov eax, 0xffffffc7
jmp 0x526dce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x526cde
cmp dword [esi + 8], eax
jne 0x526ccd
cmp dword [esi + 8], eax
jne 0x526cf7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x526cf7
mov eax, 0xffffffc7
jmp 0x526dce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x526d0b
push eax
mov ecx, ebx
call fcn.005264b0
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.004ef2f0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x526d3c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004ef310
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00525c20
test eax, eax
mov dword [esp + 0x38], eax
je 0x526d6f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x88d148
call fcn.004ef4f0
mov eax, dword [esp + 0x38]
jmp 0x526dce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00526ae0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x526db3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00526b00
mov esi, eax
test esi, esi
jne 0x526de3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00526ae0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x526d85
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x88d148
call fcn.004ef4f0
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], 0x88d148
call fcn.004ef4f0
mov eax, esi
jmp 0x526dce
Function at 0x55d840
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x891298
push 0x593b84
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.005914f0
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 0x55f397
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push dword [esp + 0x10]
push 0x55f405
push 0
push 0
call fcn.00593e2d
mov esi, eax
add esp, 0x18
test esi, esi
jbe 0x55f3c5
push esi
call fcn.0055f3c7
pop ecx
push esi
call dword [0x5b9360]
pop esi
ret