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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408688
cmp edx, dword [eax]
je 0x404e07
add eax, 8
inc ecx
cmp eax, 0x408718
jl 0x404df8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408688]
jne 0x404f35
mov eax, dword [0x408a48]
cmp eax, 1
je 0x404f0f
test eax, eax
jne 0x404e38
cmp dword [0x4085d4], 1
je 0x404f0f
cmp edx, 0xfc
je 0x404f35
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404e6f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004032f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004033f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404eb2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004033f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4065d0
push edi
call fcn.00405720
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004032f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403300
lea eax, [ebp - 0xa0]
push 0x4065b0
push eax
call fcn.00403300
push dword [esi + 0x40868c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403300
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405697
add esp, 0x2c
pop edi
jmp 0x404f35
lea eax, [ebp + 8]
lea esi, [esi + 0x40868c]
push 0
push eax
push dword [esi]
call fcn.004033f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x4110c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417950
push 0x411276
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x41a8c0], 0xffffffff
mov dword [0x41a8d0], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x41a8ac]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x41a8a8]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x41a8b4], ecx
call fcn.004112f0
mov eax, dword [0x41a680]
test eax, eax
jne 0x411151
push 0x4112e0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.004112b0
push 0x41a514
push 0x41a410
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x41a8a4]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x41a8a0]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x41a30c
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [edx]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x41125f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x4111c5
cmp al, 0x22
jne 0x4111b7
cmp byte [esi], 0x22
jne 0x4111ce
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x4111de
cmp al, 0x20
ja 0x4111de
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4111ce
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4111ff
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x411204
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x411244
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x4111ce
inc esi
mov dword [ebp - 0x74], esi
jmp 0x41125f
Function at 0x10016f10
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x224
push ebx
mov al, 0x34
push ebp
push esi
mov byte [esp + 0xd], al
mov byte [esp + 0x12], al
mov byte [esp + 0x15], al
mov byte [esp + 0x1a], al
push edi
lea eax, [esp + 0x2c]
push 0x208
mov bl, 0x56
mov dl, 0x65
mov cl, 0x21
push eax
push 0
mov byte [esp + 0x1c], 0x12
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], 0x78
mov byte [esp + 0x20], 0x87
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x12
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], 0x79
mov byte [esp + 0x28], 0x97
mov byte [esp + 0x29], dl
mov byte [esp + 0x2b], cl
mov dword [0x1011f644], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 3
push 0
push 3
lea ecx, [esp + 0x40]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100170f1
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 2
push 0
push 0xfffffffffffffff8
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x20]
push 0
push edx
lea eax, [esp + 0x2c]
push 8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100170ea
mov ecx, 2
lea edi, [esp + 0x24]
lea esi, [esp + 0x18]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x100170f1
push 2
push edx
push 0xffffffffffffffec
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x2c]
push 8
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100170ea
lea edx, [esp + 0x24]
push 8
push edx
call fcn.1001a080
add esp, 8
mov ecx, 2
lea edi, [esp + 0x24]
lea esi, [esp + 0x10]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x100170ea
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push eax
push 0xffffffffffffffe8
push ebx
call edi
lea ecx, [esp + 0x20]
push 0
push ecx
lea edx, [esp + 0x2c]
push 4
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100170ea
lea eax, [esp + 0x24]
push 4
push eax
call fcn.1001a080
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x240]
add esp, 8
mov dword [esi], eax
push 4
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1011f648], eax
mov ecx, dword [esi]
sub ebp, ecx
push 0
sub ebp, 0x18
push 0
push ebp
push ebx
call edi
mov edx, dword [esi]
mov eax, dword [0x1011f648]
lea ecx, [esp + 0x20]
push 0
push ecx
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esi]
mov edx, dword [0x1011f648]
push ecx
push edx
mov edi, eax
call fcn.1001a080
add esp, 8
test edi, edi
je 0x100170ea
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x224
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x224
ret
Function at 0x10018d7c
Capabilities:
Delete directory

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
xor edi, edi
push 0x64
call esi
mov eax, dword [0x1011ec38]
push eax
call ebx
test eax, eax
jne 0x10018d47
inc edi
cmp edi, 3
jl 0x10018d31
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ebx, ebx
push 0x64
call esi
push 0x1011ea1c
call edi
test eax, eax
jne 0x10018d64
inc ebx
cmp ebx, 3
jl 0x10018d4f
call fcn.10001510
test eax, eax
je 0x10018d7c
push 4
push 0
push 0x1011ea1c
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0x5c
push 0x1011ea1c
call fcn.1001a1d0
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esp, 8
mov byte [eax], 0
xor edi, edi
push 0x64
call esi
push 0x1011ea1c
call ebx
test eax, eax
jne 0x10018dab
inc edi
cmp edi, 3
jl 0x10018d96
pop edi
pop esi
pop ebx
ret

Function at 0x10019c90
Capabilities:
Check for software breakpoints
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x2c], 0x10019980
mov esi, dword [ebp - 0x2c]
mov al, byte [esi]
cmp al, 0xcc
je 0x10019d12
mov dword [ebp - 0x10], 0x10017100
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0xcc
je 0x10019d12
mov dword [ebp - 0x18], 0x10019f10
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
cmp al, 0xcc
je 0x10019d12
mov dword [ebp - 0x24], 0x9e3779b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
test eax, eax
jle 0x10019d78
mov edx, dword [ebp - 8]
sub edx, 0x61c88647
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
shl eax, 4
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 8]
xor eax, ecx
mov edx, dword [ebp - 0x28]
shr edx, 5
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
shl edx, 4
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x1c]
xor edx, ecx
mov eax, dword [ebp - 0x28]
add eax, edx
mov dword [ebp - 0x28], eax
jmp 0x10019d12
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10019d90
Capabilities:
Check for software breakpoints
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x2c], 0x10019980
mov esi, dword [ebp - 0x2c]
mov al, byte [esi]
cmp al, 0xcc
je 0x10019e12
mov dword [ebp - 0x10], 0x10017100
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0xcc
je 0x10019e12
mov dword [ebp - 0x18], fcn.10019d90
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
cmp al, 0xcc
je 0x10019e12
mov dword [ebp - 0x24], 0x9e3779b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0xc6ef3720
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
test eax, eax
jle 0x10019e77
mov edx, dword [ebp - 0x20]
shl edx, 4
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x1c]
xor edx, ecx
mov eax, dword [ebp - 0x28]
sub eax, edx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
shl ecx, 4
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 8]
xor ecx, edx
mov eax, dword [ebp - 0x28]
shr eax, 5
add eax, dword [ebp - 0xc]
xor ecx, eax
mov edx, dword [ebp - 0x20]
sub edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
add eax, 0x61c88647
mov dword [ebp - 8], eax
jmp 0x10019e12
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001a080
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
jbe 0x1001a09e
mov ecx, dword [esp + 4]
push ebx
mov bl, byte [eax + ecx]
xor bl, 0xf5
mov byte [eax + ecx], bl
inc eax
cmp eax, edx
jb 0x1001a08f
pop ebx
ret
Function at 0x1001b3e1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1011c650
cmp edx, dword [eax]
je 0x1001b403
add eax, 8
inc ecx
cmp eax, 0x1011c6e0
jl 0x1001b3f4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1011c650]
jne 0x1001b531
mov eax, dword [0x1011f88c]
cmp eax, 1
je 0x1001b50b
test eax, eax
jne 0x1001b434
cmp dword [0x1011f890], 1
je 0x1001b50b
cmp edx, 0xfc
je 0x1001b531
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1001b46b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1001c7f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1001c8e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1001b4ae
lea eax, [ebp - 0x1a4]
push eax
call fcn.1001c8e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100274d8
push edi
call fcn.1001d110
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1001c7f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1001c800
lea eax, [ebp - 0xa0]
push 0x100274b8
push eax
call fcn.1001c800
push dword [esi + 0x1011c654]
lea eax, [ebp - 0xa0]
push eax
call fcn.1001c800
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1001d085
add esp, 0x2c
pop edi
jmp 0x1001b531
lea eax, [ebp + 8]
lea esi, [esi + 0x1011c654]
push 0
push eax
push dword [esi]
call fcn.1001c8e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10024660
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x114
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x10], edi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x30]
push ecx
push edx
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x100246da
lea eax, [esp + 0x24]
push 0x15
push eax
push str.HIDVid_3689Pid_8762
mov dword [esp + 0x20], 0xc8
call fcn.10026a10
add esp, 0xc
test eax, eax
jne 0x100246da
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x12c]
cmp ecx, eax
je 0x100246ec
mov eax, ecx
inc eax
mov dword [esp + 0x10], eax
inc edi
test esi, esi
je 0x10024685
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
mov edx, dword [esp + 0x130]
mov ecx, dword [0x1011dddc]
mov eax, edx
lea edi, [esp + 0x24]
mov dword [eax], ecx
mov cl, byte [0x1011dde0]
mov byte [eax + 4], cl
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x558750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xfb000]
push edi
jmp 0x55876a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x558771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x558760
mov eax, 1
add ebx, ebx
jne 0x558783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x558794
jne 0x5587b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5587b3
dec eax
add ebx, ebx
jne 0x5587a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x558778
add ebx, ebx
jne 0x5587af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x558805
xor ecx, ecx
sub eax, 3
jb 0x5587cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55883a
sar eax, 1
mov ebp, eax
jmp 0x5587d6
add ebx, ebx
jne 0x5587d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5587a4
inc ecx
add ebx, ebx
jne 0x5587e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5587a4
add ebx, ebx
jne 0x5587f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5587e6
jne 0x558802
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5587e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x558824
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x558816
jmp 0x558766
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x558824
add edi, ecx
jmp 0x558766
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x558842
cmp byte [edi], 0x11
jne 0x558842
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 0x558847
lea edi, [esi + 0x151000]
mov eax, dword [edi]
or eax, eax
je 0x5588bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1caf1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1cb098]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x558874
mov ecx, edi
jns 0x5588a3
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 + 0x1cb09c]
or eax, eax
je 0x5588b9
mov dword [ebx], eax
add ebx, 4
jmp 0x558891
call dword [esi + 0x1cb0ac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5588f0
cmp al, 0xef
ja 0x5588e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5588c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5588d2
mov ebp, dword [esi + 0x1cb0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x558924
sub esp, 0xffffff80
jmp 0x420577
Function at 0x4014d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x47200c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x208
call fcn.0040e025
mov edi, eax
add esp, 4
movzx eax, word [ebx]
xor ecx, ecx
mov edx, ebx
test ax, ax
je 0x401513
mov esi, eax
mov word [edi + ecx*2], si
lea edx, [edx + 2]
movzx esi, word [edx]
inc ecx
test si, si
jne 0x401503
movzx eax, word [edi + ecx*2 - 2]
cmp eax, 0x5c
je 0x40152a
cmp eax, 0x2f
je 0x40152a
xor eax, eax
mov word [edi + ecx*2], ax
jmp 0x401531
xor eax, eax
mov word [edi + ecx*2 - 2], ax
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.0042a1cf
add esp, 8
test eax, eax
jne 0x40158c
test dword [ebp - 0x36], 0x8000
je 0x40160b
mov ecx, str.JNSaaaaamm_09_CP_flv__7CQR_aeiw_08__FUbds_9_CO__adjp____7DNUcgrz.79_CMT_ckqx6HIUYY_hkp18_HS_eo_69_NTZijy_119EJO_eot___0_JX_bfitxz0KPivw__189CNOY_kr_.
call fcn.0040dd00
push eax
push ecx
mov ecx, str.HViiiiis___BCQ_mxy_.4_KQdgmv469:B
call fcn.0040dd00
add esp, 4
push eax
call fcn.00401110
push edi
call fcn.0040de1e
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040de0d
mov esp, ebp
pop ebp
ret 4
push 0x208
call fcn.0040e025
add esp, 4
mov esi, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], esi
push eax
push ecx
mov ecx, ebx
call fcn.004016c0
add esp, 8
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x401602
mov ecx, str.ELPVVVVV_elpv3:CMQX_oqw_8_CGQV_hsw_5_FTVciv_2AMWfn_08CDELYfmv____34BFIOS_hqu_2_FHUcm_1:BIUgly_5BJO_ju___CELOPX_bhlpw
call fcn.0040dd00
push eax
push ecx
mov ecx, str.HViiiiis___BCQ_mxy_.4_KQdgmv469:B
call fcn.0040dd00
add esp, 4
push eax
call fcn.00401110
push edi
call fcn.0040de1e
add esp, 0xc
push esi
call fcn.0040de1e
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040de0d
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.0040de1e
add esp, 4
push edi
call fcn.0040de1e
mov ecx, dword [ebp - 8]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0040de0d
mov esp, ebp
pop ebp
ret 4

Function at 0x401630
Capabilities:
Get common file path

Disassembly:
push 0x104
push 0
push 0x474810
call fcn.004269e0
add esp, 0xc
push 0x474810
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, 0x474810
ret

Function at 0x401660
Capabilities:
Get common file path

Disassembly:
push 0x104
push 0
push 0x474810
call fcn.004269e0
add esp, 0xc
push 0x474810
push 0
push 0
push 0xb
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, 0x474810
ret

Function at 0x401690
Capabilities:
Get common file path

Disassembly:
push 0x104
push 0
push 0x474810
call fcn.004269e0
add esp, 0xc
push 0x474810
push 0
push 0
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, 0x474810
ret
Function at 0x401a40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447d3a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x47200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.0040efab
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x401b00
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00425ebf
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x470d60
push eax
call fcn.00426b3a
push edi
push esi
call fcn.004125bb
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040de0d
mov esp, ebp
pop ebp
ret 4

Function at 0x402d50
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x47200c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x402d7b
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040de0d
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x218]
mov dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x402d6a
mov ecx, str.OYYcccccdnow.:EHU_n_.7_AHJKUVZZcmtt
call fcn.0040dbf0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042ca24
add esp, 8
test eax, eax
je 0x402dbb
xor ecx, ecx
mov word [eax + 2], cx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
push 0
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x402d6a
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.0040de0d
mov esp, ebp
pop ebp
ret