joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426851
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x43600c]
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, ecx
mov dword [ebp - 0x414], esi
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub esp, 0x18
mov ecx, esp
push 0x436cdc
call fcn.00413830
lea ecx, [ebp - 0x45c]
call fcn.004029b0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x434], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4054c7
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x444]
call fcn.00413b90
mov byte [ebp - 4], 1
lea eax, [ebp - 0x444]
mov ecx, 3
mov dword [ebp - 0x41c], 0
cmp dword [ebp - 0x434], ecx
mov dword [ebp - 0x418], 0xf
cmovb ecx, dword [ebp - 0x434]
cmp dword [ebp - 0x430], 0x10
push ecx
cmovae eax, dword [ebp - 0x444]
lea ecx, [ebp - 0x42c]
push eax
mov byte [ebp - 0x42c], 0
call fcn.00413b90
push edi
lea edx, [ebp - 0x42c]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00413ce0
mov edx, dword [ebp - 0x418]
add esp, 4
cmp edx, 0x10
jb 0x405584
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40557a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405628
push edx
push ecx
call fcn.00415407
add esp, 8
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
cmp edx, 0x10
jb 0x4055d5
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4055cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405628
push edx
push ecx
call fcn.00415407
add esp, 8
mov edx, dword [ebp - 0x448]
cmp edx, 0x10
jb 0x40560b
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405601
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405628
push edx
push ecx
call fcn.00415407
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.00414d92
mov esp, ebp
pop ebp
ret
call fcn.00419a6c
int3
Function at 0x405630
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426896
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x43600c]
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, ecx
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], esi
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x43724c
call fcn.00413830
lea ecx, [ebp - 0x148]
call fcn.004029b0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x120], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4056d0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.00413b90
push edi
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00413ce0
mov edx, dword [ebp - 0x11c]
add esp, 4
cmp edx, 0x10
jb 0x405737
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40572d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057a5
push edx
push ecx
call fcn.00415407
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x405788
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40577e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057a5
push edx
push ecx
call fcn.00415407
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.00414d92
mov esp, ebp
pop ebp
ret
call fcn.00419a6c
int3
Function at 0x4057b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426896
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x43600c]
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, ecx
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], esi
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x43724c
call fcn.00413830
lea ecx, [ebp - 0x148]
call fcn.004029b0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x120], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405850
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.00413b90
push edi
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00413ce0
mov edx, dword [ebp - 0x11c]
add esp, 4
cmp edx, 0x10
jb 0x4058b7
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4058ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405925
push edx
push ecx
call fcn.00415407
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x405908
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4058fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405925
push edx
push ecx
call fcn.00415407
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.00414d92
mov esp, ebp
pop ebp
ret
call fcn.00419a6c
int3
Function at 0x405930
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426896
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x43600c]
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, ecx
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], esi
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x43724c
call fcn.00413830
lea ecx, [ebp - 0x148]
call fcn.004029b0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x120], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4059d0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.00413b90
push edi
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00413ce0
mov edx, dword [ebp - 0x11c]
add esp, 4
cmp edx, 0x10
jb 0x405a37
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405a2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405aa5
push edx
push ecx
call fcn.00415407
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x405a88
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405a7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405aa5
push edx
push ecx
call fcn.00415407
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.00414d92
mov esp, ebp
pop ebp
ret
call fcn.00419a6c
int3
Function at 0x407b90
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426b50
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x437144
lea ecx, [ebp - 0x40]
call fcn.00413830
mov dword [ebp - 4], 0
xor edx, edx
mov ecx, 7
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
xor esi, esi
mov ebx, dword [ebp - 0x40]
cmp dword [ebp - 0x30], esi
jbe 0x407c42
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, ebx
movsx ax, byte [eax + esi]
movzx edi, ax
cmp edx, ecx
jae 0x407c23
lea eax, [edx + 1]
cmp ecx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + edx*2], di
mov word [eax + edx*2 + 2], cx
jmp 0x407c34
push edi
mov byte [ebp - 0x44], 0
push dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00414550
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x407c42
mov edx, dword [ebp - 0x18]
jmp 0x407bf0
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x407cfd
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x407c9e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407c94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407d04
push edx
push ecx
call fcn.00415407
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
cmp eax, 0x10
jb 0x407ce1
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x407cd7
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407d04
push ecx
push ebx
call fcn.00415407
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414d92
mov esp, ebp
pop ebp
ret
push 0
call fcn.0041882f
call fcn.00419a6c
int3
Function at 0x413630
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push 0
push 0x4135a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0x7530
call esi
jmp 0x413650
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x403fe0
Capabilities:
Get file size

Disassembly:
mov eax, dword [ecx + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
ret

Function at 0x404050
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0xffffffff
jne 0x40405f
xor eax, eax
pop esi
pop ecx
ret
push edi
mov ecx, esi
call fcn.00403fe0
mov edi, eax
push edi
call fcn.0040b76c
add esp, 4
test eax, eax
mov dword [esi + 4], eax
jne 0x40407f
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esi + 0xc]
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404079
mov dword [esi], edi
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x407b10
Capabilities:
Inspect section memory permissions

Disassembly:
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
Function at 0x40b400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x414
mov eax, dword [0x401438]
xor eax, dword [ebp + 4]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x414], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
shl eax, 2
mov edi, 0x400
sub edi, eax
lea eax, [esp + eax + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], eax
jmp 0x40b443
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0xc]
push edi
push edx
push esi
push ebx
call fcn.0040b3c0
add esp, 0x10
test eax, eax
je 0x40b4bc
mov ecx, dword [ebp + 0x10]
shl ecx, 2
test ecx, ecx
je 0x40b483
mov edx, ecx
shr ecx, 2
mov eax, 0x20202020
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [ebp + 0x14]
push eax
lea edx, [esp + 0x24]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x14]
push eax
push 2
push 0x40319c
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40b4bf
mov edi, dword [ebp + 0x14]
push esi
push 4
push 0x110a
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x40b4e2
mov ecx, dword [ebp + 0x10]
push edi
inc ecx
push ecx
push eax
push ebx
call fcn.0040b400
add esp, 0x10
push esi
push 1
push 0x110a
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
jne 0x40b43f
mov ecx, dword [esp + 0x41c]
xor ecx, dword [ebp + 4]
call fcn.0040b7c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40e0dd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x411fcc], esi
push edi
jne 0x40e0fd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x411fc8], esi
mov byte [0x411fc4], al
jne 0x40e163
mov ecx, dword [0x4124c8]
test ecx, ecx
je 0x40e144
mov eax, dword [0x4124c4]
sub eax, 4
cmp eax, ecx
jmp 0x40e13d
mov eax, dword [eax]
test eax, eax
je 0x40e12f
call eax
mov eax, dword [0x4124c4]
sub eax, 4
cmp eax, dword [0x4124c8]
mov dword [0x4124c4], eax
jae 0x40e127
mov eax, 0x401234
mov esi, 0x401238
cmp eax, esi
mov edi, eax
jae 0x40e163
mov eax, dword [edi]
test eax, eax
je 0x40e15c
call eax
add edi, 4
cmp edi, esi
jb 0x40e154
mov eax, 0x40123c
mov esi, 0x401244
cmp eax, esi
mov edi, eax
jae 0x40e182
mov eax, dword [edi]
test eax, eax
je 0x40e17b
call eax
add edi, 4
cmp edi, esi
jb 0x40e173
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x40e19d
push dword [ebp + 8]
mov dword [0x411fcc], 1
call fcn.0040e048
pop ecx
pop ebp
ret
Function at 0x40e3cc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x401438]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4014e8]
je 0x40e3f9
inc eax
cmp eax, 0x12
jb 0x40e3ea
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4014e8]
jne 0x40e52d
mov eax, dword [0x411f4c]
cmp eax, 1
je 0x40e508
cmp eax, edx
jne 0x40e429
cmp dword [0x401494], 1
je 0x40e508
cmp ecx, 0xfc
je 0x40e52d
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40e462
lea eax, [ebp - 0x10c]
push 0x40325c
push eax
call fcn.0040f1c0
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.0040f3f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40e4a4
lea eax, [ebp - 0x10c]
push eax
call fcn.0040f3f0
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x402854
push edi
call fcn.0040f2c0
add esp, 0x10
push edi
call fcn.0040f3f0
push dword [esi + 0x4014ec]
mov ebx, eax
call fcn.0040f3f0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0040b7d0
mov ebx, esp
push 0x403c08
push ebx
call fcn.0040f1c0
push edi
push ebx
call fcn.0040f1d0
push 0x403258
push ebx
call fcn.0040f1d0
push dword [esi + 0x4014ec]
push ebx
call fcn.0040f1d0
push 0x12010
push 0x403224
push ebx
call fcn.0040f0bd
add esp, 0x2c
jmp 0x40e52d
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x4014ec]
push dword [esi]
call fcn.0040f3f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.0040b7c2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f0bd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4120ec], ebx
push esi
push edi
jne 0x40f13d
push 0x403ca8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40f178
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403c9c
push edi
call esi
test eax, eax
mov dword [0x4120ec], eax
je 0x40f178
push 0x403c8c
push edi
call esi
push 0x403c78
push edi
mov dword [0x4120f0], eax
call esi
cmp dword [0x411f8c], 2
mov dword [0x4120f4], eax
jne 0x40f13d
push 0x403c5c
push edi
call esi
test eax, eax
mov dword [0x4120fc], eax
je 0x40f13d
push 0x403c44
push edi
call esi
mov dword [0x4120f8], eax
mov eax, dword [0x4120f8]
test eax, eax
je 0x40f182
call eax
test eax, eax
je 0x40f169
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4120fc]
test eax, eax
je 0x40f169
test byte [ebp - 8], 1
jne 0x40f182
cmp dword [0x411f98], 4
jb 0x40f17c
or byte [ebp + 0x12], 0x20
jmp 0x40f1a1
xor eax, eax
jmp 0x40f1b1
or byte [ebp + 0x12], 4
jmp 0x40f1a1
mov eax, dword [0x4120f0]
test eax, eax
je 0x40f1a1
call eax
mov ebx, eax
test ebx, ebx
je 0x40f1a1
mov eax, dword [0x4120f4]
test eax, eax
je 0x40f1a1
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4120ec]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x411449
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.0040b7d0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4114de
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x411f8c]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x4114de
cmp eax, 1
je 0x4114f6
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4114de
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x4114b3
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x4114da
xor eax, eax
inc eax
jmp 0x411512
cmp esi, ebx
jae 0x4114e2
xor eax, eax
jmp 0x411512
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x411f8c]
jmp 0x4114f8
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x414dd6
Capabilities:
Encode data using xor

Disassembly:
xor dword [ebx], edx
mov eax, edi
mov esi, 0x1cc102b8
add ebx, 4
mov edi, 0xe5f3515f
add eax, 0x25a3dc7d
cmp ebx, ecx
jne fcn.00414dd6
and eax, esi
mov eax, 0xe652cdd3
ret