joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414571
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x422a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040f6b7
mov dword [ebp - 0x14], eax
cmp dword [0x424eb4], esi
jne 0x414664
push 0x800
push esi
push 0x41f65c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4145f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x414744
push esi
push esi
push 0x41f65c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x414744
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414744
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x424eb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x424eb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x424ebc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x424ec4], eax
test eax, eax
je 0x414661
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x424ec0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x414689
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41467c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41469e
push 4
pop eax
jmp 0x414746
cmp dword [ebp - 0x14], esi
je 0x41469e
push dword [0x424eb4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x414683
mov eax, dword [0x424ec0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4146fc
cmp dword [0x424ec4], edi
je 0x4146fc
push eax
call ebx
push dword [0x424ec4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4146fc
test eax, eax
je 0x4146fc
call ecx
test eax, eax
je 0x4146f1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4146f1
test byte [ebp - 8], 1
jne 0x4146fc
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41472c
mov eax, dword [0x424eb8]
cmp eax, edi
je 0x414729
push eax
call ebx
test eax, eax
je 0x414729
call eax
mov esi, eax
test esi, esi
je 0x414729
mov eax, dword [0x424ebc]
cmp eax, edi
je 0x414729
push eax
call ebx
test eax, eax
je 0x414729
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x424eb4]
call ebx
test eax, eax
je 0x414744
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x414746
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004079d4
mov esp, ebp
pop ebp
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x10009f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x1002819c], 0x118
cmp ecx, 0
sete dl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
sete dl
mov dh, byte [ebp - 0x15]
and dh, dl
test dh, 1
mov dword [ebp - 0x1c], eax
jne 0x1000a174
jmp 0x1000a061
mov al, byte [ebp - 0x1d]
test al, 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
jne 0x10009ff8
jmp 0x1000a15c
xor eax, eax
mov dword [0x1002819c], 0x8d
mov dword [ebp - 0x1c], eax
jmp 0x1000a174
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
jmp 0x1000a174
jmp 0x10009fe4
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x29], cl
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
jmp 0x1000a01b
mov eax, dword [ebp - 0x34]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x29]
and bh, bl
test bh, 1
mov edi, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x44], edi
jne 0x1000a051
jmp 0x1000a0c5
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x1000a174
mov eax, dword [0x100281a0]
mov ecx, eax
add ecx, 0xfffff334
mov dword [0x100281a0], ecx
add eax, 0xfffff6f0
mov dword [0x1002819c], eax
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov edx, dword [0x1002819c]
add edx, 0xfffff82e
mov dword [0x1002819c], edx
mov eax, dword [eax + 0x14]
mov dword [0x100281a0], 0x1904
cmp eax, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], eax
je 0x10009fe4
jmp 0x1000a005
mov eax, dword [ebp - 0x3c]
mov cx, word [eax]
mov dword [0x1002819c], 0x415
shr cx, 1
movzx edx, cx
cmp cx, 0
mov dword [ebp - 0x4c], edx
je 0x1000a15c
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x1000a0ed
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x40]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x54], eax
mov word [ebp - 0x56], dx
mov word [ebp - 0x58], di
jb 0x1000a121
mov ax, word [ebp - 0x56]
mov word [ebp - 0x58], ax
mov ax, word [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x54]
cmp word [ecx + edx*2], ax
sete bl
add edx, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x4c]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x1d], bl
mov dword [ebp - 0x50], edx
jne 0x1000a0ed
jmp 0x10009fd2
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x48]
cmp ecx, edx
mov dword [ebp - 0x34], ecx
je 0x1000a003
jmp 0x1000a01b
mov eax, dword [ebp - 0x1c]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a220
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa0
mov al, 0x6e
xor ecx, ecx
lea edx, [ebp - 0x6c]
mov byte [ebp - 0x2c], 0x6e
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x64
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x6c
mov byte [ebp - 0x27], 0x2e
mov byte [ebp - 0x26], 0x64
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x22], 0xab
mov dword [0x1002819c], 0x23dc
mov dword [0x100281a0], 0x54b
mov dword [ebp - 0x70], edx
mov byte [ebp - 0x71], al
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
movsx edx, cl
mov si, dx
mov word [ebp + eax*2 - 0x6c], si
add eax, 1
cmp eax, 0x20
mov dword [ebp - 0x7c], eax
je 0x1000a369
jmp 0x1000a357
mov eax, dword [ebp - 0x80]
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x88]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x8c], eax
mov word [ebp - 0x8e], dx
mov word [ebp - 0x90], di
jb 0x1000a2fc
mov ax, word [ebp - 0x8e]
mov word [ebp - 0x90], ax
mov ax, word [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
cmp word [ebp + ecx*2 - 0x6c], ax
sete dl
add ecx, 1
cmp ax, 0
setne dh
mov bl, dl
and bl, dh
mov esi, dword [ebp - 0x94]
cmp ecx, esi
setb dh
and dh, bl
test dh, 1
mov dword [ebp - 0x84], ecx
mov byte [ebp - 0x95], dl
jne 0x1000a2b3
jmp 0x1000a3fc
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
jmp 0x1000a3c2
mov eax, dword [ebp - 0x7c]
mov cl, byte [ebp + eax - 0x2c]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x71], cl
jmp 0x1000a27c
mov dword [0x100281a0], 0xfffff87f
mov dword [0x1002819c], 0xfffffc3b
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp - 0xa4], eax
mov eax, dword [0x1002819c]
add eax, 0xfffff82e
mov dword [0x1002819c], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
mov dword [0x100281a0], 0x1904
cmp ecx, eax
mov dword [ebp - 0x9c], ecx
je 0x1000a434
jmp 0x1000a349
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x28]
mov dx, word [eax + 0x24]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x94], esi
je 0x1000a412
xor eax, eax
mov dword [ebp - 0x84], eax
jmp 0x1000a2b3
mov al, byte [ebp - 0x95]
test al, 1
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
jne 0x1000a448
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa4]
cmp ecx, edx
mov dword [ebp - 0xa0], ecx
jne 0x1000a3c2
mov dword [0x1002819c], 0x415
xor eax, eax
mov dword [0x1002819c], 0x8d
mov dword [ebp - 0x80], eax
jmp 0x1000a2a5
mov eax, dword [ebp - 0xac]
mov dword [0x1002819c], 0x415
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x80], eax
jmp 0x1000a2a5
Function at 0x1000a4a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x100281a0], 0x199f
mov dword [ebp - 0x10], eax
call fcn.1000a220
xor ecx, ecx
mov edx, eax
mov esi, dword [0x1002819c]
add esi, 0xffffe3b5
mov dword [0x1002819c], esi
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
cmp dword [eax + esi], 0x4550
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
je 0x1000a4f9
jmp 0x1000a509
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1000a63e
mov eax, dword [ebp - 0x14]
mov dword [0x100281a0], 0x7c3
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x100281a0], 0x6bd
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 0x18]
add edx, dword [edx + eax + 0x20]
mov esi, dword [ebp - 0x18]
mov edi, dword [esi + eax + 0x24]
mov dword [0x1002819c], 0xe83
mov ebx, dword [esi + eax + 0x18]
cmp ebx, 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x20], ecx
je 0x1000a63e
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
add ecx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [0x100281a0], 0x1ac7
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 bl, cl
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
mov byte [ebp - 0x4f], bl
je 0x1000a5e2
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dl, byte [ebp - 0x4e]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x4f], dl
jne 0x1000a586
mov al, byte [ebp - 0x4f]
test al, 1
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x54], ecx
jne 0x1000a61b
mov eax, dword [ebp - 0x40]
add eax, 2
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x3c]
add eax, 1
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], eax
jb 0x1000a562
jmp 0x1000a4ef
mov eax, dword [ebp - 0x54]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x18]
add esi, dword [ecx + eax*4]
mov dword [0x1002819c], 0x31
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a830
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x9c
mov al, 0x6b
xor ecx, ecx
lea edx, [ebp - 0x6c]
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0xba
mov dword [0x100281a0], 0x88c
mov dword [0x1002819c], 0x2453
mov dword [ebp - 0x70], edx
mov byte [ebp - 0x71], al
mov dword [ebp - 0x78], ecx
jmp 0x1000a8ba
xor eax, eax
mov dword [0x1002819c], 0x8d
mov dword [ebp - 0x7c], eax
jmp 0x1000aa5f
mov dword [0x1002819c], 0x415
jmp 0x1000a89a
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
movsx edx, cl
mov si, dx
mov word [ebp + eax*2 - 0x6c], si
mov edx, eax
add edx, 1
mov cl, byte [ebp + eax - 0x2b]
cmp cl, 0
mov byte [ebp - 0x71], cl
mov dword [ebp - 0x78], edx
jne 0x1000a8ba
mov dword [0x100281a0], 0xfffffbc0
mov dword [0x1002819c], 0xffffff7c
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov edx, dword [0x1002819c]
add edx, 0xfffff82e
mov dword [0x1002819c], edx
mov eax, dword [eax + 0x14]
mov dword [0x100281a0], 0x1904
cmp eax, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], eax
je 0x1000a89a
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
jmp 0x1000a949
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x28]
mov dx, word [eax + 0x24]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x94], esi
je 0x1000aa2b
xor eax, eax
mov dword [ebp - 0x98], eax
jmp 0x1000a984
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x90]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x9c], eax
mov word [ebp - 0x9e], dx
mov word [ebp - 0xa0], di
jb 0x1000a9cd
mov ax, word [ebp - 0x9e]
mov word [ebp - 0xa0], ax
mov ax, word [ebp - 0xa0]
mov ecx, dword [ebp - 0x9c]
cmp word [ebp + ecx*2 - 0x6c], ax
sete dl
add ecx, 1
cmp ax, 0
setne dh
mov bl, dl
and bl, dh
mov esi, dword [ebp - 0x94]
cmp ecx, esi
setb dh
and dh, bl
test dh, 1
mov dword [ebp - 0x98], ecx
mov byte [ebp - 0xa1], dl
jne 0x1000a984
mov al, byte [ebp - 0xa1]
test al, 1
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], ecx
jne 0x1000aa49
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x80]
cmp ecx, edx
mov dword [ebp - 0x88], ecx
je 0x1000a8ae
jmp 0x1000a949
mov eax, dword [ebp - 0xa8]
mov dword [0x1002819c], 0x415
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000ab10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x1002819c]
add edi, 0xfffff6b0
mov dword [0x100281a0], edi
mov dword [0x100281a8], 0
mov byte [0x100281ac], 0
mov dword [0x100281a4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000ac3f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add eax, 0xfffff144
mov dword [0x100281a0], eax
mov eax, dword [0x100281a8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x28], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x28]
idiv edi
mov dword [0x100281a8], edx
mov dword [0x100281a0], 0x2358
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x100281ac], bl
mov dword [0x1002819c], 0x9aa
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov ecx, dword [0x1002819c]
add ecx, 0xffffedc4
mov dword [0x1002819c], ecx
mov bl, byte [0x100281ac]
mov ecx, dword [0x100281a8]
mov byte [esi + ecx], bl
mov ecx, dword [0x100281a4]
add ecx, 1
mov dword [0x100281a4], ecx
mov edx, dword [0x1002819c]
cmp ecx, 0x100
mov esi, edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
jl 0x1000ab62
jmp 0x1000ac71
xor eax, eax
mov dword [0x100281a4], 0
mov ecx, dword [0x1002819c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x1000ab62
mov eax, dword [ebp - 0x1c]
mov dword [0x1002819c], 0x339
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100281a4]
add eax, 1
mov dword [0x100281a4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000ac3f
jmp 0x1000ac22
mov eax, dword [ebp - 0x2c]
add eax, 0x1efa
mov dword [0x1002819c], eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b6c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000b110
lea ecx, [0x1000ad50]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x50], edx
mov dword [esp + 0x78], 0x12a800
mov edx, dword [0x10028188]
mov dword [esp + 0x34], edx
mov edx, dword [0x1002818c]
mov dword [esp + 0x84], edx
mov edx, dword [0x10028190]
mov dword [esp + 0x70], edx
mov edx, dword [0x10028194]
mov dword [esp + 0x64], edx
mov edx, dword [0x10028198]
mov dword [esp + 0x6c], edx
mov dword [0x100281a0], 0x1eb
mov dword [0x1002819c], 0x239c
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1000b76e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
je 0x1000b78c
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x100281a0], 0xffffff8b
mov dword [esp + 0x14], eax
jmp 0x1000b747
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x30]
mov dword [esp + 0x68], eax
mov dword [0x1002819c], 0x751
mov dword [0x100281a0], 0x7c3
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.1000adf0
mov dword [0x100281a0], 0x1031
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x1002819c]
add ecx, 0x19a3
mov dword [0x100281a0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000b830
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]
mov dword [0x100281a4], 0
mov dword [0x100281a8], 0
mov dword [0x100281b0], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x1000b983
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1000b88b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
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 [0x100281a4], edx
mov dword [0x1002819c], 0x1374
mov ecx, dword [ebp - 0x1c]
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 [0x100281a8], edx
mov dword [0x1002819c], 0x229f
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x100281ac], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x100281ac]
mov edx, dword [0x100281a8]
mov byte [edi + edx], cl
mov edx, dword [0x100281a0]
add edx, 0xffffe7c7
mov dword [0x1002819c], edx
mov edx, dword [0x100281a4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x100281a8]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x100281b0], ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
mov dword [0x100281a0], 0x1d32
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x1000b981
mov eax, dword [0x100281a4]
mov ecx, dword [0x100281a8]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x1000b88b
jmp 0x1000b983
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40d170
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ddab
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.00462220
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d1f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00460040
mov eax, dword [eax]
push 0x580200
push eax
call fcn.004522e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004624ab
test bl, bl
je 0x40d1f2
push 0x580200
lea ecx, [esp + 0xc]
call fcn.0046283b
push 0x583d7c
lea ecx, [esp + 0xc]
call fcn.0046283b
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 0x40d22e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004624ab
jmp 0x40d2f9
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 0x40d2b2
lea edx, [esp + 0x7c]
push 0x583d78
push edx
call fcn.004522e4
add esp, 8
test eax, eax
je 0x40d2b2
lea eax, [esp + 0x7c]
push 0x583d74
push eax
call fcn.004522e4
add esp, 8
test eax, eax
je 0x40d2b2
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 0x40d242
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.004624ab
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 0x40e570
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 0x40e5d2
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