joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466168
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd4
mov dword [esp + 4], ecx
mov dword [esp], edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [0x4f1bbc]
imul edx, dword [0x4f1bc0]
lea ecx, [edx + edx*2]
mov edx, dword [0x4ec5b4]
mov eax, dword [eax*4 + 0x4ec5a0]
call fcn.00402ed8
mov eax, dword [esp + 4]
inc eax
mov edx, eax
imul edx, eax
mov dword [esp + 0x20], edx
mov eax, dword [0x4f1bc0]
dec eax
test eax, eax
jl 0x4662e0
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], 0
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
imul dword [0x4f1bbc]
mov dword [esp + 0x10], eax
mov eax, dword [0x4f1bbc]
dec eax
test eax, eax
jl 0x4662d2
inc eax
mov dword [esp + 0x28], eax
mov dword [esp + 8], 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 4]
neg ebx
mov esi, dword [esp + 4]
sub esi, ebx
jl 0x466289
inc esi
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
add ecx, ebx
and ecx, dword [0x4f1bc4]
add ecx, dword [esp + 0x10]
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
push eax
mov eax, dword [esp + 8]
inc eax
pop edx
sub eax, edx
lea edx, [ecx + ecx*2]
mov edi, dword [0x4ec5b4]
movzx edi, byte [edi + edx]
imul edi, eax
add dword [esp + 0x14], edi
mov edi, dword [0x4ec5b4]
movzx edi, byte [edi + edx + 1]
imul edi, eax
add dword [esp + 0x18], edi
mov ecx, dword [0x4ec5b4]
movzx edx, byte [ecx + edx + 2]
imul edx, eax
add dword [esp + 0x1c], edx
inc ebx
dec esi
jne 0x466228
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x20]
mov edx, dword [esp + 0x10]
add edx, dword [esp + 8]
lea ecx, [edx + edx*2]
mov edx, dword [esp]
mov ebx, dword [edx*4 + 0x4ec5a0]
mov byte [ebx + ecx], al
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x20]
mov byte [ebx + ecx + 1], al
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x20]
mov byte [ebx + ecx + 2], al
inc dword [esp + 8]
dec dword [esp + 0x28]
jne 0x4661fe
inc dword [esp + 0xc]
dec dword [esp + 0x24]
jne 0x4661cf
add esp, 0x2c
pop edi
pop esi
pop ebx
ret
Function at 0x467ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, 0x4ec5a0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [0x4f1bbc]
imul dword [0x4f1bc0]
dec eax
test eax, eax
jl 0x4680fb
inc eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
nop
nop
lea esi, [ebx + ebx*2]
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul dword [ebp + 0xc]
call fcn.004030a0
push eax
mov eax, dword [ebp - 8]
mov eax, dword [edi + eax*4]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [ebp + 8]
call fcn.004030a0
pop edx
xor dl, al
mov eax, dword [ebp - 0xc]
mov eax, dword [edi + eax*4]
mov byte [eax + esi], dl
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
movzx eax, byte [eax + esi + 1]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul dword [ebp + 0xc]
call fcn.004030a0
push eax
mov eax, dword [ebp - 8]
mov eax, dword [edi + eax*4]
movzx eax, byte [eax + esi + 1]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [ebp + 8]
call fcn.004030a0
pop edx
xor dl, al
mov eax, dword [ebp - 0xc]
mov eax, dword [edi + eax*4]
mov byte [eax + esi + 1], dl
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
movzx eax, byte [eax + esi + 2]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul dword [ebp + 0xc]
call fcn.004030a0
push eax
mov eax, dword [ebp - 8]
mov eax, dword [edi + eax*4]
movzx eax, byte [eax + esi + 2]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [ebp + 8]
call fcn.004030a0
pop edx
xor dl, al
mov eax, dword [ebp - 0xc]
mov eax, dword [edi + eax*4]
mov byte [eax + esi + 2], dl
inc ebx
dec dword [ebp - 0x10]
jne 0x46802f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100ed812
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101ba328]
jne 0x100ed81c
repz ret
jmp fcn.100f6dfb

Function at 0x100f856f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100eb156
and dword [ebp - 4], 0
cmp dword [0x101bbe04], 0
mov ebx, eax
jne 0x100f8620
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100f86d1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100f86d1
push eax
call fcn.100eb0e4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101bbe04], eax
call esi
push eax
call fcn.100eb0e4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101bbe08], eax
call esi
push eax
call fcn.100eb0e4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101bbe0c], eax
call esi
push eax
call fcn.100eb0e4
pop ecx
mov dword [0x101bbe14], eax
test eax, eax
je 0x100f8620
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100eb0e4
pop ecx
mov dword [0x101bbe10], eax
mov eax, dword [0x101bbe10]
cmp eax, ebx
je 0x100f8678
cmp dword [0x101bbe14], ebx
je 0x100f8678
push eax
call fcn.100eb15f
push dword [0x101bbe14]
mov esi, eax
call fcn.100eb15f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100f8678
test edi, edi
je 0x100f8678
call esi
test eax, eax
je 0x100f866f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100f866f
test byte [ebp - 0xc], 1
jne 0x100f8678
or dword [ebp + 0x10], 0x200000
jmp 0x100f86b1
mov eax, dword [0x101bbe08]
cmp eax, ebx
je 0x100f86b1
push eax
call fcn.100eb15f
pop ecx
test eax, eax
je 0x100f86b1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100f86b1
mov eax, dword [0x101bbe0c]
cmp eax, ebx
je 0x100f86b1
push eax
call fcn.100eb15f
pop ecx
test eax, eax
je 0x100f86b1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101bbe04]
call fcn.100eb15f
pop ecx
test eax, eax
je 0x100f86d1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100f86d3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100fb7d1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [0x101b978c]
add ecx, 0x205c
mov dword [0x101b9788], ecx
mov dword [0x101b978c], 0x879
mov dword [ebp - 0x10], eax
call fcn.100fcba8
xor ecx, ecx
mov edx, eax
mov dword [0x101b9788], 0xfffff7a8
mov esi, dword [eax + 0x3c]
mov dword [0x101b978c], 0x2416
mov dword [0x101b9788], 0x1348
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x101b9788], 0x254a
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x100fb94d
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
jmp 0x100fb8a3
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov dword [0x101b978c], 0x2552
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101b9788], 0xfffff15b
mov dword [ebp - 0x28], edi
jmp 0x100fb94d
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x100fb90e
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x100fb8bd
mov al, byte [ebp - 0x46]
test al, 1
jne 0x100fb871
jmp 0x100fb91b
xor eax, eax
mov dword [0x101b9788], 0x150d
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jb 0x100fb8a3
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100fb9f5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101b9788], 0x204b
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101ab5f4]
mov dl, byte [eax + 0x101ab5c5]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x100fba17
lea eax, [ebp - 0x24]
mov dword [0x101b978c], 0x1bbe
mov dword [0x101b9788], 0x14
mov dword [ebp - 0x34], eax
call fcn.100fc158
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100fbddf
mov dword [0x101b9788], 0xeeb
mov dword [0x101b978c], 0xfffffe15
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x100fbb3d
mov eax, dword [ebp - 0x38]
mov dword [0x101b9788], 0x2578
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 [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.100fbb45
xor eax, eax
mov dword [0x101b978c], 0x145b
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x50], ecx
mov esi, dword [0x101b978c]
add esi, 0xffffec67
mov dword [0x101b9788], esi
add ecx, 0x186c
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x100fbb34
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100fbc59
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101b9794], 0
mov byte [0x101b9798], 0
mov dword [0x101b978c], 0x2449
mov dword [0x101b9788], 0x109e
mov dword [0x101b9790], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100fbcc7
xor eax, eax
mov dword [0x101b9790], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x1d78
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x100fbd13
mov eax, dword [ebp - 0x1c]
mov dword [0x101b978c], 0x206
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101b9788]
mov esi, eax
add esi, 0xfffff9d0
mov dword [0x101b9788], esi
mov esi, dword [0x101b9790]
add esi, 1
mov dword [0x101b9790], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x100fbcc7
jmp 0x100fbcaa
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x3a46
mov esi, 0x100
mov dword [0x101b979c], 0
mov edi, dword [0x101b9794]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x101b979c], ebx
mov dword [0x101b978c], ecx
mov dword [0x101b9788], 0xe04
mov eax, ebx
cdq
idiv esi
mov dword [0x101b9794], edx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov cl, byte [ecx + esi]
mov byte [0x101b9798], cl
mov dword [0x101b978c], 0x18fd
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101b9798]
mov edx, dword [0x101b9794]
mov byte [ebx + edx], cl
mov dword [0x101b9788], 0x169e
mov edx, dword [0x101b9790]
add edx, 1
mov dword [0x101b9790], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jl 0x100fbd13
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100fc80d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [0x101b978c], 0x2455
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101b978c], 0x15ac
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100fc88b
xor eax, eax
mov dword [0x101b9788], 0xffffe829
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
je 0x100fc947
jmp 0x100fc98b
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jge 0x100fc8a1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
jne 0x100fc874
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [0x101b9788]
add edx, 0xffffed2c
mov dword [0x101b9788], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x100fc98b
xor eax, eax
mov dword [0x101b9788], 0x2d1a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
jne 0x100fc98b
mov dword [0x101b9788], 0x6a7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x22], dx
xor eax, eax
mov cx, word [ebp - 0x22]
cmp cx, 0x61
mov dword [ebp - 0x18], eax
jne 0x100fc98b
mov dword [0x101b9788], 0x468
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff6
mov dword [ebp - 0x28], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2], 0x64
mov dword [ebp - 0x18], eax
je 0x100fc84d
jmp 0x100fc98b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
jne 0x100fc98b
xor eax, eax
mov dword [0x101b978c], 0x401
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x100fc98b
mov eax, 1
mov dword [0x101b9788], 0x2389
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x28
pop ebp
ret
Function at 0x100fcd13
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0xffffff79
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, 0xfffff00e
mov dword [0x101b9790], 0
mov dword [0x101b9794], 0
mov dword [0x101b97a0], 0
mov dword [ebp - 0x14], eax
mov eax, dword [0x101b9788]
add eax, 0xffffda0d
mov dword [0x101b978c], eax
mov dword [0x101b9788], 0x4ad
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
je 0x100fcef3
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov ebx, 0x6b6
mov dword [ebp - 0x40], eax
mov eax, 0x100
mov dword [0x101b9788], ecx
add edx, 1
mov dword [ebp - 0x44], eax
mov eax, edx
cdq
mov ecx, dword [ebp - 0x44]
idiv ecx
mov dword [0x101b9790], edx
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x48], edx
cdq
mov ecx, dword [ebp - 0x44]
idiv ecx
mov dword [0x101b9794], edx
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
mov cl, byte [esi + ecx]
mov byte [0x101b9798], cl
add edi, 0x1ab1
mov dword [0x101b9788], edi
mov cl, byte [esi + edx]
mov edx, dword [ebp - 0x48]
mov byte [esi + edx], cl
mov edi, dword [0x101b978c]
add edi, 0xffffe8ac
mov dword [0x101b978c], edi
mov cl, byte [0x101b9798]
mov edi, dword [0x101b9794]
mov byte [esi + edi], cl
mov edi, dword [0x101b9790]
movzx edi, byte [esi + edi]
mov ecx, dword [0x101b9794]
movzx ecx, byte [esi + ecx]
add ecx, edi
and ecx, 0xff
mov dword [0x101b97a0], ecx
mov dword [0x101b978c], 0x3cd
mov dword [0x101b9788], 0x2296
mov cl, byte [esi + ecx]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
mov ch, byte [edi + edx]
mov dword [0x101b978c], 0x31f
mov byte [0x101b97a5], ch
mov byte [0x101b97a6], cl
xor ch, cl
mov byte [0x101b97a4], ch
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x40]
mov byte [edx + esi], ch
mov dword [0x101b9788], 0xbea
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x3c], ebx
je 0x100fcef3
mov eax, 0xfffff74b
mov ecx, dword [0x101b9790]
mov edx, dword [0x101b9794]
mov esi, dword [0x101b978c]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], edi
jmp 0x100fcda7
mov eax, dword [ebp - 0x3c]
mov dword [0x101b9788], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100fcf03
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov dword [0x101b9788], 0x870
call fcn.10001070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x100fcf5f
jmp 0x100fd082
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100fb9f5
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x20], eax
jmp 0x100fd07a
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x101b978c], 0xa27
mov dword [0x101b9788], 0x18d4
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100fc521
lea ecx, [0x100fc0f5]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], edx
mov dword [esp + 0x60], 0x15b200
mov edx, dword [0x101b9774]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101b9778]
mov dword [esp + 0x64], edx
mov edx, dword [0x101b977c]
mov dword [esp + 0x48], edx
mov edx, dword [0x101b9780]
mov dword [esp + 0x84], edx
mov edx, dword [0x101b9784]
mov dword [esp + 0x50], edx
mov dword [0x101b9788], 0x352
mov dword [0x101b978c], 0x139f
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 0x100fd014
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x100fd028
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100fcff1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x94], eax
mov dword [0x101b978c], 0x2416
mov ecx, dword [esp + 0xc]
add ecx, 0x50
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx]
mov dword [esp + 0x74], edx
mov dword [0x101b9788], 0x64f
call fcn.100fc80d
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
je 0x100fcf30
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x730433ee
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x72ca3471
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219