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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x559910]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x42152a
test edx, edx
jle 0x42152a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.00420ad0
lea ecx, [ebp - 0x94]
call fcn.00420ba0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.00420c70
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x421488
mov eax, dword [esi]
jmp 0x42148a
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x4214d7
cmp ecx, 0x10
jb 0x42149a
mov edx, dword [esi]
jmp 0x42149c
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x4214d7
cmp ecx, 0x10
jb 0x4214b1
mov ecx, dword [esi]
jmp 0x4214b3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.004170a0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5c82
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x4214e8
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.00417210
cmp dword [esi + 0x14], 0x10
jb 0x4214f2
mov eax, dword [esi]
jmp 0x4214f4
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004e0500
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x421512
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5c82
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004d5c82
mov esp, ebp
pop ebp
ret
Function at 0x425b50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51310b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x559910]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x562c90], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], 0
jne 0x425bbd
push 0x38
call fcn.004d5ca5
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x425baf
mov ecx, eax
call fcn.00401ec0
jmp 0x425bb1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x562c90], eax
push 0x54191c
push 0
call fcn.00450680
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x425bf5
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x53d5c8
mov word [edi], ax
call fcn.004046b0
jmp 0x425c78
push ebx
call fcn.00450680
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30], eax
push ebx
test eax, eax
jne 0x425c1e
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x53d5c8
mov ecx, edi
call fcn.004047e0
jmp 0x425c78
call fcn.00450680
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
shr esi, 1
push esi
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.004046b0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.004040f0
cmp dword [ebp - 0x18], 8
jb 0x425c78
push dword [ebp - 0x2c]
call fcn.004d5ca0
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d5c82
mov esp, ebp
pop ebp
ret 4

Function at 0x429510
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
sub esp, 0x18
mov esi, ecx
mov eax, esp
mov ecx, 0x562bd0
push str.cancel_download
mov dword [eax + 0x10], 0
call fcn.0041c390
mov ecx, dword [esi + 4]
push 0
call fcn.00415260
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 1
call fcn.00458e70
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4297c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov dword [ebp + 8], eax
add ecx, 4
pop ebp
jmp fcn.00427200
Function at 0x42cc90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42cca9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42cce4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42cce0
lea ebx, [ebx]
cmp esi, edx
jae 0x42cce4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x42ccd0
cmp esi, edx
jb 0x42cceb
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42d1f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x559910]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d52f5
add esp, 4
mov dword [ebp - 0x10], eax
push eax
push esi
call edi
mov eax, dword [ebp - 0x10]
mov esi, eax
cmp word [eax], 0
je 0x42d2d4
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [ecx]
push esi
call edi
test eax, eax
je 0x42d2bc
cmp eax, 1
je 0x42d2bc
cmp eax, 2
je 0x42d2bc
cmp eax, 4
je 0x42d2bc
cmp eax, 5
je 0x42d2bc
cmp eax, 6
je 0x42d2bc
call fcn.0042d6b0
test al, al
jne 0x42d2bc
push esi
lea ecx, [ebp - 0x28]
call fcn.004047e0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.0042e730
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x42d2bc
push dword [ebp - 0x28]
call fcn.004d5ca0
add esp, 4
push 0
push esi
call fcn.004dcfb9
add esp, 8
cmp word [eax + 2], 0
lea esi, [eax + 2]
jne 0x42d260
mov eax, dword [ebp - 0x10]
push eax
call fcn.004dc8d3
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d300
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513e08
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x559910]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
xor eax, eax
mov dword [ebp - 0x18], 7
push 0x54639c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004046b0
mov dword [ebp - 4], 0
cmp word [esi], 0
jne 0x42d360
xor ecx, ecx
jmp 0x42d374
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d365
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403ee0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42d3e5
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0xc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x38], 8
push ecx
push 0xc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 0
push ecx
push 0x2d1400
push eax
mov byte [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [ebp - 0x3c], 1
jne 0x42d3e5
mov bl, 1
jmp 0x42d3e7
xor bl, bl
cmp dword [ebp - 0x18], 8
jb 0x42d3f8
push dword [ebp - 0x2c]
call fcn.004d5ca0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5c82
mov esp, ebp
pop ebp
ret
Function at 0x42d420
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513e8a
mov eax, dword fs:[0]
push eax
sub esp, 0x868
mov eax, dword [0x559910]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 3
xor ebx, ebx
lea eax, [ebp - 0x834]
push ebx
push eax
mov dword [ebp - 0x83c], ebx
call fcn.0040e5d0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x818]
cmp dword [ebp - 0x820], 8
lea eax, [ebp - 0x834]
push ebx
cmovae eax, dword [ebp - 0x834]
push ebx
push ecx
push eax
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x814], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42d666
xor eax, eax
mov dword [ebp - 0x81c], 1
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004e0b50
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42d4d3
mov eax, dword [esi]
jmp 0x42d4d5
mov eax, esi
push 0x400
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x81c]
push ecx
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42d573
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.004047e0
push 5
push str.FAT32
mov byte [ebp - 4], 1
mov ebx, 1
push dword [eax + 0x10]
mov dword [ebp - 0x83c], ebx
push ecx
mov ecx, eax
call fcn.00403890
test eax, eax
je 0x42d573
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.004047e0
push 4
push str.NTFS
mov dword [ebp - 4], 2
mov ebx, 3
push dword [eax + 0x10]
mov dword [ebp - 0x83c], ebx
push ecx
mov ecx, eax
call fcn.00403890
mov byte [ebp - 0x835], 1
test eax, eax
jne 0x42d57a
mov byte [ebp - 0x835], 0
test bl, 2
je 0x42d5b6
and ebx, 0xfffffffd
cmp dword [ebp - 0x844], 8
jb 0x42d599
push dword [ebp - 0x858]
call fcn.004d5ca0
add esp, 4
xor eax, eax
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], ax
mov dword [ebp - 4], 0
test bl, 1
je 0x42d5d9
cmp dword [ebp - 0x85c], 8
jb 0x42d5d9
push dword [ebp - 0x870]
call fcn.004d5ca0
add esp, 4
cmp byte [ebp - 0x835], 0
jne 0x42d666
mov edx, dword [ebp - 0x814]
mov ecx, dword [ebp - 0x818]
call fcn.004e1dde
mulsd xmm0, qword [0x546960]
lea eax, [ebp - 0x870]
push 2
push 0
push eax
mov ecx, esi
movsd qword [ebp - 0x840], xmm0
call fcn.0040e5d0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x42d625
mov eax, dword [eax]
mov ecx, eax
call fcn.0042d300
cmp dword [ebp - 0x85c], 8
mov bl, al
jb 0x42d645
push dword [ebp - 0x870]
call fcn.004d5ca0
add esp, 4
movsd xmm0, qword [ebp - 0x840]
test bl, bl
je 0x42d671
cvttsd2si eax, xmm0
cmp eax, 0x7800
jle 0x42d671
mulsd xmm0, qword [0x5469a8]
jmp 0x42d669
xorps xmm0, xmm0
movsd qword [ebp - 0x840], xmm0
cmp dword [ebp - 0x820], 8
jb 0x42d690
push dword [ebp - 0x834]
call fcn.004d5ca0
movsd xmm0, qword [ebp - 0x840]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5c82
mov esp, ebp
pop ebp
ret
Function at 0x42d790
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x559910]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42d7d7
push str.CreateToolhelp32Snapshot__of_processes_
call fcn.004dd07c
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5c82
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x42d802
push str.Process32First
call fcn.004dd07c
add esp, 4
jmp 0x42d85c
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x240], eax
jmp 0x42d820
mov eax, dword [ebp - 0x230]
mov ecx, edi
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x240]
push eax
call fcn.0042ee00
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x248]
mov ecx, edi
push eax
call fcn.0042eed0
lea eax, [ebp - 0x238]
push eax
push esi
call ebx
test eax, eax
jne 0x42d820
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d5c82
mov esp, ebp
pop ebp
ret
Function at 0x42df30
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x559910]
xor eax, ebp
mov dword [ebp - 4], eax
push 3
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.0040e5d0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x10]
push 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x42df7e
xorps xmm0, xmm0
jmp 0x42df91
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.004e1dde
mulsd xmm0, qword [0x546960]
cmp dword [ebp - 0x14], 8
movsd qword [ebp - 0x30], xmm0
jb 0x42dfac
push dword [ebp - 0x28]
call fcn.004d5ca0
movsd xmm0, qword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5c82
mov esp, ebp
pop ebp
ret
Function at 0x433200
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push bind
mov ecx, dword [ebp + 8]
call fcn.004042e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x433234
xor al, al
jmp 0x43326e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x433262
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x43326e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x433640
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004042e0
push eax
mov ecx, dword [ebp + 8]
call fcn.004042e0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x433668
mov al, 1
jmp 0x4336a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004042e0
push eax
mov ecx, dword [ebp + 8]
call fcn.004042e0
push eax
push str.move_file_from____s___to____s___flag___d_failed__error___d.
push 0xf9
push str.utility::ufile::moveFile
call fcn.0042f4e0
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4336b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.004042e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4336cb
mov al, 1
jmp 0x4336fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.004042e0
push eax
push str.removeFile_file_from____s___error___d.
push 0x15e
push str.utility::ufile::removeFile
call fcn.0042f4e0
add esp, 0x14
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x433810
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x559910]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x22c], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004e0b50
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.004047e0
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004040f0
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
lea ecx, [ebp - 0x228]
call fcn.004041b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5c82
mov esp, ebp
pop ebp
ret
Function at 0x433950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43398f
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jne 0x43398f
mov al, 1
jmp 0x433991
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x437cd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x559910]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x118
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004e0b50
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x437d35
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x437d42
mov al, 1
jmp 0x437d44
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5c82
mov esp, ebp
pop ebp
ret

Function at 0x437f00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x437f17
mov dword [ebp - 8], 1
jmp 0x437f1e
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
call fcn.004042e0
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437f5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x437f5f
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x437f5f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x437f62
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x438010
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.004e0b50
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], 0x54343c
mov ecx, dword [ebp + 8]
call fcn.004042e0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 5
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x438081
push 5
push 0
mov ecx, dword [ebp + 8]
call fcn.004042e0
push eax
push str.iexplore.exe
push 0x543530
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x438730
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x43876d
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x438910
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x43877f
mov dword [ebp - 8], 1
jmp 0x438786
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x439470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x439484
xor al, al
jmp 0x4394c8
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x4395c0
push 0
push 0
call fcn.004debed
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x4394d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x439525
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x102
jne 0x43950e
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x439546
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x439566
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov esp, ebp
pop ebp
ret 4
Function at 0x43ab70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x14]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004042e0
push eax
mov ecx, dword [ebp + 8]
call fcn.004042e0
push eax
push str.shell_filename____s___param____s___runas___d__show___d
push 0xc
push 0x54437c
call fcn.0042f4e0
add esp, 0x1c
call fcn.00437cd0
movzx edx, al
test edx, edx
je 0x43abc3
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x43abc3
mov dword [ebp - 8], 0x544394
jmp 0x43abca
mov dword [ebp - 8], str.open
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x43abdb
mov dword [ebp - 4], 5
jmp 0x43abe2
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004042e0
push eax
mov ecx, dword [ebp + 8]
call fcn.004042e0
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_ret_._lastError___d
push 0x18
push 0x544460
call fcn.0042f4e0
add esp, 0x10
cmp dword [ebp - 0x10], 0x20
jg 0x43ac4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x544478
push 0x1b
push str.utility::process::shell
call fcn.0042f4e0
add esp, 0x10
xor al, al
jmp 0x43ac51
mov al, 1
mov esp, ebp
pop ebp
ret