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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x45f5c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x90]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x94], ebx
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
call fcn.00424170
lea ecx, [ebp - 0x90]
call fcn.0041c8a0
movups xmm0, xmmword [ebp - 0x38]
xor esi, esi
lea edi, [ebp - 0x28]
movups xmmword [ebp - 0xa8], xmm0
movzx eax, byte [ebp + esi - 0xa8]
push eax
push str._02X
push edi
call fcn.00425bc0
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x41c012
xorps xmm0, xmm0
mov byte [ebp - 8], 0
movups xmmword [ebx], xmm0
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c050
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
mov ecx, ebx
call fcn.00401e50
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428c8a
mov esp, ebp
pop ebp
ret

Function at 0x41c870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xf
jbe 0x41c87e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41c88e
xor al, al
pop ebp
ret
shr eax, 4
not al
and al, 1
pop ebp
ret
Function at 0x41e160
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x45f5c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x460ed8]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24c], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x460970]
cmp eax, dword [ecx + 4]
jg 0x41e327
cmp dword [0x45f4c8], 0
jne 0x41e30a
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.0041ef40
test al, al
jne 0x41e219
push esi
lea eax, [ebp - 0x1c]
push str._05d
push eax
call fcn.00404350
mov esi, eax
add esp, 0xc
cmp esi, 0x45f4b8
je 0x41e301
mov ecx, dword [0x45f4cc]
cmp ecx, 0xf
jbe 0x41e2be
mov edx, dword [0x45f4b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e2b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e35d
jmp 0x41e2b4
push edi
push 0
push 2
mov dword [ebp - 0x24c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov edi, eax
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.0042a740
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41e287
cmp dword [ebp - 0x240], esi
je 0x41e27b
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41e260
jmp 0x41e287
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x24c], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x24c]
lea eax, [ebp - 0x1c]
push str._05d__05d
push eax
call fcn.00404350
add esp, 0x10
mov esi, eax
cmp esi, 0x45f4b8
pop edi
jmp 0x41e1d6
push ecx
push edx
call fcn.00428a1d
add esp, 8
mov dword [0x45f4c8], 0
mov dword [0x45f4cc], 0xf
mov byte [0x45f4b8], 0
movups xmm0, xmmword [esi]
movups xmmword [0x45f4b8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x45f4c8], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x1c]
call fcn.00404e90
pop esi
push 0x45f4b8
mov ecx, ebx
call fcn.00403e30
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00428c8a
mov esp, ebp
pop ebp
ret
push 0x460970
call fcn.00428f0f
add esp, 4
cmp dword [0x460970], 0xffffffff
jne 0x41e19d
push 0x44c9b0
call fcn.00428c75
push 0x460970
call fcn.00428ebe
add esp, 8
jmp 0x41e19d
call fcn.0042d9af
int3
Function at 0x41e370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ba46
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x45f5c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x24c], esi
call fcn.0042a740
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push 0x7e
push eax
call fcn.0042a9cb
lea ecx, [ebp - 0x218]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e3f5
sub ecx, edi
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
push eax
test edx, edx
je 0x41e4ee
call fcn.00401ee0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00423520
push eax
push esi
mov byte [ebp - 4], 1
call fcn.0041e980
mov ecx, dword [ebp - 0x234]
add esp, 0x10
cmp ecx, 0xf
jbe 0x41e49f
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e495
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e533
push ecx
push edx
call fcn.00428a1d
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x41e516
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e50c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e533
jmp 0x41e50c
call fcn.00401ee0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.00423520
add esp, 8
jmp 0x41e4ba
push ecx
push edx
call fcn.00428a1d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428c8a
mov esp, ebp
pop ebp
ret
call fcn.0042d9af
int3
Function at 0x425f09
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x425f30
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x425f33
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00425ee5
pop esi
leave
ret 8

Function at 0x4294bb
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4294fa
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4294fa
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4294fa
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4294fa
cmp dword [ecx + 0x74], 0xe
jbe 0x4294fa
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x436603
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00428e70
mov eax, dword [0x45f5c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0043cbf7
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x436645
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4367a1
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00428ca0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x461690]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0043ee9b
mov ecx, dword [esi*4 + 0x461690]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x43679a
cmp eax, dword [edi + ecx + 0x24]
jne 0x43679a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43679a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043ee9b
add esp, 0x14
test edx, edx
jl 0x43679a
jg 0x436710
test eax, eax
jb 0x43679a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x43679a
jl 0x43672a
cmp dword [ebp - 0x1008], eax
ja 0x43679a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x436748
test ebx, ebx
je 0x436781
cmp ecx, edi
jae 0x436781
mov al, byte [ecx]
cmp al, 0xd
jne 0x436762
lea eax, [edi - 1]
cmp ecx, eax
jae 0x43676e
cmp byte [ecx + 1], 0xa
jne 0x43676e
inc ecx
jmp 0x43676e
movzx eax, al
movsx eax, byte [eax + 0x45f880]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x436748
cmp edx, ebx
jne 0x436748
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x43679f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00428c8a
leave
ret

Function at 0x43bd9f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4527f0
push 0x4527e8
push str.FlsAlloc
push 0x1e
call fcn.0043bbe9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43bdd3
push dword [ebp + 8]
mov ecx, esi
call dword [0x44d224]
call esi
jmp 0x43bdd9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43be1d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x452800
push 0x4527f8
push str.FlsGetValue
push 0x20
call fcn.0043bbe9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43be54
push dword [ebp + 8]
mov ecx, esi
call dword [0x44d224]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x43def2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043db94

Function at 0x43defd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043dd23

Function at 0x43e339
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x461690]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43e379
cmp byte [ebx], 0xa
jne 0x43e379
or byte [eax + edi + 0x28], 4
jmp 0x43e37e
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x43e47c
mov al, byte [edx]
cmp al, 0x1a
je 0x43e45e
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x43e3ad
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x43e3d2
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x43e3dc
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x43e38f
jmp 0x43e47c
push 0
lea eax, [ebp - 0xc]
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 0x43e459
cmp dword [ebp - 0xc], 0
je 0x43e459
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x461690]
test byte [eax + edi + 0x28], 0x48
je 0x43e433
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x43e41e
mov byte [esi], dl
jmp 0x43e42f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x461690]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x43e47c
cmp byte [ebp - 1], 0xa
jne 0x43e442
cmp esi, ebx
jne 0x43e442
mov byte [esi], 0xa
jmp 0x43e47b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043eeb9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x43e47c
mov byte [esi], 0xd
jmp 0x43e47b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x461690]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x43e478
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x43e47c
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43e485
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x461690]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43e4c8
cmp word [esi], dx
jne 0x43e4c8
or byte [edi + eax + 0x28], 4
jmp 0x43e4cd
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x43e620
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x43e600
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x43e50f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x43e545
cmp eax, edx
jae 0x43e551
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x43e4e7
jmp 0x43e620
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43e5fc
cmp dword [ebp - 0x14], 0
je 0x43e5fc
mov eax, dword [ebx*4 + 0x461690]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x43e5d4
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x43e59d
mov word [esi], cx
jmp 0x43e5d0
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x461690]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x461690]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x461690]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x43e620
pop ebx
cmp word [ebp - 4], bx
jne 0x43e5e5
cmp esi, dword [ebp + 0xc]
jne 0x43e5e5
mov word [esi], bx
jmp 0x43e61d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0043eeb9
add esp, 0x10
cmp word [ebp - 4], bx
je 0x43e620
push 0xd
jmp 0x43e619
mov ecx, dword [ebx*4 + 0x461690]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x43e617
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x43e620
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x440ea7
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00440e29
Function at 0x442677
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x442714
push ebx
push esi
call fcn.00442640
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044044e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4426c1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x442713
push edi
push eax
call fcn.0043f03c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4426e1
call fcn.0043b809
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x442712
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044044e
add esp, 0x20
test eax, eax
jne 0x442700
push edi
call fcn.0043b809
jmp 0x442708
push ebx
call fcn.0043b809
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x448ad5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00448a51
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x448c4d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x448c4d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x448bfc
jg 0x448b2e
test eax, eax
je 0x448bf2
push 1
push 0x1000
call fcn.0043b7ac
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x448b54
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x448be9
push 0x8000
push ebx
call fcn.00438767
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x448b80
jg 0x448b7b
cmp ecx, 0x1000
jb 0x448b80
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0043d994
add esp, 0x10
cmp eax, 0xffffffff
je 0x448bc5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x448b7b
jl 0x448bac
test ecx, ecx
jne 0x448b6d
push dword [ebp - 0xc]
push ebx
call fcn.00438767
push esi
call fcn.0043b809
add esp, 0xc
xor edi, edi
jmp 0x448c5e
cmp byte [edi + 0x24], 0
je 0x448bdc
cmp dword [edi + 0x20], 5
jne 0x448bdc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x448be7
mov edi, dword [edi + 0x18]
jmp 0x448be9
xor edi, edi
push esi
call fcn.0043b809
pop ecx
jmp 0x448c5e
test ecx, ecx
jg 0x448bbe
jl 0x448bfc
test eax, eax
jae 0x448bbe
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043eeb9
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x448c1f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x448bbe
jmp 0x448c56
push ebx
call fcn.00442ae1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x448bbe
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x448c5e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x448c5b
mov edi, dword [edi + 0x18]
jmp 0x448c5e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0043eeb9
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44a110
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44a13d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44a13d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a008]
jne 0x40100a
repz ret
jmp fcn.0040188c

Function at 0x404deb
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.00403335
and dword [ebp - 4], 0
cmp dword [0x41c0f0], 0
mov ebx, eax
jne 0x404e9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404f4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404f4d
push eax
call fcn.004032c3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41c0f0], eax
call esi
push eax
call fcn.004032c3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41c0f4], eax
call esi
push eax
call fcn.004032c3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41c0f8], eax
call esi
push eax
call fcn.004032c3
pop ecx
mov dword [0x41c100], eax
test eax, eax
je 0x404e9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004032c3
pop ecx
mov dword [0x41c0fc], eax
mov eax, dword [0x41c0fc]
cmp eax, ebx
je 0x404ef4
cmp dword [0x41c100], ebx
je 0x404ef4
push eax
call fcn.0040333e
push dword [0x41c100]
mov esi, eax
call fcn.0040333e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404ef4
test edi, edi
je 0x404ef4
call esi
test eax, eax
je 0x404eeb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404eeb
test byte [ebp - 0xc], 1
jne 0x404ef4
or dword [ebp + 0x10], 0x200000
jmp 0x404f2d
mov eax, dword [0x41c0f4]
cmp eax, ebx
je 0x404f2d
push eax
call fcn.0040333e
pop ecx
test eax, eax
je 0x404f2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404f2d
mov eax, dword [0x41c0f8]
cmp eax, ebx
je 0x404f2d
push eax
call fcn.0040333e
pop ecx
test eax, eax
je 0x404f2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41c0f0]
call fcn.0040333e
pop ecx
test eax, eax
je 0x404f4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404f4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4166b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0x182
jne 0x4166cf
lea eax, [ebp - 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
xor edi, edi
test esi, esi
jle 0x4166fe
jmp 0x4166e0
lea esi, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.004166a0
mov cl, byte [ebp - 4]
xor byte [edi + ebx], cl
inc edi
cmp edi, dword [ebp + 8]
jl 0x4166e0
mov esi, dword [ebp + 8]
pop edi
cmp esi, 0x2d
pop esi
jne 0x416719
mov dword [0x511e18], 0xa62e7790
mov dword [0x511e1c], 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x416720
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x41a008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x511ce4]
push ebx
mov ebx, dword [0x511b2c]
push esi
mov esi, eax
cmp eax, 0x5dd
jne 0x41675a
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x41aee0]
call fcn.00416670
cmp dword [0x511ce4], 0x2f
jne 0x416775
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push esi
call fcn.004166b0
add esp, 4
cmp dword [0x511ce4], 0x568
pop esi
pop ebx
jne 0x4167a3
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov ecx, dword [ebp - 0x408]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5e961418
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xa9b0062
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219