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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407088
mov eax, dword [ebp - 8]
call fcn.00407088
xor eax, eax
push ebp
push 0x44b720
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.004047e8
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x10
call fcn.004047e8
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 1
test edi, edi
jne 0x44b659
lea esi, [ebp - 0x60]
jmp 0x44b65b
mov esi, edi
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004070f4
mov edx, dword [ebp - 4]
mov eax, 0x44b73c
call fcn.00407a64
test eax, eax
jle 0x44b692
push 0x44b74c
push dword [ebp - 4]
push 0x44b74c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407650
jmp 0x44b6a3
cmp dword [ebp - 4], 0
je 0x44b6a3
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004070f4
cmp dword [ebp - 8], 0
je 0x44b6c1
push dword [ebp - 0xc]
push 0x44b73c
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407650
push esi
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040712c
push eax
mov eax, dword [ebp - 4]
call fcn.0040712c
push eax
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x44b705
test edi, edi
jne 0x44b703
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b727
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407098
ret

Function at 0x44b8a4
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
push ebx
push esi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407088
xor eax, eax
push ebp
push 0x44b980
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp byte [ebp - 5], 0
je 0x44b916
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 4]
call fcn.0040712c
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov esi, eax
cmp esi, 0xffffffff
je 0x44b96a
test byte [ebp - 0x258], 0x10
sete bl
test bl, bl
jne 0x44b90e
lea eax, [ebp - 0x258]
push eax
push esi
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x44b8ef
push esi
call sub.kernel32.dll_FindClose_1
jmp 0x44b96a
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040712c
mov esi, eax
push esi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
setne bl
test bl, bl
je 0x44b94a
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x44b96a
push esi
call sub.shlwapi.dll_PathFileExistsW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x44b96a
push esi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x44b96a
test al, 0x10
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b987
lea eax, [ebp - 4]
call fcn.00407090
ret
Function at 0x44c1b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407088
mov eax, dword [ebp - 8]
call fcn.00407088
xor eax, eax
push ebp
push 0x44c240
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.004070a0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040712c
mov edi, eax
push edi
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
test ebx, ebx
jbe 0x44c225
mov eax, esi
mov edx, ebx
call fcn.00407414
push ebx
mov eax, dword [esi]
call fcn.0040712c
push eax
push edi
call sub.kernel32.dll_GetEnvironmentVariableW
mov edx, ebx
dec edx
mov eax, esi
call fcn.00407414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c247
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407098
ret

Function at 0x44c778
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407088
xor eax, eax
push ebp
push 0x44c82e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004047e8
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.004047e8
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 1
test edi, edi
jne 0x44c7d9
lea esi, [ebp - 0x58]
jmp 0x44c7db
mov esi, edi
push esi
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040712c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x44c818
test edi, edi
jne 0x44c816
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c835
lea eax, [ebp - 4]
call fcn.00407090
ret

Function at 0x44cad0
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
push ebx
push esi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407088
xor eax, eax
push ebp
push 0x44cb70
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp byte [ebp - 5], 0
je 0x44cb42
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 4]
call fcn.0040712c
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov esi, eax
cmp esi, 0xffffffff
je 0x44cb5a
test byte [ebp - 0x258], 0x10
setne bl
test bl, bl
jne 0x44cb3a
lea eax, [ebp - 0x258]
push eax
push esi
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x44cb1b
push esi
call sub.kernel32.dll_FindClose_1
jmp 0x44cb5a
mov eax, dword [ebp - 4]
call fcn.0040712c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x44cb5a
test al, 0x10
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cb77
lea eax, [ebp - 4]
call fcn.00407090
ret
Function at 0x44d254
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 8], edx
mov dword [esp], eax
mov eax, dword [esp + 8]
xor edx, edx
call fcn.004070a0
mov esi, dword [esp]
shr esi, 4
inc esi
call sub.kernel32.dll_GetThreadLocale
and ax, 0x3ff
or ax, 0x400
movzx eax, ax
push eax
mov edi, esi
push edi
push 6
mov eax, dword [0x4bfc38]
push eax
call sub.kernel32.dll_FindResourceExW
mov ebx, eax
test ebx, ebx
jne 0x44d2b1
mov eax, 0x409
push eax
push edi
push 6
mov eax, dword [0x4bfc38]
push eax
call sub.kernel32.dll_FindResourceExW
mov ebx, eax
test ebx, ebx
je 0x44d334
push ebx
mov eax, dword [0x4bfc38]
push eax
call sub.kernel32.dll_SizeofResource
mov esi, eax
push ebx
mov eax, dword [0x4bfc38]
push eax
call sub.kernel32.dll_LoadResource
mov ebp, eax
test esi, esi
je 0x44d32e
test ebp, ebp
je 0x44d32e
push ebp
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, ebx
cdq
push edx
push eax
mov eax, esi
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0xc], eax
xor edi, edi
cmp ebx, dword [esp + 0xc]
jae 0x44d32e
movzx esi, word [ebx]
add ebx, 2
mov eax, dword [esp]
and eax, 0xf
cmp edi, eax
jne 0x44d320
movzx ecx, si
mov eax, dword [esp + 8]
mov edx, ebx
call fcn.004071dc
jmp 0x44d32e
inc edi
movzx eax, si
add eax, eax
add ebx, eax
cmp ebx, dword [esp + 0xc]
jb 0x44d300
push ebp
call sub.kernel32.dll_FreeResource
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x44d33c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407088
xor eax, eax
push ebp
push 0x44d3c1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
call fcn.00407090
mov edx, eax
lea eax, [ebp - 4]
call fcn.0044c3f0
mov eax, dword [ebp - 4]
call fcn.0044e0f0
mov esi, eax
test esi, esi
je 0x44d3a6
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040712c
push eax
push esi
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete bl
push esi
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d3c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407098
ret
Function at 0x44d5c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x250], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407088
mov eax, dword [ebp - 8]
call fcn.00407088
xor eax, eax
push ebp
push 0x44d6c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.004047e8
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x540
lea eax, [ebp - 0x250]
push eax
xor ecx, ecx
mov edx, 0x608
mov eax, 0x44d6e0
call fcn.0044ac18
mov eax, dword [ebp - 0x250]
call fcn.0040712c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
call fcn.0040712c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.0040712c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x24c]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW_1
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb ebx, ebx
inc ebx
test esi, esi
je 0x44d69c
mov eax, esi
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
xor edx, edx
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax + 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d6c9
lea eax, [ebp - 0x250]
call fcn.00407090
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407098
ret

Function at 0x44d6ec
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407088
mov eax, dword [ebp - 8]
call fcn.00407088
xor eax, eax
push ebp
push 0x44d7d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00407090
mov edx, eax
lea eax, [ebp - 4]
call fcn.0044c3f0
mov eax, dword [ebp - 4]
call fcn.0044e614
mov ebx, eax
test ebx, ebx
je 0x44d7b9
mov eax, dword [ebp - 8]
test eax, eax
je 0x44d75a
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x44d75a
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0040648c
test eax, eax
je 0x44d763
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x44d794
mov eax, dword [ebp - 8]
test eax, eax
je 0x44d784
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x44d784
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0040648c
test eax, eax
je 0x44d78d
sub eax, 4
mov eax, dword [eax]
inc eax
mov esi, eax
add esi, esi
jmp 0x44d796
xor esi, esi
push esi
mov eax, dword [ebp - 8]
call fcn.0040712c
push eax
push 1
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040712c
push eax
push ebx
call sub.advapi32.dll_RegSetValueExW
push ebx
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d7db
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407098
ret
Function at 0x44d894
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407088
mov eax, dword [ebp - 8]
call fcn.004069e0
xor eax, eax
push ebp
push 0x44d9ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.0040712c
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44d98e
mov eax, dword [ebp - 8]
test eax, eax
je 0x44d90f
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x44d90f
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004064bc
test eax, eax
je 0x44d918
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x44d988
mov esi, dword [ebp - 8]
test esi, esi
je 0x44d93d
mov eax, esi
sub eax, 0xa
cmp word [eax], 1
je 0x44d93d
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004064bc
mov esi, eax
lea eax, [ebp - 8]
call fcn.00406a68
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x44d966
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x44d966
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004064bc
mov edi, eax
test edi, edi
je 0x44d971
sub edi, 4
mov edi, dword [edi]
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push ebx
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d9b3
lea eax, [ebp - 8]
call fcn.004062a0
lea eax, [ebp - 4]
call fcn.00407090
ret

Function at 0x44db60
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, eax
push edx
push 0x44db1c
call sub.user32.dll_EnumWindows
push esi
push ebx
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x44db8d
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
pop esi
pop ebx
ret
mov al, 1
pop esi
pop ebx
ret

Function at 0x44db61
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, eax
push edx
push 0x44db1c
call sub.user32.dll_EnumWindows
push esi
push ebx
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x44db8d
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
pop esi
pop ebx
ret
mov al, 1
pop esi
pop ebx
ret
Function at 0x44df18
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x44df20
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x44e0cc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, esi
xor edx, edx
call fcn.004070a0
xor eax, eax
push ebp
push 0x44e092
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x44e081
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
xor ecx, ecx
mov edx, 0x707
mov eax, 0x44e0e8
call fcn.0044ac18
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
call fcn.0044e4ec
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 8]
pop edx
call fcn.0040756c
lea eax, [ebp - 0xc]
call fcn.0044e884
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040712c
push eax
mov eax, dword [ebp - 8]
call fcn.0040712c
push eax
call sub.advapi32.dll_LookupAccountNameW
mov ebx, eax
test ebx, ebx
jne 0x44e05c
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x7a
jne 0x44e05c
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.00407014
mov eax, dword [ebp - 0x14]
call fcn.004041a0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00406ef8
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040712c
push eax
mov eax, dword [ebp - 8]
call fcn.0040712c
push eax
call sub.advapi32.dll_LookupAccountNameW
mov ebx, eax
test ebx, ebx
jne 0x44e050
mov eax, dword [ebp - 0x10]
call fcn.004041d4
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, esi
xor edx, edx
call fcn.004070a0
call fcn.00405bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44e09c
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0044d458
jmp 0x44e065
mov eax, esi
xor edx, edx
call fcn.004070a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e088
cmp dword [ebp - 0x10], 0
je 0x44e080
mov eax, dword [ebp - 0x10]
call fcn.004041d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e0d3
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00407098
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00407098
lea eax, [ebp - 4]
call fcn.00406d2c
ret
Function at 0x44e430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407088
xor eax, eax
push ebp
push 0x44e4dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004062a0
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040712c
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44e4c6
push 2
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
mov dword [ebp - 8], eax
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
mov eax, esi
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00406c64
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, esi
call fcn.00406a68
push eax
push ebx
call sub.kernel32.dll_ReadFile
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e4e3
lea eax, [ebp - 4]
call fcn.00407090
ret
Function at 0x44f248
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x44f3d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x44a958]
call fcn.0044cfa8
mov dword [0x4c222c], eax
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp - 8]
call fcn.0040725c
xor edi, edi
mov esi, 1
mov byte [ebp - 9], 0
xor ebx, ebx
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004070f4
jmp 0x44f2ec
mov eax, dword [ebp - 8]
movzx eax, word [eax + esi*2 - 2]
sub ax, 0x20
je 0x44f2c2
sub ax, 2
je 0x44f2bd
sub ax, 0x3a
jne 0x44f2eb
mov edi, esi
mov byte [ebp - 9], bl
jmp 0x44f2eb
xor bl, 1
jmp 0x44f2eb
test bl, bl
jne 0x44f2eb
lea eax, [ebp - 4]
push eax
mov ecx, esi
sub ecx, edi
dec ecx
lea edx, [edi + 1]
mov eax, dword [ebp - 8]
call fcn.00407878
lea eax, [ebp - 8]
mov ecx, esi
mov edx, 1
call fcn.00407948
jmp 0x44f2fd
inc esi
lea eax, [ebp - 8]
call fcn.0040649c
call fcn.00407408
cmp esi, eax
jle 0x44f29c
cmp byte [ebp - 9], 0
je 0x44f39f
mov edx, dword [ebp - 4]
mov eax, 0x44f3f0
call fcn.00407a64
test eax, eax
jle 0x44f32a
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x44f400
call fcn.0040756c
jmp 0x44f39f
mov edx, dword [ebp - 4]
mov eax, 0x44f400
call fcn.00407a64
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x44f356
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x44f356
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.0040648c
test eax, eax
je 0x44f35f
sub eax, 4
mov eax, dword [eax]
cmp eax, ebx
jne 0x44f39f
mov eax, dword [ebp - 4]
test eax, eax
je 0x44f380
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x44f380
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.0040648c
mov ebx, eax
test ebx, ebx
je 0x44f38b
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00407878
push dword [ebp - 4]
push 0x44f3f0
push dword [ebp - 8]
mov eax, 0x4c2228
mov edx, 3
call fcn.00407650
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f3db
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407098
ret
Function at 0x44fa20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407088
xor eax, eax
push ebp
push 0x44fb98
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x44fb72
cmp dword [0x4c2410], 0
je 0x44fa64
cmp dword [0x4c2410], 0xffffffff
jne 0x44fadb
cmp dword [0x4c240c], 0
je 0x44fadb
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov eax, dword [0x4c240c]
call fcn.0040712c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [0x4c2410], eax
call sub.kernel32.dll_GetLastError_1
sub eax, 1
jb 0x44faa7
sub eax, 0xb6
je 0x44faca
jmp 0x44fadb
mov dword [ebp - 0xc], 3
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x49f2e8
mov eax, dword [0x4c2410]
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x44fadb
push 2
push 0
push 0
mov eax, dword [0x4c2410]
push eax
call sub.kernel32.dll_SetFilePointer
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040a074
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x44fbb0
call fcn.00406740
cmp dword [0x4c2410], 0
je 0x44fb72
cmp dword [0x4c2410], 0xffffffff
je 0x44fb72
mov eax, dword [ebp - 8]
test eax, eax
je 0x44fb27
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x44fb27
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004064bc
test eax, eax
je 0x44fb30
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x44fb54
mov eax, ebx
sub eax, 0xa
cmp word [eax], 1
je 0x44fb54
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004064bc
mov ebx, eax
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 8]
call fcn.00406a68
push eax
mov eax, dword [0x4c2410]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fb9f
lea eax, [ebp - 0x10]
call fcn.004062a0
lea eax, [ebp - 8]
call fcn.004062a0
lea eax, [ebp - 4]
call fcn.00407090
ret

Function at 0x453570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4535c2
test eax, edx
je 0x4535c5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x453585
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4535ab
add ecx, 4
js 0x45359b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4535a8
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4535d1
test edx, edx
jne 0x453578
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret