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

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4a6e99
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x4c9164
mov ecx, 0x105
call fcn.00403df4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4a6eb0
call fcn.00403e90
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404350
mov eax, dword [ebp - 0xc]
mov dx, 0xffff
call fcn.00455b58
mov ebx, eax
test ebx, ebx
je 0x4a6e6e
mov ecx, dword [esi + 4]
sub ecx, 0x20
lea edx, [esi + 0x20]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 8]
mov eax, ebx
call fcn.00402e9c
mov eax, 0xc8
call fcn.004572d8
push 1
push 0x4a6ec0
push 0x4a6ecc
push dword [ebp - 4]
push 0x4a6edc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403f04
mov eax, dword [ebp - 0x10]
call fcn.00404008
push eax
push 0x4a6ee0
push 0x4a6eec
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6ea0
lea eax, [ebp - 0x10]
call fcn.00403bc4
lea eax, [ebp - 0xc]
call fcn.004041f4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403be8
ret

Function at 0x4a7598
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a7684
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetForegroundWindow
mov dword [ebx], eax
push 0x7f
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetClassNameA
test eax, eax
jle 0x4a7630
lea edx, [ebp - 4]
lea eax, [ebp - 0x88]
call fcn.00409754
push 0x7f
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4a760b
lea edx, [ebp - 8]
lea eax, [ebp - 0x88]
call fcn.00409754
jmp 0x4a7613
lea eax, [ebp - 8]
call fcn.00403bc4
push dword [ebp - 4]
push 0x4a769c
push dword [ebp - 8]
push 0x4a76a8
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403f04
xor esi, esi
mov edi, 0x4bc658
cmp esi, 3
jl 0x4a764d
mov edx, dword [ebp - 4]
mov eax, dword [edi]
call fcn.00404130
test eax, eax
setg bl
jmp 0x4a765a
mov eax, dword [edi]
mov edx, dword [ebp - 4]
call fcn.00403f54
sete bl
test bl, bl
jne 0x4a7669
inc esi
add edi, 4
cmp esi, 4
jne 0x4a7637
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a768b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403be8
ret
Function at 0x4a9344
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov dword [esp], eax
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 2
jge 0x4a9378
mov ecx, 0x4a9438
mov dl, 1
mov eax, dword [0x408070]
call fcn.0040b6a0
call fcn.004035f4
xor edx, edx
mov eax, dword [esp]
call fcn.0041f5e0
mov ebx, eax
mov edx, 1
mov eax, dword [esp]
call fcn.0041f5e0
sub ebx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x4a93a2
add eax, 3
sar eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edi, eax
dec edi
test edi, edi
jl 0x4a93ee
inc edi
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp]
call fcn.0041f5e0
mov ecx, eax
mov edx, dword [esp + 0x14]
dec edx
test edx, edx
jl 0x4a93e7
inc edx
mov eax, dword [ecx]
xor esi, eax
add dword [esp + 0x18], eax
add ecx, 4
dec edx
jne 0x4a93d9
inc dword [esp + 0x10]
dec edi
jne 0x4a93c1
mov eax, esi
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 8]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x18]
xor edx, edx
add eax, dword [esp + 8]
adc edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x4ab650
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4ab71c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x418a44]
call fcn.0041ef0c
mov ebx, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
push esi
mov eax, ebx
call fcn.0041f478
xor ecx, ecx
xor edx, edx
call fcn.0041a3c8
lea eax, [ebp - 4]
mov ecx, 0x4ab730
mov edx, dword [0x4c926c]
call fcn.00403e90
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, ebx
call fcn.00402e9c
mov ecx, 0x4ab748
mov edx, 0x4ab754
mov eax, 0x4ab76c
call fcn.00455c80
mov eax, 0x4ab76c
mov ecx, 0x4ab7a0
mov edx, 0x4ab7ac
call fcn.00455c80
push 3
lea eax, [ebp - 4]
call fcn.00404014
push eax
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab723
lea eax, [ebp - 4]
call fcn.00403bc4
ret
Function at 0x4ab874
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4ab87c
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ff8
xor eax, eax
push ebp
push 0x4aba9e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, dword [0x4bc4c4]
call fcn.00404350
push dword [ebp - 0x14]
push dword [0x4bc68c]
push 0x4abab0
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040437c
lea eax, [ebp - 0x18]
mov edx, dword [0x4bc4c4]
call fcn.00404350
push dword [ebp - 0x18]
push dword [0x4bc690]
push 0x4abab0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040437c
lea eax, [ebp - 0x1c]
mov edx, dword [0x4bc4c4]
call fcn.00404350
push dword [ebp - 0x1c]
push dword [0x4bc694]
push 0x4abab0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040437c
mov eax, dword [ebp - 8]
call fcn.00404360
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4ab93a
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404230
jmp 0x4ab958
mov eax, dword [ebp - 0xc]
call fcn.00404360
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4ab958
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404230
test bl, bl
jne 0x4ab969
cmp dword [0x4c937c], 0
jne 0x4aba0e
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.00403e0c
mov eax, dword [ebp - 0x20]
call fcn.004090fc
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
call fcn.00403e0c
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov edx, 0x4abac4
call fcn.00409194
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
call fcn.00404350
mov dl, 1
mov eax, dword [0x4550b8]
call fcn.00402e6c
mov ebx, eax
push 0x4abad4
push dword [ebp - 4]
push 0x4abaf8
push 0x4abb04
push 0x4abb2c
push 0x4abb44
push dword [0x4c926c]
push 0x4abb58
lea eax, [ebp - 0x2c]
mov edx, 8
call fcn.00403f04
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.0045599c
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.004581e4
mov edx, 0x3aa21b88
mov eax, dword [ebp - 0x10]
call fcn.00455778
mov eax, ebx
call fcn.00402e9c
jmp 0x4aba61
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
call fcn.00403e0c
mov eax, dword [ebp - 0x30]
mov edx, 0x20
call fcn.00408fe0
mov eax, dword [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
call fcn.00404350
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
mov edx, dword [0x4c937c]
call fcn.00404350
mov eax, dword [ebp - 0x38]
xor ecx, ecx
pop edx
call fcn.0049e9a0
mov edx, 0x3aa21b88
mov eax, dword [ebp - 0x10]
call fcn.00455778
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abaa5
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040420c
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00403be8
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.0040420c
lea eax, [ebp - 4]
call fcn.00403bc4
ret
Function at 0x4ac7a4
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ac88f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403bc4
xor esi, esi
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo_1
cmp eax, 0x6f
jne 0x4ac879
mov eax, dword [ebp - 8]
call fcn.004088d0
mov esi, eax
mov ebx, esi
lea eax, [ebp - 8]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo_1
test eax, eax
jne 0x4ac872
test ebx, ebx
je 0x4ac872
cmp dword [ebx + 0x1a0], 6
jne 0x4ac86c
lea eax, [ebx + 0x1b0]
push eax
call sub.wsock32.dll_inet_addr
cmp edi, eax
jne 0x4ac86c
xor edi, edi
lea ecx, [ebp - 0xc]
xor eax, eax
mov al, byte [ebx + edi + 0x194]
mov edx, 2
call fcn.00408d44
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00403e4c
mov eax, dword [ebp - 4]
inc edi
cmp edi, 6
jne 0x4ac820
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x4ac8a8
call fcn.00403f54
jne 0x4ac863
mov eax, dword [ebp - 4]
call fcn.00403bc4
mov eax, esi
call fcn.0040279c
jmp 0x4ac879
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4ac805
mov eax, esi
call fcn.0040279c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac896
lea eax, [ebp - 0xc]
call fcn.00403bc4
ret
Function at 0x4af2e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4af2e8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ff8
xor eax, eax
push ebp
push 0x4af4c7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00408954
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.00404350
mov eax, dword [0x4c92f8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4af487
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [0x4c92f8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 1]
and eax, 0xff
sub eax, 0x30
mov dword [0x4c9524], eax
cmp dword [0x4c9524], 4
je 0x4af47b
lea eax, [ebp - 0xc]
mov ecx, 3
mov edx, 1
call fcn.0040408c
mov eax, dword [ebp - 0xc]
mov edx, 0x4af4e0
call fcn.00403f54
jne 0x4af39a
mov byte [0x4bc69c], 1
jmp 0x4af3a1
mov byte [0x4bc69c], 0
cmp byte [0x4bc69c], 0
je 0x4af43c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00403c5c
mov esi, 1
jmp 0x4af3ea
mov eax, dword [ebp - 0x14]
mov al, byte [eax + esi - 1]
cmp al, 0x61
jb 0x4af3d5
mov edx, dword [ebp - 0x14]
cmp al, 0x7a
ja 0x4af3d5
inc esi
jmp 0x4af3ea
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x400
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.0040404c
jmp 0x4af3f6
mov eax, dword [ebp - 0x14]
call fcn.00403e44
cmp esi, eax
jl 0x4af3c0
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, 0x4af4f4
call fcn.00403e90
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x10]
call fcn.00405278
mov esi, eax
cmp dword [ebp - 0x10], 0
jne 0x4af43c
cmp esi, 0x3e8
jbe 0x4af43c
call sub.kernel32.dll_GetTickCount
cmp esi, eax
jae 0x4af43c
call sub.kernel32.dll_GetTickCount
sub eax, 0x30d40
cmp esi, eax
jbe 0x4af43c
mov bl, 1
jmp 0x4af487
cmp byte [0x4bc69c], 0
je 0x4af456
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00403f54
jne 0x4af456
mov bl, 1
jmp 0x4af487
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404350
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.0040453c
test eax, eax
jle 0x4af47b
mov byte [0x4bc69c], 0
mov bl, 1
jmp 0x4af487
inc dword [ebp - 8]
dec dword [ebp - 0x24]
jne 0x4af340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af4ce
lea eax, [ebp - 0x28]
call fcn.00403bc4
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040420c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00403be8
lea eax, [ebp - 0xc]
call fcn.00403bc4
lea eax, [ebp - 4]
call fcn.00403bc4
ret
Function at 0x4afff0
Capabilities:
Enumerate gui resources
Get graphical window text
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00403ff8
xor eax, eax
push ebp
push 0x4b00e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40ed14]
call fcn.00402e6c
mov edi, eax
push edi
push 0x4af5b0
call sub.user32.dll_EnumWindows
mov ebx, dword [edi + 8]
dec ebx
test ebx, ebx
jl 0x4b00c6
inc ebx
xor esi, esi
push 0x7f
lea eax, [ebp - 0x8c]
push eax
mov edx, esi
mov eax, edi
call fcn.00410778
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4b00be
lea eax, [ebp - 4]
call fcn.00404014
mov edx, eax
lea eax, [ebp - 0x8c]
call fcn.00409610
test eax, eax
jne 0x4b00be
lea eax, [ebp - 8]
push eax
mov edx, esi
mov eax, edi
call fcn.00410778
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
cmp edx, 0xffffffff
jne 0x4b00a2
cmp eax, 0xffffffff
je 0x4b00be
cmp dword [ebp - 0xc], 0
je 0x4b00be
push 0x31
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
inc esi
dec ebx
jne 0x4b003d
mov eax, edi
call fcn.00402e9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b00ea
lea eax, [ebp - 4]
call fcn.00403bc4
ret

Function at 0x4b00f4
Capabilities:
Terminate process

Disassembly:
push ebx
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
mov eax, ebx
xor edx, edx
cmp edx, 0xffffffff
jne 0x4b010d
cmp eax, 0xffffffff
je 0x4b0121
test ebx, ebx
je 0x4b0121
push 0x31
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle_1
pop ebx
ret
Function at 0x4b1abc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
lea eax, [ebp - 0x118]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
push 0xff
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x4b1bc9
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
and al, 0xdf
mov bl, al
cmp bl, 0x41
jb 0x4b1bc9
cmp bl, 0x43
jb 0x4b1bab
mov esi, ebx
and esi, 0xff
cmp byte [esi + 0x4c9419], 3
je 0x4b1bab
xor eax, eax
push ebp
push 0x4b1ba1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetDriveTypeA
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 5
jne 0x4b1b51
mov byte [esi + 0x4c9419], 3
jmp 0x4b1b6f
cmp byte [ebp - 0xd], 3
jne 0x4b1b6f
mov eax, ebx
call fcn.0045808c
test al, al
jne 0x4b1b6b
mov byte [esi + 0x4c9419], 3
jmp 0x4b1b6f
mov byte [ebp - 0xd], 2
cmp byte [ebp - 0xd], 2
jne 0x4b1b97
mov eax, ebx
sub al, 0x41
inc eax
call fcn.00409410
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b1bab
mov eax, dword [ebp - 0xc]
call fcn.004094e4
inc eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
and al, 0xdf
mov bl, al
cmp bl, 0x41
jae 0x4b1b0a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b2adc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor eax, eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x108], eax
xor eax, eax
push ebp
push 0x4b2b7c
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
push 0x4b2b88
call sub.kernel32.dll_ExpandEnvironmentStringsA
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00403df4
lea eax, [ebp - 0x108]
mov edx, 0x4b2ba0
call fcn.00403e4c
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.00408954
mov edx, dword [ebp - 0x104]
mov eax, 0x4bc6d8
call fcn.00403c18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2b83
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.00403be8
ret
Function at 0x4b3294
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffa8
mov esi, edx
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x44
call fcn.00402b84
mov dword [esp + 4], 0x44
mov dword [esp + 0x30], 0x101
mov word [esp + 0x34], 0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [0x4bcce8]
call fcn.00404014
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push esi
push ebx
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4b3326
push 0x1388
mov eax, dword [esp + 0x4c]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x4b330b
mov eax, 2
jmp 0x4b332b
push esp
mov eax, dword [esp + 0x4c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x4b331f
mov eax, dword [esp]
jmp 0x4b332b
mov eax, 3
jmp 0x4b332b
mov eax, 4
add esp, 0x58
pop esi
pop ebx
ret

Function at 0x4b37f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor edx, edx
push ebp
push 0x4b3930
push dword fs:[edx]
mov dword fs:[edx], esp
cmp al, byte [0x4bc6f0]
je 0x4b3915
mov byte [0x4bc6f0], al
cmp dword [0x4c9590], 0
jne 0x4b3834
mov dl, 1
mov eax, dword [0x40ed14]
call fcn.00402e6c
mov dword [0x4c9590], eax
mov eax, dword [0x4c9590]
mov eax, dword [eax + 8]
test eax, eax
jle 0x4b386a
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4b3860
inc ebx
xor esi, esi
mov edx, esi
mov eax, dword [0x4c9590]
call fcn.00410778
push eax
call sub.kernel32.dll_CloseHandle_1
inc esi
dec ebx
jne 0x4b384a
mov eax, dword [0x4c9590]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4c926c]
mov al, byte [eax]
mov byte [ebp - 1], al
mov eax, dword [0x4bcce8]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 2], al
cmp byte [0x4bc6f0], 0
je 0x4b3915
mov bl, 0x41
cmp bl, byte [ebp - 1]
je 0x4b390b
cmp bl, byte [ebp - 2]
je 0x4b390b
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00403d6c
lea eax, [ebp - 0xc]
mov edx, 0x4b3948
call fcn.00403e4c
mov eax, dword [ebp - 0xc]
call fcn.00404008
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4b390b
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403d6c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4b3954
call fcn.00403e90
push 0
push 0x22
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 8]
call fcn.00404014
push eax
call sub.kernel32.dll_CreateFileA_1
cmp eax, 0xffffffff
je 0x4b390b
mov edx, eax
mov eax, dword [0x4c9590]
call fcn.004105cc
inc ebx
cmp bl, 0x5b
jne 0x4b388f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3937
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403be8
ret
Function at 0x4b3d6c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ff8
mov eax, dword [ebp - 8]
call fcn.00403ff8
xor eax, eax
push ebp
push 0x4b3e16
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00408f10
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.00408f10
cmp esi, eax
jne 0x4b3dcf
mov eax, dword [ebp - 4]
call fcn.00455664
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.00455664
cmp edx, dword [esp + 4]
jne 0x4b3dcb
cmp eax, dword [esp]
pop edx
pop eax
je 0x4b3dfb
mov edx, 0x20
mov eax, dword [ebp - 8]
call fcn.00408fe0
push 0
lea eax, [ebp - 8]
call fcn.00404014
push eax
lea eax, [ebp - 4]
call fcn.00404014
push eax
call sub.kernel32.dll_CopyFileA
neg eax
sbb ebx, ebx
neg ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3e1d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403be8
ret

Function at 0x4b5aec
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ff8
mov eax, dword [ebp - 8]
call fcn.00403ff8
xor eax, eax
push ebp
push 0x4b5b90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408f10
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00408f10
mov ecx, eax
test ecx, ecx
jle 0x4b5b73
test ebx, ebx
jle 0x4b5b52
mov eax, ecx
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x4b5b45
mov bl, 1
jmp 0x4b5b75
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.00408fe0
push 0
lea eax, [ebp - 4]
call fcn.00404014
push eax
lea eax, [ebp - 8]
call fcn.00404014
push eax
call sub.kernel32.dll_CopyFileA
neg eax
sbb ebx, ebx
neg ebx
jmp 0x4b5b75
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5b97
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403be8
ret
Function at 0x473440
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4a000]
push edi
or ebp, 0xffffffff
jmp 0x473462
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x473469
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x473458
mov eax, 1
add ebx, ebx
jne 0x47347b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47348c
jne 0x4734ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4734ab
dec eax
add ebx, ebx
jne 0x473498
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x473470
add ebx, ebx
jne 0x4734a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4734fd
xor ecx, ecx
sub eax, 3
jb 0x4734c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x473532
sar eax, 1
mov ebp, eax
jmp 0x4734ce
add ebx, ebx
jne 0x4734ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47349c
inc ecx
add ebx, ebx
jne 0x4734dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47349c
add ebx, ebx
jne 0x4734e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4734de
jne 0x4734fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4734de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47351c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47350e
jmp 0x47345e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47351c
add edi, ecx
jmp 0x47345e
pop esi
mov edi, esi
mov ecx, 0xa3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47353a
cmp byte [edi], 0xd
jne 0x47353a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x47353f
lea edi, [esi + 0x71000]
mov eax, dword [edi]
or eax, eax
je 0x4735b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7396c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x739a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47356c
mov ecx, edi
jns 0x47359b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x739ac]
or eax, eax
je 0x4735b1
mov dword [ebx], eax
add ebx, 4
jmp 0x473589
call dword [esi + 0x739bc]
mov ebp, dword [esi + 0x739b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4735eb
sub esp, 0xffffff80
jmp 0x4013a8