joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43eb68
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x43ebfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004044d8
lea eax, [ebp - 4]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00406aa8
test eax, eax
je 0x43ebe5
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404748
lea edx, [ebp - 0x110]
mov eax, dword [ebx]
call fcn.0040c754
mov edx, dword [ebp - 0x110]
mov eax, ebx
call fcn.0040452c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ec05
lea eax, [ebp - 0x110]
call fcn.004044d8
ret

Function at 0x43ec0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43ec9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, 0x29
call fcn.0043eb68
mov eax, dword [ebx]
call fcn.004084fc
test al, al
jne 0x43ec6c
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jbe 0x43ec6c
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404748
lea edx, [ebp - 0x10c]
mov eax, dword [ebx]
call fcn.0040c754
mov edx, dword [ebp - 0x10c]
mov eax, ebx
call fcn.0040452c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43eca6
lea eax, [ebp - 0x10c]
call fcn.004044d8
ret

Function at 0x43ecac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43ed3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, 0x24
call fcn.0043eb68
mov eax, dword [ebx]
call fcn.004084fc
test al, al
jne 0x43ed0c
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
jbe 0x43ed0c
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404748
lea edx, [ebp - 0x10c]
mov eax, dword [ebx]
call fcn.0040c754
mov edx, dword [ebp - 0x10c]
mov eax, ebx
call fcn.0040452c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ed46
lea eax, [ebp - 0x10c]
call fcn.004044d8
ret

Function at 0x43ed4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43edc4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404748
lea edx, [ebp - 0x10c]
mov eax, dword [ebx]
call fcn.0040c754
mov edx, dword [ebp - 0x10c]
mov eax, ebx
call fcn.0040452c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43edcb
lea eax, [ebp - 0x10c]
call fcn.004044d8
ret
Function at 0x43ef28
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x43ef30
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43f08b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
lea edx, [ebp - 0x14]
mov eax, 0x43f0a0
call fcn.0043cf64
mov eax, dword [ebp - 0x14]
call fcn.00404998
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x43ef83
mov dword [ebp - 4], 0xaacd2aec
lea edx, [ebp - 0x10]
mov eax, 0x43f0ac
call fcn.0043cf64
lea edx, [ebp - 0x18]
mov eax, 0x43f0b8
call fcn.0043cf64
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, 0x58
xor edx, edx
div ecx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x1c]
mov eax, 8
call fcn.004080bc
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
shr eax, 4
movzx eax, ax
mov edx, 4
call fcn.00408094
push dword [ebp - 0x20]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
shr eax, 4
call fcn.00406a54
movzx eax, ax
lea ecx, [ebp - 0x24]
mov edx, 4
call fcn.00408094
push dword [ebp - 0x24]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
shr eax, 5
call fcn.00406a54
movzx eax, ax
lea ecx, [ebp - 0x28]
mov edx, 4
call fcn.00408094
push dword [ebp - 0x28]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
shl eax, 6
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x2c]
mov eax, 8
call fcn.004080bc
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 4]
shr eax, 5
movzx eax, ax
mov edx, 4
call fcn.00408094
push dword [ebp - 0x30]
lea edx, [ebp - 0x34]
mov eax, 0x43f0c4
call fcn.0043cf64
push dword [ebp - 0x34]
mov eax, ebx
mov edx, 0xc
call fcn.00404858
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f092
lea eax, [ebp - 0x34]
mov edx, 0xa
call fcn.004044fc
ret

Function at 0x43f190
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffac
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x44
call fcn.00402fe0
lea eax, [esp + 0x44]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fe0
mov dword [esp], 0x44
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
push edi
push 0
push 0x20
push 0
push 0
push 0
push esi
push ebx
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x54
pop edi
pop esi
pop ebx
ret
Function at 0x43f1ec
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43f352
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, edi
call fcn.004044d8
lea eax, [ebp - 0x24]
push eax
mov eax, ebx
call fcn.00404998
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43f32f
mov eax, dword [ebp - 0xc]
call fcn.00402728
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x43f327
xor eax, eax
push ebp
push 0x43f31d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x43f360
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43f313
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
mov edx, 4
call fcn.00408094
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00406a54
movzx eax, ax
lea ecx, [ebp - 0x18]
mov edx, 4
call fcn.00408094
push 0x43f384
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x43f3a0
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404858
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.004047e4
mov eax, dword [ebp - 0x28]
call fcn.00404998
push eax
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43f313
mov eax, edi
mov edx, dword [ebp - 0x20]
call fcn.004046d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43f327
mov eax, dword [ebp - 8]
call fcn.00402748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f359
lea eax, [ebp - 0x28]
call fcn.004044d8
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004044fc
ret
Function at 0x43f43c
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x43f534
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, edi
call fcn.004044d8
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.00404998
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
jne 0x43f4a9
lea eax, [ebp - 0x14]
call fcn.0043eae0
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.0040452c
jmp 0x43f510
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x43f418]
call fcn.00405888
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jb 0x43f4e4
inc eax
xor ecx, ecx
mov ebx, dword [ebp - 0x10]
add ebx, ecx
push ebx
mov bl, byte [edx]
xor bl, 0xff
pop edi
mov byte [edi], bl
inc edx
inc ecx
dec eax
jne 0x43f4d1
push 0
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f53b
lea eax, [ebp - 0x14]
call fcn.004044d8
lea eax, [ebp - 0x10]
mov edx, dword [0x43f418]
call fcn.00405894
ret
Function at 0x440084
Capabilities:
Parse pe header
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 1], cl
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x440257
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.00404998
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x44023b
push 0
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
je 0x440235
push 0
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0x4c]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x440235
cmp word [ebp - 0x4c], 0x5a4d
jne 0x440235
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push esi
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
je 0x440235
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x144]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x440235
cmp dword [ebp - 0x144], 0x4550
jne 0x440235
call sub.kernel32.dll_GetCurrentProcessId
add eax, 0x7c6
mov edx, dword [ebp - 0x11c]
xor edx, 0x50485e00
movzx ecx, word [ebp - 0x13e]
xor edx, ecx
xor edi, edx
xor eax, edi
mov dword [ebp - 0x13c], eax
call fcn.00402a90
mov eax, 9
call fcn.00403000
mov word [ebp - 0x100], ax
mov eax, 9
call fcn.00403000
mov word [ebp - 0xfe], ax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push esi
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
je 0x4401d9
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x144]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
cmp byte [ebp - 1], 0
je 0x440235
mov eax, 0x200
call fcn.00403000
mov edi, eax
shl edi, 4
test edi, edi
jle 0x440235
push 2
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
je 0x440235
push edi
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x440060]
call fcn.00405888
add esp, 4
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.00406a60
push 0
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44025e
lea eax, [ebp - 0xc]
mov edx, dword [0x440060]
call fcn.00405894
ret
Function at 0x443f48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443fc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004044d8
mov eax, dword [ebp - 4]
call fcn.00404798
mov esi, eax
test esi, esi
jle 0x443faf
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov bl, byte [eax + edx - 1]
xor bl, byte [ebp - 5]
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004046c0
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.004047a0
inc dword [ebp - 0xc]
dec esi
jne 0x443f88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443fcc
lea eax, [ebp - 0x10]
call fcn.004044d8
ret
Function at 0x445d60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x445d68
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x445f57
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push esi
call sub.kernel32.dll_GlobalFindAtomA
mov word [0x524f56], ax
cmp word [0x524f56], 0
jne 0x445f1e
call fcn.00402a90
mov eax, dword [0x523910]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
call fcn.00403000
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
mov eax, dword [0x523910]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
call fcn.0043dd58
push dword [ebp - 0x1c]
push 0x445f70
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404858
mov eax, dword [ebp - 8]
call fcn.0040868c
test al, al
jne 0x445e0a
lea eax, [ebp - 8]
mov edx, dword [0x523c64]
mov edx, dword [edx]
call fcn.00404570
lea edx, [ebp - 0x10]
mov eax, dword [0x523d34]
mov eax, dword [eax]
call fcn.004085a4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00440268
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
call fcn.00404570
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004047e4
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404998
mov edi, eax
push edi
mov eax, dword [0x523d34]
mov eax, dword [eax]
call fcn.00404998
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x445ee6
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00440084
push esi
call sub.kernel32.dll_GlobalAddAtomA
mov word [0x524f56], ax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00408570
mov eax, dword [ebp - 0x24]
call fcn.00404998
push eax
mov eax, edi
xor edx, edx
pop ecx
call fcn.0043f190
test al, al
je 0x445eae
mov ebx, 1
call fcn.00404344
jmp 0x445f2f
lea edx, [ebp - 0x28]
mov eax, 0x445f7c
call fcn.0043cf64
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
call fcn.0043eae0
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.004047a0
mov eax, dword [ebp - 0x28]
call fcn.0043edd0
mov ax, word [0x524f56]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
jmp 0x445f2f
lea edx, [ebp - 0x30]
mov eax, 0x445f94
call fcn.0043cf64
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
call fcn.0043eae0
mov edx, dword [ebp - 0x34]
pop eax
call fcn.004047a0
mov eax, dword [ebp - 0x30]
call fcn.0043edd0
mov ax, word [0x524f56]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
jmp 0x445f2f
mov ax, word [0x524f56]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
mov ebx, 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445f5e
lea eax, [ebp - 0x34]
mov edx, 8
call fcn.004044fc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044fc
ret
Function at 0x4b8e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x76000]
push edi
jmp 0x4b8e8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b8e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8e80
mov eax, 1
add ebx, ebx
jne 0x4b8ea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b8eb4
jne 0x4b8ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8ed3
dec eax
add ebx, ebx
jne 0x4b8ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b8e98
add ebx, ebx
jne 0x4b8ecf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b8f25
xor ecx, ecx
sub eax, 3
jb 0x4b8eeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b8f5a
sar eax, 1
mov ebp, eax
jmp 0x4b8ef6
add ebx, ebx
jne 0x4b8ef6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8ec4
inc ecx
add ebx, ebx
jne 0x4b8f04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8ec4
add ebx, ebx
jne 0x4b8f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b8f06
jne 0x4b8f22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b8f06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b8f44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b8f36
jmp 0x4b8e86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b8f44
add edi, ecx
jmp 0x4b8e86
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b8f62
cmp byte [edi], 0x13
jne 0x4b8f62
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 0x4b8f67
lea edi, [esi + 0xb4000]
mov eax, dword [edi]
or eax, eax
je 0x4b8fdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbffec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc0140]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b8f94
mov ecx, edi
jns 0x4b8fc3
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 + 0xc0144]
or eax, eax
je 0x4b8fd9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b8fb1
call dword [esi + 0xc0154]
mov ebp, dword [esi + 0xc0148]
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 0x4b9013
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x4159e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov edx, dword [esp + 0x20]
or ecx, 0xffffffff
push ebx
push ebp
push esi
mov eax, dword [edx + 8]
xor ebp, ebp
push edi
mov dword [esp + 0x14], 0
lea edi, [edx + 8]
lea esi, [eax*8 + 8]
test esi, esi
je 0x415a2a
nop dword [eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x410650]
sub esi, 1
jne 0x415a10
mov eax, dword [edx + 4]
cmp ecx, eax
je 0x415a60
or dword [0x41b020], 0x20000400
push eax
push ecx
push 0x417618
push 1
push 0x41b030
mov dword [edx + 8], ebp
mov dword [edx], ebp
call fcn.0040bed0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov edi, dword [edx]
mov dword [edx], ebp
test edi, edi
je 0x415bb7
xor esi, esi
nop
mov eax, ebp
mov dword [esp + 0x18], 0
inc ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp eax, 0x400
jae 0x415b98
push 0x10
lea eax, [esp + 0x1c]
mov ecx, 0x41fe30
push eax
push edi
call fcn.0040cf70
test eax, eax
je 0x415b84
mov eax, dword [esp + 0x20]
cmp eax, 0x1000
ja 0x415b5f
lea ebx, [eax*8 + 0x10]
push ebx
call fcn.00418bfb
add esp, 4
mov esi, eax
push ebx
test esi, esi
je 0x415b45
push esi
push edi
mov ecx, 0x41fe30
call fcn.0040cf70
test eax, eax
je 0x415b36
mov ecx, esi
call fcn.00415bd0
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x415b16
mov edx, dword [esp + 0x30]
mov dword [esp + 0x30], esi
mov dword [edx], esi
mov eax, dword [esi]
mov dword [esi], 0
mov esi, eax
mov dword [esp + 0x14], eax
jmp 0x415b84
or dword [0x41b020], 0x20000400
push ecx
push eax
push 0x417748
push 1
push 0x41b030
call fcn.0040bed0
add esp, 0x14
push esi
call fcn.004186dd
mov esi, dword [esp + 0x18]
add esp, 4
jmp 0x415b84
push 0x4172a8
push 1
push 0x41b030
call fcn.0040bed0
mov esi, dword [esp + 0x24]
add esp, 0x10
jmp 0x415b84
or dword [0x41b020], 0x20000800
push 0x1000
push eax
push edi
push 0x4177e0
push 1
push 0x41b030
call fcn.0040bed0
add esp, 0x18
mov edi, esi
test esi, esi
jne 0x415a70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
or dword [0x41b020], 0x20000800
push ebp
push 0x4176a0
push 1
push 0x41b030
call fcn.0040bed0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8

Function at 0x415bd0
Capabilities:
Encode data using xor

Disassembly:
lea edx, [ecx + 8]
or eax, 0xffffffff
mov ecx, dword [edx]
push esi
lea esi, [ecx*8 + 8]
test esi, esi
je 0x415bfe
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x410650]
sub esi, 1
jne 0x415be4
pop esi
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
jmp 0x45a862
push 0x14
push 0x47b680
call fcn.0045abf0
push 1
call fcn.0045a448
pop ecx
test al, al
jne 0x45a719
push 7
call fcn.0045af0c
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0045a413
mov byte [ebp - 0x24], al
mov eax, dword [0x8ab5a4]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x45a712
test eax, eax
jne 0x45a783
mov dword [0x8ab5a4], ecx
push 0x46c420
push 0x46c408
call fcn.0046058a
pop ecx
pop ecx
test eax, eax
je 0x45a766
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x45a85c
push 0x46c404
push 0x46c3b0
call fcn.0046052e
pop ecx
pop ecx
mov dword [0x8ab5a4], 2
jmp 0x45a788
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0045a5a2
pop ecx
call fcn.0045b1fa
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x45a7b8
push esi
call fcn.0045a518
pop ecx
test al, al
je 0x45a7b8
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0045abe7
call esi
call fcn.0045b200
mov esi, eax
cmp dword [esi], edi
je 0x45a7d6
push esi
call fcn.0045a518
pop ecx
test al, al
je 0x45a7d6
push dword [esi]
call fcn.0045f99a
pop ecx
call fcn.0045b027
movzx eax, ax
push eax
call fcn.004604db
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0045b05a
test al, al
jne 0x45a801
push esi
call fcn.0045f9d2
test bl, bl
jne 0x45a80a
call fcn.0045f975
push edi
push 1
call fcn.0045a5bf
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x45a85c
call fcn.0045ac36
ret
call fcn.0045b0f3
jmp 0x45a6fa
Function at 0x4044d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x404503
call fcn.004042d0
test eax, eax
je 0x404503
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.004042b0
mov eax, dword [ebp - 8]
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x404550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jae 0x404566
xor eax, eax
mov esp, ebp
pop ebp
ret
call fcn.004042d0
cmp eax, 7
jb 0x404560
mov edx, 7
lea ecx, [ebp - 0x10]
call fcn.004042b0
mov eax, dword [ebp - 0xc]
shr eax, 0x1d
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4047f0
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x8a7674]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x404839
push str.SetDefaultDllDirectories
push 0x46c5d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x404839
push 0xc00
call eax
test eax, eax
jne 0x4048d7
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4048d7
cmp eax, 0x104
ja 0x4048d7
cmp word [ebp + eax*2 - 0x2d6], 0x5c
je 0x404877
mov ecx, 0x5c
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
cmp byte [str.userenv], 0
push esi
mov esi, str.userenv
je 0x4048d6
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + eax*2]
mov al, byte [esi]
mov ecx, edi
inc esi
test al, al
je 0x4048b0
movzx eax, al
mov word [ecx], ax
add ecx, 2
mov al, byte [esi]
inc esi
test al, al
jne 0x4048a0
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
cmp byte [esi], 0
jne 0x404897
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00459e12
mov esp, ebp
pop ebp
ret