joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60be50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6318d6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov ecx, esi
call fcn.005330f0
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x60bf23
fld qword [esi + 0x28]
fld qword [0x644fb0]
fmul st(1), st(0)
fxch st(1)
call fcn.005fbb60
fmul qword [esi + 0x20]
mov edi, eax
call fcn.005fbb60
push 0x40
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x30], eax
xor edi, edi
mov dword [esp + 0x28], edi
cmp eax, edi
je 0x60bedb
mov ecx, eax
call fcn.005331a0
mov edi, eax
mov eax, dword [esi + 0x38]
fld qword [esi + 0x30]
fmul qword [0x634650]
push eax
fnstcw word [esp + 0x34]
movzx eax, word [esp + 0x34]
or eax, 0xc00
mov dword [esp + 0x14], eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
fldcw word [esp + 0x14]
fistp qword [esp + 0x14]
mov ecx, dword [esp + 0x14]
push ecx
push ebp
fldcw word [esp + 0x3c]
push edx
push ebx
mov ecx, edi
call fcn.00533800
jmp 0x60bf54
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], 1
test eax, eax
je 0x60bf48
push ebp
push ebx
mov ecx, eax
call fcn.00532c30
jmp 0x60bf4a
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov edi, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [ebx]
jne 0x60bf63
mov ecx, dword [esi + 0x10]
cmp ecx, dword [ebx + 4]
je 0x60bf6c
mov eax, dword [esp + 0xc]
and eax, 0xfffffffe
jmp 0x60bf70
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 4]
cmp edx, dword [ebp]
jne 0x60bf80
mov ecx, dword [esi + 8]
cmp ecx, dword [ebp + 4]
je 0x60bf83
and eax, 0xfffffffd
mov edx, dword [esi + 0x14]
push eax
mov ecx, edi
mov dword [edi + 0x14], edx
call fcn.00533120
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x20
ret
Function at 0x60c690
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x631a06
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.0060b1b0
lea edx, [esp + 0x1c]
push edx
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.005bb700
lea edx, [esp + 0x28]
push edx
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.005bb700
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x28
mov dword [esp + 0x38], eax
xor esi, esi
mov dword [esp + 0x30], esi
cmp eax, esi
je 0x60c71d
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00532c30
mov ebx, eax
jmp 0x60c71f
xor ebx, ebx
push 8
mov dword [esp + 0x34], 0xffffffff
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 1
cmp eax, esi
je 0x60c74a
mov ecx, eax
call fcn.0053d150
mov esi, eax
push ebx
mov ecx, esi
mov dword [esp + 0x34], 0xffffffff
call fcn.0053d170
mov ebx, dword [edi + 0x14]
mov ecx, edi
call fcn.005330f0
push ebx
mov ecx, esi
call fcn.0060c620
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x611540
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
test byte [esi], 1
mov ebx, ecx
mov dword [esp + 0xc], edi
je 0x6115fe
jmp 0x611569
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
cmp edi, eax
jae 0x6115fe
mov ecx, dword [ebx + 0x6c]
push 0
sub eax, edi
push eax
mov eax, dword [ebp + 8]
push eax
push ecx
call sub.WSOCK32.dll_send
test eax, eax
jge 0x6115e7
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2746
je 0x6115db
cmp eax, 0x2749
je 0x6115db
cmp eax, 0x2733
jne 0x6115e2
mov eax, dword [ebx + 0x6c]
push 0
push 0
lea edx, [esp + 0x18]
push edx
inc eax
push 0
lea esi, [ebx + 0x80]
mov ecx, 0x41
lea edi, [esp + 0x20]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.005f3e50
add esp, 0x14
test eax, eax
jge 0x6115f2
mov eax, dword [ebp + 0x10]
and dword [eax], 0xfffffffe
mov esi, eax
jmp 0x6115f5
mov dword [ebx + 8], 3
and dword [esi], 0xfffffffe
jmp 0x6115f5
add dword [ebp + 8], eax
add edi, eax
mov dword [esp + 0xc], edi
jmp 0x6115f5
mov esi, dword [ebp + 0x10]
test byte [esi], 1
jne 0x611565
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401d92
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x405eb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x40d014]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x214]
xor eax, eax
xor esi, esi
mov dword [ebp - 4], esi
mov word [ebx], ax
lea eax, [ebp]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
js 0x401e7f
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004015a5
mov eax, dword [eax]
test eax, eax
je 0x401e0b
mov esi, dword [eax]
push 0x104
push esi
push dword [ebp + 0x218]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x401e55
call fcn.0040161b
jmp 0x401e55
xor eax, eax
test edi, edi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0040441b
add ebp, 0x20c
leave
ret
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.004042ba
pop ecx
pop ecx
push esi
push edi
call fcn.00405760
int3

Function at 0x401e99
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x405eda
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x40d014]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x214]
xor eax, eax
xor esi, esi
mov dword [ebp - 4], esi
mov word [ebx], ax
lea eax, [ebp]
push eax
push esi
push esi
push 0x23
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
js 0x401f86
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004015a5
mov eax, dword [eax]
test eax, eax
je 0x401f12
mov esi, dword [eax]
push 0x104
push esi
push dword [ebp + 0x218]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x401f5c
call fcn.0040161b
jmp 0x401f5c
xor eax, eax
test edi, edi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0040441b
add ebp, 0x20c
leave
ret
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.004042ba
pop ecx
pop ecx
push esi
push edi
call fcn.00405760
int3
Function at 0x402751
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x40d014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov ebx, 0x208
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
mov edi, 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4027d7
cmp eax, edi
ja 0x4027d7
push ebx
lea eax, [ebp - 0x414]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x407224
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x4027d9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040441b
leave
ret

Function at 0x4027fa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x402807
xor eax, eax
pop ebp
ret
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop ebp
ret

Function at 0x402879
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x58]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x58], esi
lea edi, [ebp - 0x14]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x28], ax
xor edi, edi
lea eax, [ebp - 4]
inc edi
push eax
push 0x2000000
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402911
cmp dword [ebp + 8], ebx
je 0x402911
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push 0x8000008
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x402911
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, edi
jmp 0x402913
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402c87
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x402cab
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0x407708
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ecx, ecx
inc ecx
test eax, eax
cmovne esi, ecx
mov eax, esi
pop esi
ret
Function at 0x4039da
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x405f60
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x40d014]
xor eax, ebp
mov dword [ebp + 0x208], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x407744
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wdupenv_s]
add esp, 0xc
test eax, eax
jne 0x403ace
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [0x40d144], 0
pop ecx
je 0x403a4b
xor eax, eax
inc eax
jmp 0x403ad0
lea eax, [ebp]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, esi
ja 0x403ace
test eax, eax
je 0x403ace
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004015a5
xor edi, edi
lea ecx, [ebp - 0x10]
push str.JavaDeployReg.log
mov dword [ebp - 4], edi
call fcn.004015a5
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00403bce
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x403a9d
call fcn.0040161b
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x403aa6
mov edi, dword [esi]
push 0x40784c
push edi
push 0x40d144
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
add esp, 0xc
neg eax
sbb edi, edi
test esi, esi
je 0x403ac9
mov ecx, esi
call fcn.0040161b
lea eax, [edi + 1]
jmp 0x403ad0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0040441b
add ebp, 0x20c
leave
ret
Function at 0x403e71
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x220
mov eax, dword [0x40d014]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x228]
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 4]
or eax, 0x2001f
mov dword [esp + 0xc], ebp
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.00403dad
mov esi, eax
test esi, esi
jne 0x403f50
lea eax, [esp + 0x20]
mov dword [esp + 0x18], pe_nt_image_headers32
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push dword [esp + 0x28]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
call ebp
test eax, eax
jne 0x403f28
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00403e71
mov esi, eax
test esi, esi
jne 0x403f50
lea eax, [esp + 0x20]
mov dword [esp + 0x18], pe_nt_image_headers32
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call ebp
test eax, eax
je 0x403eed
jmp 0x403f2a
xor esi, esi
cmp dword [esp + 0xc], 0
je 0x403f3f
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.00403c41
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x403f61
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x228]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040441b
add esp, 0x220
ret 4
Function at 0x4040f9
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1044
call fcn.004044b0
mov eax, dword [0x40d014]
xor eax, esp
mov dword [esp + 0x1040], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1058]
lea eax, [esp + 0x84c]
push edi
mov edi, dword [esp + 0x1058]
mov ebp, 0x800
push ebp
xor ebx, ebx
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push esi
push ebx
push edi
push 0xffffffffffffffff
lea eax, [esp + 0x86c]
push 0x400
push eax
call fcn.004042f0
add esp, 0x24
test eax, eax
jns 0x404161
xor eax, eax
mov word [esp + 0x104e], ax
push 0x40
lea eax, [esp + 0x14]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.00404076
push 0x409250
lea eax, [esp + 0x28]
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push ebp
lea eax, [esp + 0x74]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, edi
add esp, 0x2c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4041a0
sub ecx, edx
sar ecx, 1
cmp ecx, 6
jbe 0x4041f0
lea eax, [edi - 0xc]
mov edx, 0x409254
lea eax, [eax + ecx*2]
mov si, word [eax]
xor ecx, ecx
inc ecx
cmp si, word [edx]
jne 0x4041e8
test si, si
je 0x4041e4
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x4041e8
add eax, 4
add edx, 4
test si, si
jne 0x4041bf
mov eax, ebx
jmp 0x4041ec
sbb eax, eax
or eax, ecx
test eax, eax
je 0x4041f2
mov ecx, ebx
lea esi, [esp + 0x10]
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x4041f9
sub esi, edx
lea eax, [esp + 0x850]
push eax
sar esi, 1
mov edx, 0x409274
test ecx, ecx
mov eax, str.Error:
cmove eax, edx
push eax
lea edi, [esi + esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x6c]
add eax, edi
push eax
call fcn.004042d1
add esp, 0x20
test eax, eax
jns 0x404269
mov dword [esp + 0x846], 0x2e002e
mov dword [esp + 0x84a], 0x2e
push edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
call sub.VCRUNTIME140.dll_memcpy
lea edi, [esp + 0x5c]
add esp, 0xc
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x404283
mov eax, dword [0x4092a8]
mov dword [edi], eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x1050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040441b
add esp, 0x1044
ret

Function at 0x40506f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4050ae
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4050ae
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4050ae
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4050ae
cmp dword [ecx + 0x74], 0xe
jbe 0x4050ae
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x12bf2c50
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x676810eb
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x403290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x438
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x40bce0
mov edi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 2
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 0
cmp edi, 0x201
jae 0x403320
jmp 0x40330e
jbe 0x4033aa
cmp edi, 0x201
jae 0x403320
mov dword [ebp - 0x30], 0x200
lea ebx, [ebp - 0x444]
mov esi, edi
jmp 0x403355
mov esi, dword [ebp - 0x34]
sub edi, esi
je 0x403349
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
mov edx, esi
push 2
push 2
push edi
call fcn.004177c0
add esp, 0xc
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x403379
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40340d
cmp edi, esi
jne 0x403300
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40342c
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x40330e
jmp 0x403320
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0
cmp edi, eax
ja 0x403449
lea eax, [ebp - 0x44]
push edi
push ebx
push eax
call fcn.00405750
add esp, 0xc
movsd xmm0, qword [ebp - 0x44]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x3c]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4033f7
add eax, eax
push 2
push eax
push dword [ebp - 0x24]
call fcn.00401230
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x438
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], 0x80000000
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4033e7
jmp 0x4033f7
mov dword [ebp - 0x10], 0
push 0x41a958
push 0x28
push str.internal_error:_entered_unreachable_code_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_alloc_src_vecmod.rsT
call fcn.00418240
add esp, 0xc
jmp 0x403458
push 0x41a948
push eax
push edi
call fcn.00418550
add esp, 0xc
ud2
Function at 0x40a090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov edi, edx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
lea ebx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x20], edx
xor edx, edx
test cl, 1
lea ecx, [esp + 0x20]
cmovne edx, ecx
mov ecx, dword [ebp + 0xc]
push 0
push edx
push ecx
push eax
push ebx
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x40a110
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0x103
je 0x40a132
test eax, eax
js 0x40a11c
mov eax, dword [esp + 0xc]
mov bl, 4
jmp 0x40a125
xor ebx, ebx
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi + 4], eax
mov byte [esi], bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
mov dword [esp + 0x2c], 0x41a57c
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea esi, [esp + 0x44]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], 0
push eax
push ecx
push esi
call fcn.00405250
add esp, 0xc
mov ecx, esi
call fcn.00401cf0
mov ecx, 7
int 0x29
ud2
Function at 0x4170b9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4170f8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4170f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4170f8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4170f8
cmp dword [ecx + 0x74], 0xe
jbe 0x4170f8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40847c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449770]
jne 0x408486
repz ret
jmp fcn.0040b3dd

Function at 0x409bf5
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.00407ba6
and dword [ebp - 4], 0
cmp dword [0x44f584], 0
mov ebx, eax
jne 0x409ca6
push 0x401b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409d57
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b08
push edi
call esi
test eax, eax
je 0x409d57
push eax
call fcn.00407b34
mov dword [esp], 0x401af8
push edi
mov dword [0x44f584], eax
call esi
push eax
call fcn.00407b34
mov dword [esp], 0x401ae4
push edi
mov dword [0x44f588], eax
call esi
push eax
call fcn.00407b34
mov dword [esp], 0x401ac8
push edi
mov dword [0x44f58c], eax
call esi
push eax
call fcn.00407b34
pop ecx
mov dword [0x44f594], eax
test eax, eax
je 0x409ca6
push 0x401ab0
push edi
call esi
push eax
call fcn.00407b34
pop ecx
mov dword [0x44f590], eax
mov eax, dword [0x44f590]
cmp eax, ebx
je 0x409cfe
cmp dword [0x44f594], ebx
je 0x409cfe
push eax
call fcn.00407baf
push dword [0x44f594]
mov esi, eax
call fcn.00407baf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409cfe
test edi, edi
je 0x409cfe
call esi
test eax, eax
je 0x409cf5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409cf5
test byte [ebp - 0xc], 1
jne 0x409cfe
or dword [ebp + 0x10], 0x200000
jmp 0x409d37
mov eax, dword [0x44f588]
cmp eax, ebx
je 0x409d37
push eax
call fcn.00407baf
pop ecx
test eax, eax
je 0x409d37
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409d37
mov eax, dword [0x44f58c]
cmp eax, ebx
je 0x409d37
push eax
call fcn.00407baf
pop ecx
test eax, eax
je 0x409d37
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f584]
call fcn.00407baf
pop ecx
test eax, eax
je 0x409d57
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409d59
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x8ccbbf
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov esi, 0x8cc92e
or edi, ecx
call fcn.008ccbf9
sub edi, 0x30983dba
and edi, edi
mov edi, 0x117f2cca
xor dword [edx], esi
add edi, edi
and edi, edi
inc edx
or ecx, ecx
mov ecx, edi
dec edi
cmp edx, ebx
jne fcn.008ccbbf
and edi, ecx
ret