joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6a5100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6a51cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x6a47a0]
call fcn.006a51f8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6a51a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x6a51e8
call fcn.004244f8
mov edx, dword [ebp - 8]
mov eax, dword [0x6ccec0]
mov eax, dword [eax]
call fcn.005b851c
call fcn.006a49cc
call sub.user32.dll_GetFocus
mov edx, dword [0x6ccec0]
mov edx, dword [edx]
cmp eax, dword [edx + 0x188]
jne 0x6a518b
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x6a5192
call sub.user32.dll_WaitMessage
jmp 0x6a5165
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a51af
mov eax, dword [ebp - 4]
call fcn.00408444
ret

Function at 0x6ab688
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x6ab690
push ecx
push ebx
xor eax, eax
push ebp
push 0x6ab7de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0060c2ec
mov edx, dword [ebp - 0x10]
mov eax, 0x6d5530
call fcn.0040a5a8
lea eax, [ebp - 0x14]
mov ecx, dword [0x6d5530]
mov edx, 0x6ab7f8
call fcn.0040b4c8
mov eax, dword [ebp - 0x14]
call fcn.00614eec
mov eax, dword [0x6ccfd8]
cmp byte [eax], 0
je 0x6ab6eb
mov eax, dword [0x6d5530]
call fcn.006145f8
lea edx, [ebp - 0x18]
mov eax, dword [0x6d5530]
call fcn.005c5170
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x6ab840
call fcn.0040b4c8
push 0
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x6ab785
call sub.kernel32.dll_GetLastError
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov ax, 0x3d
call fcn.005cd7d4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.0042302c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.005c8848
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov ax, 0x81
call fcn.005cd7a4
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x41ba8c]
call fcn.00429008
call fcn.004098c4
lea eax, [ebp - 8]
call fcn.00624308
cmp dword [ebp - 8], 0
je 0x6ab7b6
lea eax, [ebp - 0xc]
mov ecx, 0x6ab85c
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006ab630
mov eax, dword [ebp - 0xc]
call fcn.00624360
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ab7e5
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040a228
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040a228
ret
Function at 0x6ae354
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x6d5825], 1
call fcn.0060e494
test al, al
jne 0x6ae3a6
push 5
mov eax, dword [0x6ccec0]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x6ccec0]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov eax, dword [0x6cced4]
mov eax, dword [eax + 0x15c]
mov cl, 2
xor edx, edx
call fcn.006ae064
ret

Function at 0x6b1d08
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x6b1d2d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6b3b60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x6b3b8c
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jae 0x6b3b95
call fcn.006b27a0
mov eax, 0xa
call fcn.005c8c5c
call fcn.006b27a0
call fcn.006b3b2c
test al, al
jne 0x6b3b6a
pop ebx
ret

Function at 0x6b40bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x6cc904]
cmp dword [eax], 0
je 0x6b4167
mov eax, dword [0x6cc904]
mov eax, dword [eax]
call fcn.0051bab4
test al, al
je 0x6b4167
mov eax, dword [0x6cc904]
mov eax, dword [eax]
cmp byte [eax + 0x215], 0
je 0x6b4111
cmp byte [ebx + 0x3e1], 0
jne 0x6b4111
mov eax, dword [0x6ccec0]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x6b4115
xor eax, eax
jmp 0x6b4117
mov al, 1
mov ebx, eax
mov eax, dword [0x6cc904]
mov eax, dword [eax]
call fcn.0051b6e0
push 0xfffffffffffffff0
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x6b4167
test bl, bl
je 0x6b4153
push 5
mov eax, dword [0x6cc904]
mov eax, dword [eax]
call fcn.0051b6e0
push eax
call sub.user32.dll_ShowWindow
jmp 0x6b4167
push 0
mov eax, dword [0x6cc904]
mov eax, dword [eax]
call fcn.0051b6e0
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x6b4218
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd4
mov byte [0x6d57dd], 0
push 0x6b43a4
call sub.kernel32.dll_GetModuleHandleW
mov ebx, eax
push 0x6b43c0
push ebx
call fcn.00414020
mov esi, eax
test esi, esi
je 0x6b42c0
lea eax, [esp + 2]
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x6b42c0
cmp word [esp], 0
je 0x6b42c0
mov byte [0x6d57dd], 1
movzx eax, word [esp + 2]
sub ax, 0x14c
je 0x6b4284
sub ax, 0xb4
je 0x6b4290
sub ax, 0x8464
je 0x6b429c
sub ax, 0x2400
je 0x6b42a8
jmp 0x6b42b4
mov byte [0x6cc739], 1
jmp 0x6b435c
mov byte [0x6cc739], 3
jmp 0x6b435c
mov byte [0x6cc739], 2
jmp 0x6b435c
mov byte [0x6cc739], 4
jmp 0x6b435c
mov byte [0x6cc739], 0
jmp 0x6b435c
push 0x6b43e0
push ebx
call fcn.00414020
test eax, eax
je 0x6b4308
lea edx, [esp + 8]
push edx
call eax
push 0x6b4408
push ebx
call fcn.00414020
mov esi, eax
test esi, esi
je 0x6b4312
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x6b4312
cmp dword [esp + 4], 0
je 0x6b4312
mov byte [0x6d57dd], 1
jmp 0x6b4312
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetSystemInfo
movzx eax, word [esp + 8]
sub ax, 1
jb 0x6b4331
sub ax, 5
je 0x6b433a
sub ax, 3
je 0x6b4343
sub ax, 3
je 0x6b434c
jmp 0x6b4355
mov byte [0x6cc739], 1
jmp 0x6b435c
mov byte [0x6cc739], 3
jmp 0x6b435c
mov byte [0x6cc739], 2
jmp 0x6b435c
mov byte [0x6cc739], 4
jmp 0x6b435c
mov byte [0x6cc739], 0
cmp byte [0x6d57dd], 0
je 0x6b439d
call fcn.0060ad28
test al, al
je 0x6b4396
push 0x6b4428
push ebx
call fcn.00414020
test eax, eax
je 0x6b4396
push 0x6b445c
push 0x6b447c
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00414020
test eax, eax
jne 0x6b439d
mov byte [0x6d57dd], 0
add esp, 0x2c
pop esi
pop ebx
ret

Function at 0x6b4498
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x6b4508
mov edx, 0x80000002
xor eax, eax
call fcn.005c7ce0
test eax, eax
jne 0x6b4501
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x6b455c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x6b44f8
cmp dword [ebp - 0xc], 4
jne 0x6b44f8
cmp dword [ebp - 8], 4
jne 0x6b44f8
movzx eax, word [ebp - 0x10]
mov word [0x6d57f4], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov esp, ebp
pop ebp
ret
Function at 0x6b4704
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffdd0
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x6b47b3
movzx eax, byte [esp + 4]
shl eax, 0x18
movzx edx, byte [esp + 8]
shl edx, 0x10
or eax, edx
movzx edx, word [esp + 0xc]
or eax, edx
mov dword [0x6d57f0], eax
cmp byte [0x6d57dc], 0
je 0x6b47b3
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x6b47a4
mov dword [esp + 0x114], 0x11c
lea eax, [esp + 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x6b47b3
movzx eax, byte [esp + 0x228]
shl eax, 8
movzx edx, byte [esp + 0x22a]
or ax, dx
mov word [0x6d57f4], ax
movzx eax, byte [esp + 0x22e]
mov byte [0x6d57f6], al
movzx eax, word [esp + 0x22c]
mov word [0x6d57f8], ax
jmp 0x6b47b3
cmp eax, 4
jne 0x6b47b3
call fcn.006b4498
call fcn.006b4574
add esp, 0x230
ret

Function at 0x6b5754
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6b57fc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6b5818
push ebx
push 0x6b5828
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040b550
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00407760
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
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.0040b278
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x6b57da
mov eax, dword [0x6cced4]
mov eax, dword [eax + 0x20c]
call fcn.006b56a8
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b5803
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x6b61c8
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6b63b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.005c78b0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0060c170
test al, al
jne 0x6b6235
xor eax, eax
push ebp
push 0x6b622b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.0060c66c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b6235
push 0
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
mov eax, dword [0x6d58d0]
call fcn.0040b278
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x6b6264
mov eax, dword [0x6cced4]
mov eax, dword [eax + 0x208]
call fcn.006b56a8
push 0x80
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x6d1634]
push eax
push 0
mov ecx, 0x6b63c4
mov edx, 0x6b63c8
xor eax, eax
call fcn.00414da0
mov dword [ebp - 8], eax
push 0x6b586c
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x6d58fc], eax
xor eax, eax
push ebp
push 0x6b637f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x6ccec0]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.005c727c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x6b63e4
call fcn.004244f8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.005c715c
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.0040b470
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.006b5754
mov dword [ebp - 0xc], eax
call fcn.006b5830
test al, al
jne 0x6b635f
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x6b633d
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b6386
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x6b7754
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6b7a0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6ccec0]
mov eax, dword [eax]
mov edx, 0x6b7a24
call fcn.005b851c
push 5
mov eax, dword [0x6ccec0]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x6b79d1
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.006ae5e0
lea eax, [ebp - 0x10]
call fcn.005c7728
mov eax, dword [ebp - 0x10]
call fcn.00424020
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.005c727c
mov edx, dword [ebp - 0x14]
mov eax, 0x6d58d0
call fcn.0040a5a8
call fcn.006b5a3c
lea ecx, [ebp - 0x18]
mov edx, 0x6b7a44
mov eax, dword [0x6d58d0]
call fcn.005c525c
mov edx, dword [ebp - 0x18]
mov eax, 0x6d58d4
call fcn.0040a5a8
lea ecx, [ebp - 0x1c]
mov edx, 0x6b7a5c
mov eax, dword [0x6d58d0]
call fcn.005c525c
mov edx, dword [ebp - 0x1c]
mov eax, 0x6d58d8
call fcn.0040a5a8
push 2
push 0
push 1
mov ecx, dword [0x6d58d0]
mov dl, 1
mov eax, dword [0x5cb928]
call fcn.005cc284
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6b78ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.005cc244
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.005cc21c
cmp dword [ebp - 0xc], 0x67734d49
je 0x6b7887
mov cl, 1
xor edx, edx
mov eax, dword [0x6d58d8]
call fcn.005cd988
jmp 0x6b7896
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x6d58d0]
call fcn.005cd988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b78b3
mov eax, dword [ebp - 4]
call fcn.00408444
ret
Function at 0x6b7ba0
Capabilities:
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6b7cdd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x6b7cf8
mov edx, ebx
call fcn.0040b4c8
mov eax, dword [ebp - 0x25c]
call fcn.0040b278
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x6b7cb7
xor eax, eax
push ebp
push 0x6b7cb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x6b7d14
lea eax, [ebp - 0x22c]
mov ecx, 5
call fcn.004241a0
test eax, eax
jne 0x6b7c81
test byte [ebp - 0x258], 0x10
jne 0x6b7c81
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.0040b318
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b4c8
mov esi, dword [ebp - 0x258]
test esi, 1
je 0x6b7c79
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
call fcn.00423a20
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x6b7c11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b7cb7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b7ce4
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.0040a228
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x6b7d20
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6b7e1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0040a1c8
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.005c56f4
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x6b7e38
call fcn.004244f8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov eax, dword [ebp - 8]
call fcn.0040b278
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x6b7dbe
test esi, 0x10
jne 0x6b7dee
test esi, 1
je 0x6b7dbe
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 8]
call fcn.0040b278
push eax
call sub.kernel32.dll_SetFileAttributesW
push 1
mov eax, dword [ebp - 8]
call fcn.0040b278
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040b278
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x6b7de8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040a5a8
jmp 0x6b7dfb
inc edi
cmp edi, 0xa
je 0x6b7dfb
inc ebx
cmp ebx, 0x3e8
jne 0x6b7d5f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b7e25
lea eax, [ebp - 0x14]
call fcn.0040a1c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a228
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x417f70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
jmp 0x417f8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417f91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417f80
mov eax, 1
add ebx, ebx
jne 0x417fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417f98
jne 0x417fb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417f98
xor ecx, ecx
sub eax, 3
jb 0x417fc8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41803a
mov ebp, eax
add ebx, ebx
jne 0x417fd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417fe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x418004
inc ecx
add ebx, ebx
jne 0x417ff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417fe5
jne 0x418001
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417fe5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x418024
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x418015
jmp 0x417f86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x418024
add edi, ecx
jmp 0x417f86
pop esi
mov edi, esi
mov ecx, 0x315
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x418042
cmp byte [edi], 4
jne 0x418042
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 0x418047
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4180bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x418074
mov ecx, edi
jns 0x4180a3
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 + 0x1807c]
or eax, eax
je 0x4180b9
mov dword [ebx], eax
add ebx, 4
jmp 0x418091
call dword [esi + 0x1808c]
mov ebp, dword [esi + 0x18080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4180f3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x438c93
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop ecx
add edx, 0x35e6e459
inc edx
mov ebx, 0x604f08dc
call fcn.00438ccd
add ebx, 0x392121bb
mov ebx, 0x3d5f1d10
dec edx
xor dword [esi], ecx
dec ebx
inc esi
dec edx
add edx, 0xcbd3d85a
cmp esi, eax
jne fcn.00438c93
sub edx, edx
or edx, edx
mov ebx, edx
ret

Function at 0x5ef7dc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5ef7f7
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124b4a1c]
pop edx
test eax, eax
je 0x5ef8c9
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5ef8b8
test dword [ebp - 0x2a8], 1
jne 0x5ef8b8
and dword [ebp - 0x2a8], 0x100
jne 0x5ef8b8
push esi
push edx
push 4
push esi
call dword [edx + 0x122d394a]
pop edx
pop esi
test eax, eax
je 0x5ef85b
jmp 0x5ef8b8
cmp word [esi], 0x5a4d
jne 0x5ef8b8
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5ef8b8
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d3abe]
pop edx
test eax, eax
je 0x5ef8b8
lea eax, [ebp - 0x28c]
push eax
call fcn.005ef738
test eax, eax
jne 0x5ef8b1
jmp 0x5ef8b8
mov eax, esi
jmp 0x5ef8c9
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5ef7f7
pop esi
leave
ret 4