joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a8dc
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x43aa54
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi], eax
add esi, 4
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x10]
mov eax, 8
call fcn.004090dc
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x14]
mov eax, 8
call fcn.004090dc
push dword [ebp - 0x14]
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c94
mov eax, dword [ebp - 0xc]
call fcn.00404dd4
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
test ebx, ebx
je 0x43aa39
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
je 0x43a991
cmp esi, 4
jne 0x43a991
push ebx
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x43aa39
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x43aa1b
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [edi], eax
mov eax, dword [edi]
mov esi, dword [eax]
mov eax, dword [edi]
push eax
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle_1
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x1c]
mov eax, 8
call fcn.004090dc
push dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x20]
mov eax, 8
call fcn.004090dc
push dword [ebp - 0x20]
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404c94
mov eax, dword [ebp - 0x18]
call fcn.00404dd4
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [edi], eax
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43aa5b
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.0040491c
ret
Function at 0x43bee4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43bfce
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4b6720], bl
mov eax, 0x4b6724
mov edx, esi
call fcn.0040494c
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
xor edx, edx
mov dl, bl
mov eax, dword [0x4395b0]
call fcn.004166c8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
call fcn.00402940
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x24]
mov eax, 8
call fcn.004090dc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 2
mov eax, 0x43bfe4
call fcn.0040a370
mov eax, dword [ebp - 4]
call fcn.00404dd4
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp dword [0x4b6a10], 0
je 0x43bfab
add bl, 0xfb
sub bl, 4
jae 0x43bfab
push 0x242010
push 0x43c018
mov eax, esi
call fcn.00404dd4
push eax
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bfd5
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040491c
lea eax, [ebp - 4]
call fcn.004048f8
ret

Function at 0x43c1b4
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x43c17c
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret

Function at 0x43c250
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00404bd4
mov ebx, eax
inc ebx
call sub.kernel32.dll_GetCurrentProcessId
call fcn.0043c1b4
push eax
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x43c328
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c30e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43c2f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404dd4
mov edx, dword [ebp - 8]
mov ecx, ebx
call fcn.00402b6c
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 4]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c2f7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
Function at 0x43c338
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
add esp, 0xffffffac
test al, al
je 0x43c384
push esp
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [esp + 0x44]
xor ecx, ecx
mov edx, 0x10
call fcn.0040329c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
mov eax, dword [0x4b6710]
call fcn.00404dd4
push eax
push 0
push 0x220
push 0
push 0
push 0
call sub.kernel32.dll_GetCommandLineA_1
push eax
push 0
call sub.kernel32.dll_CreateProcessA
push 1
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
add esp, 0x54
ret

Function at 0x43c658
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov edx, dword [0x4b4474]
mov dl, byte [edx]
mov byte [ebp - 1], dl
mov ecx, eax
mov dl, 1
mov eax, dword [0x439664]
call fcn.0043c398
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43c728
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.0043c410
test al, al
je 0x43c712
cmp word [ebp - 4], 0x5a4d
jne 0x43c712
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.0041cd24
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0043c410
test al, al
je 0x43c712
cmp dword [ebp - 8], 0
je 0x43c712
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.0041cd24
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0043c410
test al, al
je 0x43c712
cmp dword [ebp - 0xc], 0x4550
jne 0x43c712
lea edx, [ebp - 0x24]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.0043c410
test al, al
je 0x43c712
test byte [ebp - 0x11], 0x20
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c72f
mov eax, dword [ebp - 0x10]
call fcn.00403a00
ret
Function at 0x43c738
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43c8cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x439664]
call fcn.0043c398
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43c8b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.0043c410
test al, al
je 0x43c89c
cmp word [ebp - 4], 0x5a4d
jne 0x43c89c
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.0041cd24
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0043c410
test al, al
je 0x43c89c
cmp dword [ebp - 8], 0
je 0x43c89c
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.0041cd24
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0043c410
test al, al
je 0x43c89c
cmp dword [ebp - 0xc], 0x4550
jne 0x43c89c
lea edx, [ebp - 0x28]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.0043c410
test al, al
je 0x43c898
test byte [ebp - 0x15], 0x20
je 0x43c898
push 2
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.0043c44c
mov eax, dword [ebp - 0x2c]
call fcn.00404dd4
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x43c891
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x43c8e0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x43c876
push 0xa
push 0x43c8ec
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x43c876
mov byte [ebp - 1], 2
jmp 0x43c87a
mov byte [ebp - 1], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c89c
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c8b9
mov eax, dword [ebp - 0x10]
call fcn.00403a00
ret
Function at 0x43c9bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x43c9c5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43cbdf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004048f8
mov eax, esi
call fcn.004048f8
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00404dd4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x43cbc4
mov eax, dword [ebp - 4]
call fcn.00402890
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x43cbbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.00404dd4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x43cba4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x43cbf0
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43caee
push 0x43cc14
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.004090b4
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.004090b4
push dword [ebp - 0x24]
push 0x43cc30
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404c94
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404dd4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43caee
cmp dword [ebp - 0xc], 1
jbe 0x43caee
mov eax, dword [ebp - 0x18]
call fcn.00409c94
mov ecx, eax
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.004049e8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x43cc44
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43cba4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.00407978
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov di, word [eax + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.00407978
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 0xc]
mov word [ebp - 0x10], ax
lea edx, [ebp - 0x28]
movzx eax, bx
call fcn.00408fa0
push dword [ebp - 0x28]
push 0x43cc50
lea edx, [ebp - 0x2c]
movzx eax, di
call fcn.00408fa0
push dword [ebp - 0x2c]
push 0x43cc50
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0xe]
call fcn.00408fa0
push dword [ebp - 0x30]
push 0x43cc50
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0x10]
call fcn.00408fa0
push dword [ebp - 0x34]
mov eax, esi
mov edx, 7
call fcn.00404c94
mov eax, dword [esi]
mov edx, 0x43cc5c
call fcn.00404d20
jne 0x43cba4
mov eax, esi
call fcn.004048f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cbc4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.004028b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cbe6
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.0040491c
ret
Function at 0x43d040
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
mov eax, 0x100
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x100
call fcn.00404b68
add esp, 0x100
pop ebx
ret

Function at 0x43d070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x810], ebx
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404dc4
xor eax, eax
push ebp
push 0x43d16c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.0040494c
lea edx, [ebp - 0x80c]
mov eax, dword [ebp - 4]
call fcn.0040972c
cmp dword [ebp - 0x80c], 0
jne 0x43d0f4
lea eax, [ebp - 0x810]
call fcn.0043d040
push dword [ebp - 0x810]
push 0x43d184
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404c94
lea eax, [ebp - 4]
xor ecx, ecx
xor edx, edx
call fcn.00426a48
test al, al
je 0x43d146
mov eax, dword [ebp - 4]
call fcn.00404dd4
push eax
push 0x800
lea eax, [ebp - 0x808]
push eax
mov eax, ebx
call fcn.00404dd4
push eax
mov eax, dword [ebp - 8]
call fcn.00404dd4
push eax
mov eax, edi
call fcn.00404dd4
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x808]
mov eax, esi
call fcn.004049e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d173
lea eax, [ebp - 0x810]
mov edx, 2
call fcn.0040491c
lea eax, [ebp - 4]
call fcn.004048f8
ret
Function at 0x43e3dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x43e55b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x43e43b
cmp byte [ebp - 5], 0x80
jb 0x43e43b
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
xor edx, edx
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.00402d98
xor ecx, ecx
mov cl, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x43e52e
cmp byte [esi + 0x37], 0
je 0x43e49e
mov eax, dword [0x4b67a0]
mov edx, dword [esi + 0x33]
call fcn.00404d20
je 0x43e48d
mov eax, dword [esi + 0x33]
call fcn.00431874
mov eax, 0x4b67a0
mov edx, dword [esi + 0x33]
call fcn.0040494c
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.00431914
jmp 0x43e4d7
cmp byte [ebx], 0
je 0x43e4d7
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00404b5c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00431b44
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x43e574
call fcn.00404c20
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.00404bb0
cmp byte [ebp - 6], 0
je 0x43e540
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00404b5c
push dword [ebp - 0x1c]
push 0x43e580
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0043e3dc
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
call fcn.00404b5c
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404c94
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0xff
call fcn.00404bb0
jmp 0x43e540
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x43e540
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x43e539
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e562
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.0040491c
ret

Function at 0x4418e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
call sub.kernel32.dll_GetCurrentProcessId
call fcn.0043c1b4
mov ebx, eax
test ebx, ebx
je 0x441938
push ebx
call sub.user32.dll_IsIconic
test eax, eax
je 0x441921
push 0
push 0xf120
push 0x112
push ebx
call sub.user32.dll_SendMessageA
push 5
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_SetForegroundWindow
jmp 0x441938
push ebx
call sub.user32.dll_GetLastActivePopup
mov ebx, eax
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
je 0x441938
push ebx
call sub.user32.dll_SetForegroundWindow
pop ebx
ret
Function at 0x447774
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x4b39bc], 0
jne 0x4477c1
xor esi, esi
mov edx, 0x4b6a58
mov eax, esi
mov ebx, 8
test al, 1
je 0x4477a7
shr eax, 1
xor eax, 0xedb88320
jmp 0x4477a9
shr eax, 1
dec ebx
jne 0x44779a
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x447793
mov byte [0x4b39bc], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x4477ee
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x4b6a58]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x4477cd
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x448894
Capabilities:
Query environment variable

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, eax
push 0x800
lea eax, [esp + 4]
push eax
mov eax, dword [ebx]
call fcn.00404dd4
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.004049e8
add esp, 0x800
pop ebx
ret
Function at 0x44a5fc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dc4
mov eax, dword [ebp - 8]
call fcn.00404dc4
mov eax, dword [ebp - 0xc]
call fcn.00404dc4
xor eax, eax
push ebp
push 0x44a7f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x44a810
mov eax, 0x80000000
call fcn.0042625c
lea eax, [ebp - 0x14]
call fcn.00448894
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.0040329c
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.0040329c
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4b6700]
mov edx, 0x44a834
call fcn.00404c20
push 0x44a844
push dword [ebp - 4]
push 0x44a854
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.0044a518
push dword [ebp - 0x78]
push 0x44a868
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404c20
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.0044a518
push dword [ebp - 0x7c]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00404c94
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x44a878
mov eax, dword [ebp - 0x14]
call fcn.00426028
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404dd4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x44a7ae
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x6c]
call fcn.0043c1b4
test eax, eax
je 0x44a77d
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
je 0x44a79a
lea eax, [ebp - 0x20]
push eax
push esi
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x44a7cb
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x84]
call fcn.0040c920
mov edx, dword [ebp - 0x84]
mov al, 4
call fcn.0043bee4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a7fd
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.0040491c
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040491c
ret
Function at 0x44b8c8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], 0x100
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, 0x100
call fcn.00404b68
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ba04
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, 0x100
call fcn.00404b68
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c234
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44c2a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x44c2b4]
call fcn.00402dc0
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040908c
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x44c2c0
call fcn.00404c20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c2af
lea eax, [ebp - 0x24]
call fcn.004048f8
ret

Function at 0x44c2c4
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44c338
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x44c344]
call fcn.00402dc0
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040908c
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x44c350
call fcn.00404c20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c33f
lea eax, [ebp - 0x24]
call fcn.004048f8
ret