joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ca60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x43ca79
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x43ca72
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x43ca8d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043c424
test bl, bl
jne 0x43cb60
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x450c74
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x43cac4
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x43cad8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043c938
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x43cb0a
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x43cab9
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x43cb2d
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x43cb3e
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x43cb52
jmp 0x43cc1b
cmp bl, 1
jne 0x43cc1b
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x450cce
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x43cb80
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x43cb94
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043c938
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x43cbc6
sub ebx, 6
inc dword [ebp - 8]
jne 0x43cb75
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x43cbed
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x43cbfe
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x43cc12
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043c4a8
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x43cf4c
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffe4
mov byte [esp], al
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess_1
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x43cfce
mov dword [esp + 0xc], 1
lea eax, [esp + 0x10]
push eax
push 0x43cfd8
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp byte [esp], 0
je 0x43cf94
mov dword [esp + 0x18], 2
jmp 0x43cf9a
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete bl
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
add esp, 0x1c
pop ebx
ret

Function at 0x43cfec
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
xor ebx, ebx
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
jbe 0x43d014
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43d01c
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
xor eax, eax
mov dword [ebx], eax
mov edi, 0x10000
push edi
push 8
call sub.kernel32.dll_GetProcessHeap
push eax
call sub.ntdll.dll_RtlAllocateHeap
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x43d097
push 0
push edi
mov eax, dword [ebx]
push eax
push ebp
call sub.ntdll.dll_ZwQuerySystemInformation
mov esi, eax
cmp esi, 0xc0000004
jne 0x43d075
mov eax, dword [ebx]
push eax
push 0
call sub.kernel32.dll_GetProcessHeap
push eax
call sub.ntdll.dll_RtlFreeHeap
add edi, 0x10000
jmp 0x43d08b
test esi, esi
je 0x43d08b
mov eax, dword [ebx]
push eax
push 0
call sub.kernel32.dll_GetProcessHeap
push eax
call sub.ntdll.dll_RtlFreeHeap
jmp 0x43d097
cmp esi, 0xc0000004
je 0x43d032
mov byte [esp], 1
mov al, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43d0a0
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov esi, edx
mov edi, eax
xor eax, eax
mov dword [esp], eax
push 0
push 0
lea eax, [esp + 0x28]
xor ecx, ecx
xor edx, edx
call fcn.0041ccd8
mov dword [esp + 0x14], esi
xor eax, eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
push edi
lea eax, [esp + 0xc]
push eax
call sub.ntdll.dll_ZwOpenProcess
mov ebx, eax
test ebx, ebx
je 0x43d29f
lea eax, [esi + 1]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
push edi
lea eax, [esp + 0xc]
push eax
call sub.ntdll.dll_ZwOpenProcess
mov ebx, eax
test ebx, ebx
je 0x43d29f
mov dword [esp + 0xc], 0x400000
xor eax, eax
mov dword [esp + 0x10], eax
push 4
push 0x1000
lea eax, [esp + 0x14]
push eax
push 0
lea eax, [esp + 0x20]
push eax
call sub.kernel32.dll_GetCurrentProcess_1
push eax
call sub.ntdll.dll_ZwAllocateVirtualMemory
lea eax, [esp + 0xc]
push eax
push 0x400000
mov eax, dword [esp + 0x18]
push eax
push 0x10
call sub.ntdll.dll_ZwQuerySystemInformation
mov ebx, eax
mov eax, ebx
call fcn.0041cccc
test eax, eax
je 0x43d29f
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
dec edi
test edi, edi
jl 0x43d27e
inc edi
xor esi, esi
mov ebp, esi
add ebp, ebp
mov eax, dword [esp + 0x10]
mov al, byte [eax + ebp*8 + 8]
cmp al, byte [0x450cd8]
jne 0x43d276
mov eax, dword [esp + 0x10]
movzx eax, word [eax + ebp*8 + 4]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
push 0x40
lea eax, [esp + 0x10]
push eax
call sub.ntdll.dll_ZwOpenProcess
mov ebx, eax
test ebx, ebx
jne 0x43d276
push 0
push 0
push 0x1f0fff
lea eax, [esp + 0x14]
push eax
call sub.kernel32.dll_GetCurrentProcess_1
push eax
mov eax, dword [esp + 0x24]
movzx eax, word [eax + ebp*8 + 0xa]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.ntdll.dll_ZwDuplicateObject
mov ebx, eax
test ebx, ebx
jne 0x43d26c
push 0
push 0x18
lea eax, [esp + 0x40]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.ntdll.dll_ZwQueryInformationProcess
mov ebx, eax
mov eax, ebx
call fcn.0041cccc
test eax, eax
je 0x43d262
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x1c]
jne 0x43d262
push 0
push 0
push 0x1f0fff
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetCurrentProcess_1
push eax
mov eax, dword [esp + 0x24]
movzx eax, word [eax + ebp*8 + 0xa]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.ntdll.dll_ZwDuplicateObject
mov eax, dword [esp + 8]
push eax
call sub.ntdll.dll_ZwClose
mov eax, dword [esp + 4]
push eax
call sub.ntdll.dll_ZwClose
jmp 0x43d27e
mov eax, dword [esp + 8]
push eax
call sub.ntdll.dll_ZwClose
mov eax, dword [esp + 4]
push eax
call sub.ntdll.dll_ZwClose
inc esi
dec edi
jne 0x43d17f
cmp dword [esp + 0x10], 0
je 0x43d29f
push 0x8000
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetCurrentProcess_1
push eax
call sub.ntdll.dll_ZwFreeVirtualMemory
mov eax, dword [esp]
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43d920
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43d993
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404060
mov dword [ebp - 8], 0x1e
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004046ac
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404520
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x43d97d
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404580
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d99a
lea eax, [ebp - 4]
call fcn.00404060
ret

Function at 0x43d9a0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd4c
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404510
xor eax, eax
push ebp
push 0x43dab5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404060
xor ecx, ecx
push ebp
push 0x43da95
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push pe_nt_image_headers32
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x294]
mov edx, dword [ebp - 4]
call fcn.004082c8
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x43da86
mov edx, dword [eax + 0xc]
test edx, edx
je 0x43da86
mov esi, dword [edx]
test esi, esi
je 0x43da86
push ebx
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
xor eax, eax
mov al, byte [esi + 1]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
xor eax, eax
mov al, byte [esi + 2]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
xor eax, eax
mov al, byte [esi + 3]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 0x298], 0
lea edx, [ebp - 0x2b4]
mov ecx, 3
mov eax, 0x43dacc
call fcn.0040883c
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43da9f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dabc
lea eax, [ebp - 4]
call fcn.00404060
ret

Function at 0x43dd5c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd6c
push ebx
push esi
push edi
mov ebx, eax
mov edx, ebx
mov eax, 0x43ddfc
call fcn.0043f600
xor edx, edx
push ebp
push 0x43dde0
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x43ddd1
push pe_nt_image_headers32
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostbyname
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 4], eax
push dword [ebp - 4]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00404258
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43ddea
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e77c
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43e875
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, ebx
call fcn.00404320
cmp eax, 2
jl 0x43e85a
mov eax, ebx
call fcn.00408094
test al, al
je 0x43e85a
lea ecx, [ebp - 8]
mov edx, 0x43e890
mov eax, ebx
call fcn.0043e6f4
xor eax, eax
push ebp
push 0x43e850
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.00404520
mov esi, eax
push esi
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43e846
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00408154
mov eax, dword [ebp - 0xc]
call fcn.00404320
mov edi, eax
push 0
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0xc]
call fcn.00404578
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
push ebx
call sub.kernel32.dll_CloseHandle
push esi
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43e85a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e87c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404084
ret

Function at 0x43e9a0
Capabilities:
Delete file
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x43ea99
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x43ea79
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.00404520
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43ea41
lea edx, [ebp - 8]
mov eax, 0xa
call fcn.0043d7c8
mov eax, dword [ebp - 8]
call fcn.00404320
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
call fcn.00404578
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, esi
call fcn.00404520
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x43ea6f
mov eax, esi
call fcn.00404520
push eax
call sub.kernel32.dll_GetFileAttributesA
mov edi, eax
mov eax, edi
and eax, 2
test al, al
je 0x43ea6f
mov eax, esi
call fcn.00404520
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43ea83
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43eaa0
lea eax, [ebp - 8]
call fcn.00404060
ret

Function at 0x43eba8
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov eax, ebx
call fcn.00404060
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x43ebd6
mov edx, ebx
lea eax, [esp + 4]
call fcn.00408398
add esp, 0x18
pop ebx
ret
Function at 0x43f474
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x43f50a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404060
lea eax, [ebp - 4]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00406640
test eax, eax
je 0x43f4f1
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.004042d0
lea edx, [ebp - 0x110]
mov eax, dword [ebx]
call fcn.0040c304
mov edx, dword [ebp - 0x110]
mov eax, ebx
call fcn.004040b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f511
lea eax, [ebp - 0x110]
call fcn.00404060
ret

Function at 0x43f57c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43f5f4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.004042d0
lea edx, [ebp - 0x10c]
mov eax, dword [ebx]
call fcn.0040c304
mov edx, dword [ebp - 0x10c]
mov eax, ebx
call fcn.004040b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f5fb
lea eax, [ebp - 0x10c]
call fcn.00404060
ret

Function at 0x43f600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43f67a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404060
mov eax, dword [ebp - 4]
call fcn.00404320
mov esi, eax
test esi, esi
jle 0x43f664
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov bl, byte [eax + edx - 1]
xor bl, 0xa
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404248
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00404328
inc dword [ebp - 8]
dec esi
jne 0x43f63d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f681
lea eax, [ebp - 0xc]
call fcn.00404060
ret

Function at 0x43fb4c
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffac
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x44
call fcn.00402cc4
lea eax, [esp + 0x44]
xor ecx, ecx
mov edx, 0x10
call fcn.00402cc4
mov dword [esp], 0x44
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
push edi
push 0
push 0x20
push 0
push 0
push 0
push esi
push ebx
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x54
pop edi
pop esi
pop ebx
ret
Function at 0x43fba8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43fd0e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, edi
call fcn.00404060
lea eax, [ebp - 0x24]
push eax
mov eax, ebx
call fcn.00404520
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43fceb
mov eax, dword [ebp - 0xc]
call fcn.004026e8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x43fce3
xor eax, eax
push ebp
push 0x43fcd9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x43fd1c
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43fccf
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
mov edx, 4
call fcn.00407c2c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.004065e4
movzx eax, ax
lea ecx, [ebp - 0x18]
mov edx, 4
call fcn.00407c2c
push 0x43fd40
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x43fd5c
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004043e0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.0040436c
mov eax, dword [ebp - 0x28]
call fcn.00404520
push eax
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43fccf
mov eax, edi
mov edx, dword [ebp - 0x20]
call fcn.00404258
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43fce3
mov eax, dword [ebp - 8]
call fcn.00402708
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fd15
lea eax, [ebp - 0x28]
call fcn.00404060
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404084
ret
Function at 0x4406e8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4407b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea edx, [ebp - 8]
mov eax, 0x4407cc
call fcn.0043f600
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404328
mov eax, dword [ebp - 8]
call fcn.00404520
mov esi, eax
xor edx, edx
push ebp
push 0x440793
push dword fs:[edx]
mov dword fs:[edx], esp
push esi
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenMutexA
mov ebx, eax
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x440762
mov byte [ebp - 1], 1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44079d
push esi
push 0xffffffffffffffff
push 0
call fcn.00406344
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
je 0x44077f
cmp eax, 5
jne 0x440789
mov byte [ebp - 1], 1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44079d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4407ba
lea eax, [ebp - 8]
call fcn.00404060
ret

Function at 0x4407d4
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x14c], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x440948
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov dword [esi], 0xd8
mov eax, edi
call fcn.00404060
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00404520
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44092a
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x440924
push 0
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0x4c]
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x440924
cmp word [ebp - 0x4c], 0x5a4d
jne 0x440924
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x440924
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x144]
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x440924
cmp dword [ebp - 0x144], 0x4550
jne 0x440924
mov eax, dword [ebp - 0x13c]
xor eax, 0x50485e00
xor eax, dword [ebp - 0x11c]
movzx edx, word [ebp - 0x13e]
xor eax, edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xd8
jle 0x4408f1
cmp dword [ebp - 0xc], 0x249f0
jge 0x4408f1
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov byte [ebp - 1], 1
jmp 0x440924
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
call fcn.00407b18
mov eax, dword [ebp - 0x148]
push eax
lea edx, [ebp - 0x14c]
mov eax, 0x440964
call fcn.0043f600
mov edx, dword [ebp - 0x14c]
mov eax, edi
pop ecx
call fcn.0040436c
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44094f
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.00404084
ret