joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ebec4
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00403ba0
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x4f154c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4f1665
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x14]
mov eax, dword [0x4fa3fc]
mov eax, dword [eax]
call fcn.004689d4
mov eax, dword [ebp - 0x14]
call fcn.00405958
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4f164f
push 2
push 0
push 0xfffffffffffffff6
push esi
call sub.kernel32.dll_SetFilePointer_1
lea eax, [ebp - 0xf]
xor ecx, ecx
mov edx, 0xb
call fcn.00403ba0
push 0
lea eax, [ebp - 4]
push eax
push 0xa
lea eax, [ebp - 0xf]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
mov edx, 0x4f1674
lea eax, [ebp - 0xf]
call fcn.0040cf84
test eax, eax
jne 0x4f1604
push 2
push 0
push 0xfffffffffffffff2
push esi
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x520328
push esi
call sub.kernel32.dll_ReadFile_1
mov bl, 1
jmp 0x4f1649
mov edx, 0x4f1680
lea eax, [ebp - 0xf]
call fcn.0040cf84
test eax, eax
jne 0x4f1649
push 2
push 0
push 0xfffffffffffffff2
push esi
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x520328
push esi
call sub.kernel32.dll_ReadFile_1
push 0
push esi
call sub.kernel32.dll_GetFileSize_1
sub eax, dword [0x520328]
mov dword [0x520328], eax
mov bl, 1
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f166c
lea eax, [ebp - 0x14]
call fcn.00405488
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x2d3a565d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0xc5c62c8
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x401c6894
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x155c560b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x101877ff
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x1025eefc], 0x215
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101874ad
lea ecx, [0x10187e6b]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x74], edx
mov dword [esp + 0x40], 0x14f600
mov edx, dword [0x1025eee8]
mov dword [esp + 0x68], edx
mov edx, dword [0x1025eeec]
mov dword [esp + 0x64], edx
mov edx, dword [0x1025eef0]
mov dword [esp + 0x7c], edx
mov edx, dword [0x1025eef4]
mov dword [esp + 0x30], edx
mov dword [0x1025ef00], 0xe3
mov edx, dword [0x1025eef8]
mov dword [esp + 0x34], edx
mov dword [0x1025eefc], 0x200c
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x101878e5
jmp 0x101878f9
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101882d3
mov dword [0x1025eefc], 0x2631
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0xc], eax
jmp 0x101878a4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1018790d
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10187893
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov dword [0x1025eefc], 0x51c
mov dword [0x1025ef00], 0xd91
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x54], edx
call fcn.10187bbe
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x101878ac
jmp 0x101878a4
Function at 0x10187a37
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 dword [0x1025eefc], 0x1c03
mov dword [0x1025ef08], 0
mov byte [0x1025ef0c], 0
mov dword [0x1025ef00], 0x24ea
mov dword [0x1025ef04], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1025ef04]
add eax, 1
mov dword [0x1025ef04], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10187a86
xor eax, eax
mov dword [0x1025ef04], 0
mov ecx, dword [0x1025ef00]
add ecx, 0x1e91
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x3f62
mov esi, 0x100
mov dword [ebp - 0x28], eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov dword [0x1025ef10], 0
mov dword [0x1025eefc], 0x1142
mov ebx, dword [0x1025ef08]
mov edi, dword [ebp - 0x18]
movzx edi, byte [edi + ecx]
add edi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x1025ef10], edi
mov edx, dword [ebp - 0x28]
mov dword [0x1025eefc], edx
mov eax, edi
cdq
idiv esi
mov dword [0x1025ef08], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1025ef0c], bl
mov dword [0x1025eefc], 0x25e7
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov dword [0x1025eefc], 0x1870
mov bl, byte [0x1025ef0c]
mov ecx, dword [0x1025ef08]
mov byte [esi + ecx], bl
mov dword [0x1025ef00], 0x20d1
mov ecx, dword [0x1025ef04]
add ecx, 1
mov dword [0x1025ef04], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x10187aca
mov dword [0x1025eefc], 0x220a
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10187bbe
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x1025eefc], 0x46e
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
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 0x10187c3b
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [0x1025eefc], 0xfffffb50
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x10187c9c
jmp 0x10187d14
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
je 0x10187cb6
jmp 0x10187d14
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], edx
je 0x10187bf4
jmp 0x10187c76
xor eax, eax
mov dword [0x1025ef00], 0x752
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
je 0x10187cda
jmp 0x10187d14
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [0x1025ef00], 0x1e5b
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x10187c3b
jmp 0x10187bf4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
je 0x10187c1e
jmp 0x10187d14
xor eax, eax
mov dword [0x1025ef00], 0x128c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x10187c53
jmp 0x10187d14
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x10187d14
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x10187d14
mov eax, 1
mov dword [0x1025ef00], 0x1f67
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x20
pop ebp
ret
Function at 0x10187d1c
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 dword [0x1025eefc], 0x8c6
mov dword [ebp - 0x10], eax
call fcn.10188748
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x1025ef00], 0xd91
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1025eefc], 0x398
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 0x10187e60
jmp 0x10187dd6
mov al, byte [ebp - 0x25]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x2c]
add edx, 1
mov ah, byte [ebp - 0x2d]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x34], edx
jne 0x10187e02
jmp 0x10187e2f
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov edx, dword [ebp - 0x3c]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x24], eax
jb 0x10187de8
jmp 0x10187e60
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x2c], eax
mov byte [ebp - 0x25], bh
mov byte [ebp - 0x2d], cl
jne 0x10187d7f
mov al, byte [ebp - 0x2d]
test al, 1
jne 0x10187e3b
jmp 0x10187dad
mov eax, dword [ebp - 0x3c]
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 [0x1025eefc], 0x1eda
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101882d3
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 [0x1025ef00], 0x17db
mov dword [0x1025eefc], 0x7e
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10188341
lea eax, [ebp - 0x24]
mov dword [0x1025eefc], 0x1856
mov dword [ebp - 0x34], eax
call fcn.10188426
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101872db
mov dword [0x1025ef00], 0x106f
cmp eax, 0
mov dword [ebp - 0x38], eax
jne 0x1018836d
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10189996]
mov dh, byte [eax + 0x10189967]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x10188301
jmp 0x10188341
mov dword [0x1025eefc], 0x1e33
mov eax, dword [ebp - 0x38]
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 ecx, dword [0x1025eefc]
add ecx, 0x1ce4
mov dword [0x1025ef00], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101884f3
xor eax, eax
mov dword [0x1025ef00], 0x451
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], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x4c], ecx
mov dword [0x1025eefc], 0x20ba
add ecx, 0x1f8d
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1018841d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101888e2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
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 [0x1025ef04], 0
mov dword [0x1025ef08], 0
mov dword [0x1025ef14], 0
mov ebx, dword [0x1025eefc]
mov dword [ebp - 0x10], eax
mov eax, ebx
add eax, 0xffffde67
mov dword [0x1025ef00], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, edi
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
jne 0x10188973
mov eax, dword [ebp - 0x18]
add eax, 0xfffff7a2
mov dword [0x1025eefc], eax
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov ebx, 0x100
add edi, 1
add eax, 0xfffffa42
add edx, 0xffffde0f
mov dword [ebp - 0x3c], eax
mov eax, esi
add eax, 1
mov dword [ebp - 0x40], eax
mov eax, edi
mov dword [ebp - 0x44], edx
cdq
idiv ebx
mov dword [0x1025ef04], edx
mov edi, dword [ebp - 0x44]
mov dword [0x1025eefc], edi
mov edi, dword [ebp - 0x30]
movzx edi, byte [edi + edx]
add edi, ecx
mov eax, edi
mov dword [ebp - 0x48], edx
cdq
idiv ebx
mov dword [0x1025ef08], edx
mov ecx, dword [ebp - 0x3c]
mov dword [0x1025eefc], ecx
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x48]
mov cl, byte [ecx + edi]
mov byte [0x1025ef0c], cl
mov dword [0x1025eefc], 0x206b
mov ebx, dword [ebp - 0x30]
mov cl, byte [ebx + edx]
mov byte [ebx + edi], cl
mov dword [0x1025eefc], 0x4fd
mov cl, byte [0x1025ef0c]
mov edx, dword [0x1025ef08]
mov byte [ebx + edx], cl
mov edx, dword [0x1025ef04]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1025ef08]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x1025ef00], 0x1b4e
and ecx, 0xff
mov dword [0x1025ef14], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x28]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x2c]
mov byte [edx + esi], cl
mov esi, dword [0x1025ef00]
mov ecx, esi
add ecx, 0xfffff7f8
mov dword [0x1025eefc], ecx
mov edx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x10]
cmp edx, edi
mov edx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ecx
je 0x1018895e
mov eax, dword [0x1025ef08]
mov ecx, dword [0x1025ef04]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], edi
jmp 0x10188973
Function at 0x468b3c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004689b3

Function at 0x10001016
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push esi
push edi
push 0x10003010
push 0x65
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10001061
push edi
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001061
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001061
push edi
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x10001065
xor eax, eax
jmp 0x100010a7
push ebx
mov ebx, dword [esi]
push 0
push 4
push 2
push 0
push 2
push 0x40000000
push 0x10003038
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100010a3
lea eax, [esp + 0xc]
push 0
push eax
add esi, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x100010ab
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
xor edx, edx
xor eax, eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], edx
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push eax
lea eax, [ebp - 0x54]
push eax
push edx
push edx
push 0x8000000
push edx
push edx
push edx
push 0x10003038
push edx
mov word [ebp - 0x24], dx
mov dword [ebp - 0x28], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x10001110
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
call esi
pop esi
xor eax, eax
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40894a
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
call fcn.0040896e
add ebx, 1
add ebx, 0x4e669cae
xor dword [edx], edi
dec ebx
mov ebx, ebx
inc edx
and ebx, ecx
cmp edx, esi
jne fcn.0040894a
dec ecx
ret
Function at 0x406850
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41db8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045d4
call fcn.004093c4
push 4
mov dword [esp + 0x18], 0
call fcn.0040aa66
mov edi, eax
add esp, 4
test edi, edi
je 0x4068c4
push ebx
call fcn.004091bf
mov dword [edi], eax
call fcn.00408f7e
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00409385
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4068b8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004093ad
pop ebx
jmp 0x4068c6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b55e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4213dc]
jne 0x40b568
repz ret
jmp fcn.004114fc
Function at 0x416bf3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4213dc]
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.0040f9de
and dword [ebp - 0x14], 0
cmp dword [0x438874], 0
mov dword [ebp - 0x18], eax
jne 0x416ca6
push 0x403ff0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416d4e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fe4
push ebx
call edi
test eax, eax
je 0x416d4e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fd4
push ebx
mov dword [0x438874], eax
call edi
push eax
call esi
push 0x403fc0
push ebx
mov dword [0x438878], eax
call edi
push eax
call esi
push 0x403fa4
push ebx
mov dword [0x43887c], eax
call edi
push eax
call esi
mov dword [0x438884], eax
test eax, eax
je 0x416ca6
push 0x403f8c
push ebx
call edi
push eax
call esi
mov dword [0x438880], eax
mov eax, dword [0x438880]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416cff
cmp dword [0x438884], ecx
je 0x416cff
push eax
call esi
push dword [0x438884]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416cff
test ebx, ebx
je 0x416cff
call edi
test eax, eax
je 0x416cf6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x416cf6
test byte [ebp - 8], 1
jne 0x416cff
or dword [ebp + 0x10], 0x200000
jmp 0x416d32
mov eax, dword [0x438878]
cmp eax, dword [ebp - 0x18]
je 0x416d32
push eax
call esi
test eax, eax
je 0x416d32
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416d32
mov eax, dword [0x43887c]
cmp eax, dword [ebp - 0x18]
je 0x416d32
push eax
call esi
test eax, eax
je 0x416d32
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x438874]
call esi
test eax, eax
je 0x416d4e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416d50
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b55e
leave
ret