joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1cc8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4bea70]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a1d08
cmp byte [ebx], 0xa
jne 0x4a1d08
or byte [edi + eax + 0x28], 4
jmp 0x4a1d0d
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4a1e0c
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4a1def
inc eax
cmp dl, 0xd
je 0x4a1d39
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4a1d5f
cmp eax, ecx
jae 0x4a1d6d
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4a1d21
jmp 0x4a1e0c
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a1dea
cmp dword [ebp - 0x10], 0
je 0x4a1dea
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4bea70]
test byte [eax + edi + 0x28], 0x48
je 0x4a1dc4
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4a1daf
mov byte [esi], dl
jmp 0x4a1dc0
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4bea70]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4a1e0c
cmp byte [ebp - 1], 0xa
jne 0x4a1dd3
cmp esi, ebx
jne 0x4a1dd3
mov byte [esi], 0xa
jmp 0x4a1e0b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004a1620
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4a1e0c
mov byte [esi], 0xd
jmp 0x4a1e0b
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4bea70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a1e09
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a1e0c
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a1e15
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4bea70]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a1e5b
cmp word [ebx], dx
jne 0x4a1e5b
or byte [eax + edi + 0x28], 4
jmp 0x4a1e60
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4a1fc3
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4a1fa3
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4a1ea1
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4a1ed7
cmp eax, edx
jae 0x4a1ee5
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4a1e7c
jmp 0x4a1fc3
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a1f9e
cmp dword [ebp - 0x18], 0
je 0x4a1f9e
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4bea70]
test byte [eax + edi + 0x28], 0x48
je 0x4a1f74
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4a1f38
mov word [esi], cx
jmp 0x4a1f6f
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4bea70]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4bea70]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4bea70]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4a1fc3
pop eax
cmp word [ebp - 4], ax
jne 0x4a1f84
cmp esi, ebx
jne 0x4a1f84
mov word [esi], ax
jmp 0x4a1fc0
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004a1620
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4a1fc3
push 0xd
pop eax
jmp 0x4a1f7f
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4bea70]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4a1fbd
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4a1fc3
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a5980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4a59ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a59ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5ae460
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0049fec4
mov eax, dword [0x6310ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x634d58]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x5ae638
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x5ae587
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x5ae587
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x5ae565
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x5ae4e9
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5ae5f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x5ae658
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x5ae633
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x5ae658
jmp 0x5ae4c2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a13a0
mov esp, ebp
pop ebp
ret
Function at 0x5ae6f0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0049fec4
mov eax, dword [0x6310ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x634d58]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x5ae8db
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x5ae826
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x5ae826
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x5ae802
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x5ae779
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5ae894
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x5ae8fb
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x5ae8d6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x5ae8fb
jmp 0x5ae752
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a13a0
mov esp, ebp
pop ebp
ret
Function at 0x4971b6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c6b10]
jne 0x4971c0
repz ret
jmp fcn.0049bc1d

Function at 0x499f00
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c6b10]
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.00494532
and dword [ebp - 0x14], 0
cmp dword [0x4c9cbc], 0
mov dword [ebp - 0x18], eax
jne 0x499fb3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49a05b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a4030
push ebx
call edi
test eax, eax
je 0x49a05b
mov esi, dword [fcn.00490bb0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c9cbc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c9cc0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c9cc4], eax
call edi
push eax
call esi
mov dword [0x4c9ccc], eax
test eax, eax
je 0x499fb3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c9cc8], eax
mov eax, dword [0x4c9cc8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00490bb4]
cmp eax, ecx
je 0x49a00c
cmp dword [0x4c9ccc], ecx
je 0x49a00c
push eax
call esi
push dword [0x4c9ccc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x49a00c
test ebx, ebx
je 0x49a00c
call edi
test eax, eax
je 0x49a003
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x49a003
test byte [ebp - 8], 1
jne 0x49a00c
or dword [ebp + 0x10], 0x200000
jmp 0x49a03f
mov eax, dword [0x4c9cc0]
cmp eax, dword [ebp - 0x18]
je 0x49a03f
push eax
call esi
test eax, eax
je 0x49a03f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x49a03f
mov eax, dword [0x4c9cc4]
cmp eax, dword [ebp - 0x18]
je 0x49a03f
push eax
call esi
test eax, eax
je 0x49a03f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c9cbc]
call esi
test eax, eax
je 0x49a05b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49a05d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004971b6
leave
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x46c7547d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x6587ffb
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x404363
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.00403253
and dword [ebp - 4], 0
cmp dword [0x45d640], 0
mov ebx, eax
jne 0x404414
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4044c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4044c5
push eax
call fcn.004031e1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45d640], eax
call esi
push eax
call fcn.004031e1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45d644], eax
call esi
push eax
call fcn.004031e1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45d648], eax
call esi
push eax
call fcn.004031e1
pop ecx
mov dword [0x45d650], eax
test eax, eax
je 0x404414
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004031e1
pop ecx
mov dword [0x45d64c], eax
mov eax, dword [0x45d64c]
cmp eax, ebx
je 0x40446c
cmp dword [0x45d650], ebx
je 0x40446c
push eax
call fcn.0040325c
push dword [0x45d650]
mov esi, eax
call fcn.0040325c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40446c
test edi, edi
je 0x40446c
call esi
test eax, eax
je 0x404463
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404463
test byte [ebp - 0xc], 1
jne 0x40446c
or dword [ebp + 0x10], 0x200000
jmp 0x4044a5
mov eax, dword [0x45d644]
cmp eax, ebx
je 0x4044a5
push eax
call fcn.0040325c
pop ecx
test eax, eax
je 0x4044a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4044a5
mov eax, dword [0x45d648]
cmp eax, ebx
je 0x4044a5
push eax
call fcn.0040325c
pop ecx
test eax, eax
je 0x4044a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45d640]
call fcn.0040325c
pop ecx
test eax, eax
je 0x4044c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4044c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4061ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45cd78]
jne 0x4061d8
repz ret
jmp fcn.004078f5
Function at 0x100025f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10014004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x5cf58f
call esi
mov dword [0x5cf590], 0x90909090
mov eax, 0x10001030
sub eax, 0x5cf594
mov byte [0x5cf58f], 0xe9
mov dword [0x5cf590], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push 0x5cf58f
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x47bde1
call esi
mov dword [0x47bde2], 0x90909090
mov eax, 0x100021c0
sub eax, 0x47bde6
mov byte [0x47bde1], 0xe9
mov dword [0x47bde2], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push 0x47bde1
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x573b90
call esi
mov dword [0x573b91], 0x90909090
mov eax, 0x100025d0
sub eax, 0x573b95
mov byte [0x573b90], 0xe9
mov dword [0x573b91], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push 0x573b90
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x44c36d
call esi
mov dword [0x44c36e], 0x90909090
mov eax, 0x9090
mov word [0x44c372], ax
mov eax, 0x100022c0
sub eax, 0x44c372
mov byte [0x44c36d], 0xe9
mov dword [0x44c36e], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 7
push 0x44c36d
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 9
push 0x44c275
call esi
mov dword [0x44c276], 0x90909090
mov dword [0x44c27a], 0x90909090
mov byte [0x44c275], 0xe9
mov eax, 0x100022a0
sub eax, 0x44c27a
mov dword [0x44c276], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 9
push 0x44c275
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 9
push 0x448409
call esi
mov dword [0x44840a], 0x90909090
mov eax, 0x10002250
mov dword [0x44840e], 0x90909090
sub eax, 0x44840e
mov byte [0x448409], 0xe9
mov dword [0x44840a], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 9
push 0x448409
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push 0x421bb0
call esi
mov eax, 0x421bb0
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov eax, 0x10002220
sub eax, 0x421bb5
mov byte [0x421bb0], 0xe9
mov dword [0x421bb1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 6
push 0x421bb0
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 8
push 0x50796d
call esi
mov eax, 0x50796d
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov eax, 0x10001040
sub eax, 0x507972
mov byte [0x50796d], 0xe9
mov dword [0x50796e], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 8
push 0x50796d
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x4f0243
call esi
mov dword [0x4f0244], 0x90909090
mov eax, 0x10001910
sub eax, 0x4f0248
mov byte [0x4f0243], 0xe9
mov dword [0x4f0244], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push 0x4f0243
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000287a
mov esp, ebp
pop ebp
ret
Function at 0x100f98b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x1018fa9c]
add eax, 0xffffe2bc
mov dword [0x1018fa9c], eax
mov dword [ebp - 0xc], 0
mov dword [0x1018faa0], 0x1b54
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, 0x44c
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [0x1018fa9c], 0x44c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
jmp 0x100f99a6
xor eax, eax
mov ecx, dword [0x1018faa0]
add ecx, 0xffffe844
mov dword [0x1018fa9c], ecx
mov dword [ebp - 0x20], eax
jmp 0x100f9a61
mov dword [0x1018fa9c], 0x2371
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x100f9a1d
jmp 0x100f990c
mov eax, dword [0x1018faa0]
add eax, 0x992
mov dword [0x1018faa0], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100f9a3f
jmp 0x100f990c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100f9928
jmp 0x100f990c
mov eax, 1
mov dword [0x1018fa9c], 0x141d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x100f9a61
jmp 0x100f990c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, eax
add edx, 0xfffff07e
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 0x100f99ea
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 0x100f99a6
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add ecx, 0xb1a
mov edx, dword [ebp - 0x30]
mov dword [0x1018fa9c], edx
mov dword [0x1018faa0], ecx
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
je 0x100f996b
jmp 0x100f990c
mov dword [0x1018fa9c], 0x1f66
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x100f9947
jmp 0x100f990c
mov dword [0x1018faa0], 0xfbd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x100f997c
jmp 0x100f990c
mov eax, dword [ebp - 0x20]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret

Function at 0x100f9cf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.100f9cf0]
mov dword [0x1018fa9c], 0xfffffbee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
je 0x100f9d20
jmp 0x100f9d2f
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x100f9d18
mov dword [0x1018faa0], 0x4bb
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
jmp 0x100f9d09
Function at 0x100fa070
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1018faa8], 0
mov byte [0x1018faac], 0
mov dword [0x1018fa9c], 0xc60
mov dword [0x1018faa4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x100fa0df
mov eax, dword [0x1018fa9c]
add eax, 0xde7
mov dword [0x1018fa9c], eax
mov dword [0x1018faa4], 0
jmp 0x100fa110
mov dword [0x1018fa9c], 0x108b
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1018faa4]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1018fa9c], 0x167d
mov eax, dword [0x1018faa4]
add eax, 1
mov dword [0x1018faa4], eax
cmp eax, 0x100
jl 0x100fa0df
jmp 0x100fa0b2
mov eax, 0x100
mov dword [0x1018fab0], 0
mov ecx, dword [0x1018faa0]
add ecx, 0xfffff278
mov dword [0x1018fa9c], ecx
mov ecx, dword [0x1018faa8]
mov edx, dword [0x1018faa4]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x1c], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x1018fab0], edi
mov dword [0x1018faa0], 0x2290
mov eax, edi
cdq
mov edi, dword [ebp - 0x1c]
idiv edi
mov dword [0x1018faa8], edx
mov edx, dword [0x1018fa9c]
mov ecx, edx
add ecx, 0xffffdd86
mov dword [0x1018fa9c], ecx
mov ecx, dword [0x1018faa4]
mov cl, byte [esi + ecx]
mov byte [0x1018faac], cl
add edx, 0xffffda05
mov dword [0x1018fa9c], edx
mov edx, dword [0x1018faa8]
mov cl, byte [esi + edx]
mov edx, dword [0x1018faa4]
mov byte [esi + edx], cl
mov dword [0x1018fa9c], 0xfef
mov cl, byte [0x1018faac]
mov edx, dword [0x1018faa8]
mov byte [esi + edx], cl
mov edx, dword [0x1018faa4]
add edx, 1
mov dword [0x1018faa4], edx
cmp edx, 0x100
jl 0x100fa110
jmp 0x100fa0cd