joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c150
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 1
push 0
push 0
push dword [ebp + 8]
push 0x5be094
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
cmovle eax, ecx
pop ebp
ret

Function at 0x44c3e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x6244f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor al, al
push edi
mov edi, dword [esi + 0x10]
test edi, edi
je 0x44c4a9
cmp edi, 0x104
jae 0x44c4a9
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00570de0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x44c42f
mov esi, dword [esi]
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00570860
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x224], eax
add esp, 0xc
mov eax, 0x414
mov dword [ebp - 0x220], 0
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x21a], 0
push eax
mov dword [ebp - 0x216], 0
mov dword [ebp - 0x212], 0
mov dword [ebp - 0x228], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056e41f
mov esp, ebp
pop ebp
ret
Function at 0x44d470
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x6244f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x808], esi
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi], 0
lea ecx, [ebp - 0x804]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
jmp 0x44d4d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d4d0
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004049b3
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0056e41f
mov esp, ebp
pop ebp
ret
Function at 0x44d500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa967
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x6244f8]
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
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x81c], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x810]
push eax
push 0x400
mov dword [ebp - 0x81c], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x44d6c7
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d590
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004049b3
mov edi, dword [esi + 0x10]
test edi, edi
je 0x44d6c7
lea eax, [edi - 1]
cmp edi, eax
jbe 0x44d6e5
mov ecx, dword [esi + 0x14]
mov edx, esi
mov dword [ebp - 0x820], ecx
cmp ecx, 8
jb 0x44d5d6
mov edx, dword [esi]
cmp word [edx + eax*2], 0x5c
je 0x44d6c7
cmp edi, ecx
jae 0x44d600
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp ecx, 8
jb 0x44d5f4
mov eax, dword [esi]
mov dword [eax + edi*2], 0x5c
jmp 0x44d6c7
mov edx, SysReAllocString
mov eax, edx
sub eax, edi
cmp eax, 1
jb 0x44d6ea
lea ebx, [edi + 1]
or ebx, 7
cmp ebx, edx
jbe 0x44d620
mov ebx, edx
jmp 0x44d638
mov eax, ecx
shr eax, 1
sub edx, eax
cmp ecx, edx
jbe 0x44d631
mov ebx, SysReAllocString
jmp 0x44d638
add eax, ecx
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
mov ecx, esi
push eax
call fcn.00404993
lea ecx, [edi + 1]
mov dword [esi + 0x14], ebx
mov ebx, dword [ebp - 0x820]
mov dword [esi + 0x10], ecx
lea ecx, [edi + edi]
mov dword [ebp - 0x814], eax
lea edi, [ecx + eax]
mov dword [ebp - 0x818], edi
push ecx
cmp ebx, 8
jb 0x44d6af
mov edi, dword [esi]
push edi
push eax
call fcn.00570860
mov eax, dword [ebp - 0x818]
lea ebx, [ebx*2 + 2]
add esp, 0xc
mov dword [eax], 0x5c
cmp ebx, 0x1000
jb 0x44d6a3
mov ecx, dword [edi - 4]
add ebx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x44d6ef
mov edi, ecx
push ebx
push edi
call fcn.0056e411
add esp, 8
jmp 0x44d6bf
push esi
push eax
call fcn.00570860
add esp, 0xc
mov dword [edi], 0x5c
mov eax, dword [ebp - 0x814]
mov dword [esi], eax
mov eax, esi
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.0056e41f
mov esp, ebp
pop ebp
ret
call fcn.00404979
call fcn.0040496e
call fcn.00574b50
int3
Function at 0x44e240
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aaad5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6244f8]
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
mov edx, dword [ebp + 8]
xor bl, bl
test edx, edx
je 0x44e435
cmp word [edx], 0
je 0x44e435
mov ecx, edx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44e2a2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004049b3
push 0
push 0x5c1bec
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x5c5f2c
push eax
call fcn.0040ae41
mov ecx, dword [ebp - 0x18]
add esp, 0x10
cmp ecx, 2
jbe 0x44e3db
cmp ecx, 1
jbe 0x44e453
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp esi, 8
cmovae eax, edi
cmp word [eax + 2], 0x3a
jne 0x44e3e1
push 4
push 0x5c609c
cmp esi, 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, edi
push ecx
push eax
call fcn.0040ad6c
add esp, 0x14
cmp eax, 0xffffffff
jne 0x44e3e1
push 0x5c60a8
lea ecx, [ebp - 0x58]
call fcn.004047dc
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004063a4
mov edx, eax
mov ecx, dword [edx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [edx + 0x10]
mov word [edx], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
call fcn.004191bb
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x44e3d3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e3c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e458
push edx
push ecx
call fcn.0056e411
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00404885
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
cmp esi, 8
lea eax, [ebp - 0x28]
cmovae eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp - 0x14]
cmp eax, 0xffffffff
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
cmp edx, 8
jb 0x44e435
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e42b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e45d
push edx
push ecx
call fcn.0056e411
add esp, 8
mov al, bl
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.0056e41f
mov esp, ebp
pop ebp
ret
call fcn.00404979
call fcn.00574b50
call fcn.00574b50
int3
Function at 0x44e790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aab00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6244f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push dword [ebp + 0x10]
movzx eax, word [ebp + 0xc]
xor bl, bl
mov esi, dword [ebp + 8]
push eax
push esi
mov byte [ebp - 0x11], bl
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x44e86f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44e86f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x44e86f
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp ebx, eax
jbe 0x44e826
cmp ebx, 0x7fffffff
ja 0x44e883
push ebx
mov ecx, esi
call fcn.0044c180
add ebx, edi
cmp edi, ebx
je 0x44e86d
mov cl, byte [edi]
mov eax, dword [esi + 4]
mov byte [ebp + 0xf], cl
cmp eax, dword [esi + 8]
je 0x44e841
mov byte [eax], cl
inc dword [esi + 4]
inc edi
jmp 0x44e828
lea ecx, [ebp + 0xf]
push ecx
push eax
mov ecx, esi
call fcn.0043ebb0
inc edi
jmp 0x44e828
mov bl, 1
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00408d70
int3
Function at 0x450320
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x450493
cmp dword [edx + 0x1c], 0x10
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0xc]
push ebx
mov dword [ebp - 0x14], eax
lea ebx, [edx + 8]
mov eax, dword [edx + 4]
push esi
mov dword [ebp - 8], eax
mov esi, edx
jb 0x450359
mov ebx, dword [edx + 8]
mov eax, dword [edx + 0x18]
xor edx, edx
push edi
mov edi, 0x811c9dc5
test eax, eax
je 0x450384
mov ecx, eax
lea ebx, [ebx]
movzx eax, byte [edx + ebx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x450370
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
lea ecx, [ecx]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0044f540
push 0x38
push edi
call fcn.0056e411
mov edi, dword [ebp - 4]
add esp, 8
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x4503ed
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x4503a0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x450488
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
jne 0x4503ff
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x450402
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x450488
lea esp, [esp]
cmp dword [esi + 0x1c], 0x10
lea ebx, [esi + 8]
jb 0x45041c
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [ebp + 8], eax
mov edx, 0x811c9dc5
test eax, eax
je 0x450444
mov edi, eax
nop
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x450430
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edx
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0044f540
push 0x38
push edi
call fcn.0056e411
mov edi, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x450499
cmp esi, eax
jne 0x450458
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x450410
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x452730
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab21d
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.0056ed20
mov eax, dword [0x6244f8]
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]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x104c], esi
mov dword [ebp - 0x1048], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x1044]
mov dword [ebp - 4], 0
push ecx
push 0x1000
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x1048], 1
push ecx
push eax
mov dword [ebp - 0x1044], 0
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4528ff
xor edi, edi
test dword [ebp - 0x1044], 0xfffffffc
jbe 0x4528ff
lea esp, [esp]
push dword [ebp + edi*4 - 0x1010]
lea eax, [ebp - 0x1040]
push eax
call fcn.00452930
add esp, 8
push eax
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 1
call fcn.0044bc50
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 2
cmp ecx, dword [esi + 8]
je 0x45285e
mov eax, dword [ebp - 0x1028]
mov edx, 7
mov dword [ecx], eax
mov eax, dword [ebp - 0x1024]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1020]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x101c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x1018]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x1014]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x1028], ax
jmp 0x452873
lea eax, [ebp - 0x1028]
push eax
push ecx
mov ecx, esi
call fcn.00451d10
mov edx, dword [ebp - 0x1014]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4528ad
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4528a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45291c
push edx
push ecx
call fcn.0056e411
add esp, 8
mov edx, dword [ebp - 0x102c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4528ed
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4528e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45291c
push edx
push ecx
call fcn.0056e411
add esp, 8
mov eax, dword [ebp - 0x1044]
inc edi
shr eax, 2
cmp edi, eax
jb 0x4527e0
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.0056e41f
mov esp, ebp
pop ebp
ret
call fcn.00574b50
int3
Function at 0x452f10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1074
call fcn.0056ed20
mov eax, dword [0x6244f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push 0x1000
push eax
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1010], eax
mov dword [ebp - 0x100c], eax
mov dword [ebp - 0x1008], eax
lea eax, [ebp - 0x1004]
push eax
mov dword [ebp - 0x1054], 0
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x104c], 0
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 0
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1058], 0x44
call fcn.00570de0
push esi
lea eax, [ebp - 0x1004]
push 0x800
push eax
call fcn.0057a4e5
add esp, 0x18
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1058]
push eax
push 0
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x1004]
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4530c2
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x453094
mov esi, dword [ebp - 0x1014]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x1074]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
test ebx, ebx
je 0x453099
push ebx
push dword [ebp - 0x1014]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x453099
mov edi, 1
push dword [ebp - 0x1014]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1010]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056e41f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0056e41f
mov esp, ebp
pop ebp
ret

Function at 0x4530e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45310b
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret
Function at 0x453d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab4b0
mov eax, dword fs:[0]
push eax
mov eax, 0x3044
call fcn.0056ed20
mov eax, dword [0x6244f8]
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
mov ebx, dword [ebp + 8]
push 0x5c6330
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x453f69
lea eax, [ebp - 0x3020]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0x800
lea eax, [ebp - 0x2010]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp - 0x3038]
push eax
call fcn.004545f0
add esp, 4
mov esi, eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x453df8
mov esi, dword [esi]
call fcn.00453cc0
cmp dword [eax + 0x2c], 8
lea ecx, [eax + 0x18]
jb 0x453e08
mov ecx, dword [ecx]
movzx eax, word [ebp - 0x3014]
push eax
movzx eax, word [ebp - 0x3016]
push eax
movzx eax, word [ebp - 0x3018]
push eax
movzx eax, word [ebp - 0x301a]
push eax
movzx eax, word [ebp - 0x301e]
push eax
movzx eax, word [ebp - 0x3020]
push eax
push esi
push ecx
lea eax, [ebp - 0x2010]
push eax
push 0x5c6348
lea eax, [ebp - 0x3010]
push 0x800
push eax
call fcn.0044f080
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3038]
call fcn.00404885
lea eax, [ebp - 0x1010]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x3010]
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x303c], eax
cmp eax, 0xffffffff
je 0x453f69
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x5c6388
push edi
mov dword [ebp - 0x3050], eax
mov dword [ebp - 0x304c], ebx
mov dword [ebp - 0x3048], 0
mov dword [ebp - 0x3044], 0
mov dword [ebp - 0x3040], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x453f69
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x3044]
push ecx
push 0
lea ecx, [ebp - 0x3050]
push ecx
push 0
push dword [ebp - 0x303c]
push eax
push esi
call ebx
test eax, eax
je 0x453f69
push dword [ebp - 0x303c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x62c820]
test eax, eax
je 0x453f65
lea ecx, [ebp - 0x1010]
push ecx
call eax
add esp, 4
mov al, 1
jmp 0x453f6b
xor al, al
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.0056e41f
mov esp, ebp
pop ebp
ret
Function at 0x454410
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x5c62f4
call edi
test eax, eax
je 0x454439
push 0x5c630c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x45445a
push 0x5c6258
call edi
test eax, eax
je 0x4544d8
push 0x5c630c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4544d8
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 7
push esi
call edi
test eax, eax
je 0x4544d8
cmp byte [ebp + 8], 0
jne 0x4544aa
mov eax, dword [esi]
mov dword [0x62c824], eax
movzx eax, word [esi + 4]
mov word [0x62c828], ax
movzx eax, byte [esi + 6]
mov byte [0x62c82a], al
mov eax, dword [0x5c6328]
mov dword [esi], eax
movzx eax, word [0x5c632c]
mov word [esi + 4], ax
movzx eax, byte [0x5c632e]
jmp 0x4544c9
cmp byte [0x62c824], 0
je 0x4544cc
mov eax, dword [0x62c824]
mov dword [esi], eax
mov ax, word [0x62c828]
mov word [esi + 4], ax
mov al, byte [0x62c82a]
mov byte [esi + 6], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 7
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4545f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab597
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x6244f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, ax
shr eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, al
push eax
push 0x5c62d0
lea eax, [ebp - 0x210]
push 0xff
push eax
call fcn.0044f080
lea eax, [ebp - 0x210]
add esp, 0x14
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454690
sub eax, edx
mov ecx, edi
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004063a4
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x23c], 9
mov ecx, edi
push 4
jne 0x4546d0
push 0x5c62dc
jmp 0x4546d5
push 0x5c62e8
call fcn.004063a4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e41f
mov esp, ebp
pop ebp
ret