joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d18
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x403d45
mov ecx, dword [0x424090]
push edi
add eax, ecx
push edi
push eax
mov dword [0x417600], eax
push dword [0x409094]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.00403e43
cmp eax, edi
jl 0x403e3c
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp + 8]
push esi
push eax
push dword [0x409094]
call ebx
test eax, eax
je 0x403e39
cmp dword [ebp - 4], esi
jne 0x403e39
push dword [ebp + 8]
add dword [0x417600], esi
call fcn.00403e43
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x403e3c
cmp dword [ebp + 0x10], edi
jne 0x403e08
cmp dword [ebp + 8], edi
jle 0x403e34
mov esi, 0x4135bc
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x403db8
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push edi
push esi
push dword [0x409094]
call ebx
test eax, eax
je 0x403e39
cmp edi, dword [ebp - 4]
jne 0x403e39
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403e04
cmp dword [ebp + 0x14], edi
jne 0x403e04
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x417600], eax
cmp dword [ebp + 8], 0
jg 0x403dab
jmp 0x403e34
push 0xfffffffffffffffe
jmp 0x403e3b
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403e13
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x409094]
call ebx
test eax, eax
je 0x403e39
mov eax, dword [ebp - 4]
add dword [0x417600], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x403e3c
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x403e43
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x417600]
mov ebx, eax
sub esi, dword [0x40b564]
add ebx, 0x1f4
add esi, dword [esp + 0x38]
cmp esi, edi
jle 0x40402a
push dword [0x41f60c]
call fcn.0040406d
push edi
push edi
push dword [0x40b564]
push dword [0x409094]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41f608], esi
mov dword [0x4175fc], edi
mov eax, dword [0x417604]
mov ebp, 0x4000
sub eax, dword [0x41f60c]
cmp eax, ebp
jg 0x403eb7
mov ebp, eax
mov esi, 0x4135bc
push ebp
push esi
call fcn.0040403b
test eax, eax
je 0x404002
add dword [0x41f60c], ebp
mov dword [0x40b580], esi
mov dword [0x40b584], ebp
cmp dword [0x424048], edi
je 0x403f75
cmp dword [0x4240bc], edi
jne 0x403f75
cmp dword [esp + 0x10], edi
je 0x403f42
mov eax, dword [0x41f608]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
sub eax, dword [0x417600]
push 1
push edi
push edi
sub eax, dword [esp + 0x44]
push edi
add eax, dword [0x40b564]
mov dword [0x4175fc], eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x403f75
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push edi
push edi
lea eax, [esp + 0x24]
push edi
push eax
jmp 0x403f25
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jbe 0x403f75
mov eax, dword [0x424044]
neg eax
sbb eax, eax
not eax
and eax, str.unpacking_data:__d__
push eax
push 0x40393a
push edi
push 0x6f
push dword [0x424040]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [esp + 0x10], eax
push 0x40b568
mov dword [0x40b588], 0x40b5bc
mov dword [0x40b58c], 0x8000
call fcn.00401ce6
test eax, eax
jl 0x404036
mov esi, dword [0x40b588]
mov eax, 0x40b5bc
sub esi, eax
je 0x403fdc
lea ecx, [esp + 0x14]
push edi
push ecx
push esi
push eax
push dword [0x409094]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x404007
cmp esi, dword [esp + 0x14]
jne 0x404007
add dword [0x40b564], esi
cmp dword [0x40b584], edi
jne 0x403edd
jmp 0x403fe8
cmp dword [0x40b584], edi
jne 0x404036
cmp ebp, edi
je 0x404036
mov eax, dword [0x417600]
mov ecx, eax
sub ecx, dword [0x40b564]
add ecx, dword [esp + 0x38]
test ecx, ecx
jle 0x40400b
jmp 0x403ea1
or eax, 0xffffffff
jmp 0x40402c
push 0xfffffffffffffffe
jmp 0x404038
push edi
push edi
push eax
push dword [0x409094]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x10], edi
je 0x40402a
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
push 0xfffffffffffffffd
pop eax
jmp 0x40402c
Function at 0x40463e
Capabilities:
Identify system language via api

Disassembly:
push ecx
cmp byte [0x42b000], 0
push ebx
push ebp
push esi
push edi
mov ebx, 0xffff
mov ebp, 0x42b000
je 0x40465e
push ebp
call fcn.004069d7
jmp 0x404664
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [esp + 0x10], eax
xor edi, edi
mov esi, dword [0x424084]
mov eax, esi
dec esi
test eax, eax
je 0x4046c0
mov eax, dword [0x424048]
mov ecx, dword [eax + 0x5c]
mov edx, ecx
imul ecx, esi
neg edx
add ecx, dword [0x424080]
mov ax, word [esp + 0x10]
mov edi, ecx
xor ax, word [ecx]
and eax, ebx
test ax, ax
je 0x4046a8
mov eax, esi
dec esi
add ecx, edx
test eax, eax
jne 0x40468c
jmp 0x4046c0
mov eax, dword [edi + 2]
mov dword [0x423820], eax
mov eax, dword [edi + 6]
mov dword [0x4240c4], eax
lea eax, [edi + 0xa]
mov dword [0x42381c], eax
cmp dword [0x42381c], 0
jne 0x4046db
cmp bx, 0xffff
jne 0x4046d7
mov ebx, 0x3ff
jmp 0x40466a
xor ebx, ebx
jmp 0x40466a
movzx eax, word [edi]
push eax
push ebp
call fcn.004069be
push 0xfffffffffffffffe
push 0x423840
call fcn.00406a7f
push eax
push dword [0x420a20]
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40640c
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0xc]
mov dword [0x422248], 0x44
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x406430
test al, 0x10
jne 0x406433
mov dword [ebp + 0xc], ecx
lea eax, [ebp - 0x10]
push eax
push 0x422248
push dword [ebp + 0xc]
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40645e
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x4064ed
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00406642
test eax, eax
je 0x406552
test byte [ebp + 0xc], 1
je 0x40653a
mov eax, dword [0x424044]
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
call fcn.00406a72
and byte [eax + esi + 1], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], esi
push eax
mov word [ebp - 0x10], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
jmp 0x406552
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x406552
test byte [ebp + 0xc], 2
je 0x406552
push eax
push esi
call fcn.0040679d
pop esi
leave
ret 8
Function at 0x406642
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x421e48
push esi
call fcn.00406a61
push esi
call fcn.004065f1
test eax, eax
jne 0x406661
xor eax, eax
jmp 0x4066aa
test byte [0x424050], 0x80
je 0x406675
mov cl, byte [eax]
test cl, cl
je 0x40665d
cmp cl, 0x5c
je 0x40665d
mov edi, eax
sub edi, esi
push esi
call fcn.00406a72
cmp eax, edi
push esi
jle 0x40669a
call fcn.00406d76
test eax, eax
je 0x406692
test byte [eax], 0x10
je 0x40665d
push esi
call fcn.0040659f
jmp 0x406679
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x406725
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x406754
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x63
pop edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x406799
mov eax, edi
dec edi
test eax, eax
jne 0x40675f
and byte [esi], al
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x406793
Function at 0x40679d
Capabilities:
Get common file path
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov esi, dword [esp + 0x18]
je 0x4067d5
push str.MoveFileExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4067d5
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x40691a
mov eax, dword [0x409458]
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
mov dword [0x422bd0], eax
mov edi, 0x400
mov ebp, 0x422bd0
je 0x406819
push 1
push 0
push esi
call fcn.00406725
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406920
cmp eax, edi
jg 0x406920
mov esi, 0x4227d0
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406920
cmp eax, edi
jg 0x406920
push esi
push ebp
push str._s_s_r_n
push 0x4223d0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebp, eax
push 0x3f0
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.wininit.ini
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor edi, edi
push edi
push 0x8000080
push 4
push edi
push edi
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40691a
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push edi
lea eax, [esi + ebp + 0xa]
push eax
push edi
push 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x406902
push edi
push edi
push edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x4068f6
push str._Rename__r_n
push edi
call fcn.004066af
test eax, eax
jne 0x406927
lea eax, [edi + esi]
push str._Rename__r_n
push eax
call fcn.00406a61
add esi, 0xa
mov eax, esi
push ebp
add eax, edi
push 0x4223d0
push eax
call fcn.004066fb
push edi
add esi, ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
push edi
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x4240b0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x409430
push eax
call fcn.004066af
test eax, eax
je 0x4068dd
inc eax
lea edx, [edi + esi]
cmp eax, edx
mov ecx, eax
jae 0x406950
mov dl, byte [ecx]
mov byte [ecx + ebp], dl
inc ecx
lea edx, [edi + esi]
cmp ecx, edx
jb 0x406943
sub eax, edi
jmp 0x4068df
Function at 0x434000
Capabilities:
Accept command line arguments
Access peb ldr_data
Copy file
Delete file
Encode data using base64
Get common file path
Get ntdll base address
Resolve function by parsing pe exports
Terminate process

Disassembly:
call 0x434005
pop ebx
sub ebx, 0x400205
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov edi, dword [edi + 0x1c]
mov edi, dword [edi]
mov edi, dword [edi + 8]
mov dword [ebx + 0x4003c2], edi
mov esi, edi
add esi, dword [esi + 0x3c]
mov esi, dword [esi + 0x78]
add esi, edi
push esi
mov ebp, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
add esi, edi
xor edx, edx
push esi
mov edi, dword [esi]
add edi, dword [ebx + 0x4003c2]
lea esi, [ebx + 0x400387]
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
jne 0x434057
pop esi
mov edx, esi
pop esi
jmp 0x434068
pop esi
add esi, 4
inc edx
cmp edx, ebp
jb 0x434039
sub esp, 4
jmp 0x434182
sub edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x4003c2]
sub edx, eax
shr edx, 1
add edx, dword [esi + 0x24]
add edx, eax
movzx eax, word [edx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebx + 0x4003c2]
mov eax, dword [eax]
add eax, dword [ebx + 0x4003c2]
mov edi, eax
mov ebp, esp
mov edx, dword [ebx + 0x4003c2]
lea eax, [ebx + 0x400396]
push eax
push edx
call edi
sub esp, 0x104
push esp
push 0x104
call eax
lea eax, [ebx + 0x4003a3]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
lea ecx, [ebx + 0x4003ac]
push ecx
mov ecx, esp
add ecx, 4
push ecx
call eax
lea eax, [ebx + 0x4003b6]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
mov ecx, esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call eax
mov esi, eax
lea ecx, [ebx + 0x4003ed]
push ecx
push ecx
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
pop ecx
push 0
push ecx
add ecx, 0xa
mov edx, dword [ecx]
push edx
push ecx
mov edx, 0x905a4d
mov dword [ecx], edx
push esi
call eax
lea eax, [ebx + 0x4003d5]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
push esi
call eax
lea eax, [ebx + 0x4003c6]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
sub esp, 0x44
mov edx, esp
mov esi, 0
mov ecx, 0x11
mov dword [edx], esi
add edx, 4
loop 0x434153
mov edx, 0x44
mov dword [esp], edx
sub esp, 0x10
mov edx, esp
push esp
add edx, 0x10
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
add edx, 0x44
push edx
call eax
mov esp, ebp
jmp fcn.004040b8

Function at 0x421740
Capabilities:
Encode data using xor

Disassembly:
xor dl, dl
mov dl, byte [edi]
xor dl, bl
mov byte [edi], dl
inc edi
cmp edi, ecx
jne fcn.00421740
ret
Function at 0x433a01
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00426e53
and dword [ebp - 0x14], 0
cmp dword [0x444984], 0
mov dword [ebp - 0x18], eax
jne 0x433ab4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x433b5c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x433b5c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x444984], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x444988], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44498c], eax
call edi
push eax
call esi
mov dword [0x444994], eax
test eax, eax
je 0x433ab4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x444990], eax
mov eax, dword [0x444990]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x433b0d
cmp dword [0x444994], ecx
je 0x433b0d
push eax
call esi
push dword [0x444994]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x433b0d
test ebx, ebx
je 0x433b0d
call edi
test eax, eax
je 0x433b04
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x433b04
test byte [ebp - 8], 1
jne 0x433b0d
or dword [ebp + 0x10], 0x200000
jmp 0x433b40
mov eax, dword [0x444988]
cmp eax, dword [ebp - 0x18]
je 0x433b40
push eax
call esi
test eax, eax
je 0x433b40
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x433b40
mov eax, dword [0x44498c]
cmp eax, dword [ebp - 0x18]
je 0x433b40
push eax
call esi
test eax, eax
je 0x433b40
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x444984]
call esi
test eax, eax
je 0x433b5c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x433b5e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420bc6
leave
ret

Function at 0x408948
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop edi
sub ecx, 1
call fcn.00408991
sub eax, 0x77355dca
mov eax, 0xd730af5d
xor dword [esi], edi
add ecx, 0x48b731ef
add eax, 0x731db446
inc esi
sub esp, 4
mov dword [esp], 0xf5a758cb
pop ecx
mov ecx, eax
cmp esi, edx
jne fcn.00408948
sub ecx, 0x23e1ae6b
inc eax
ret
Function at 0x4f7360
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa1000]
push edi
or ebp, 0xffffffff
jmp 0x4f7382
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f7389
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f7378
mov eax, 1
add ebx, ebx
jne 0x4f739b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f73ac
jne 0x4f73cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f73cb
dec eax
add ebx, ebx
jne 0x4f73b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f7390
add ebx, ebx
jne 0x4f73c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f741d
xor ecx, ecx
sub eax, 3
jb 0x4f73e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f7452
sar eax, 1
mov ebp, eax
jmp 0x4f73ee
add ebx, ebx
jne 0x4f73ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f73bc
inc ecx
add ebx, ebx
jne 0x4f73fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f73bc
add ebx, ebx
jne 0x4f7409
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f73fe
jne 0x4f741a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f73fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f743c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f742e
jmp 0x4f737e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f743c
add edi, ecx
jmp 0x4f737e
pop esi
mov edi, esi
mov ecx, 0x7ae4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f745a
cmp byte [edi], 0x1e
jne 0x4f745a
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 0x4f745f
lea edi, [esi + 0xf4000]
mov eax, dword [edi]
or eax, eax
je 0x4f74d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfea1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfeb34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f748c
mov ecx, edi
jns 0x4f74bb
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 + 0xfeb38]
or eax, eax
je 0x4f74d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4f74a9
call dword [esi + 0xfeb40]
mov ebp, dword [esi + 0xfeb3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4f750b
sub esp, 0xffffff80
jmp 0x486da9
Function at 0x4681ec
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00468063

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x54e390
Capabilities:
Encode data using xor

Disassembly:
fdivr qword [edx - 0x62]
clc
imul esp, ebx, 0xffffffc4
in eax, dx
stosb byte es:[edi], al
xor eax, 0xf716afc2
sub al, 0xaf
mov ebx, 0xae7f6571
xchg edi, eax
inc esi
in al, 0x91
lodsd eax, dword [esi]
pop ebp
xor eax, 0x76a50630
or dh, ah
jae 0x54e394
retf