joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d374
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x56dc5c
push 0xa
push 0x40d408
mov eax, dword [0x56dc40]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40d398
call fcn.00418f0c
push ebx
mov eax, dword [0x56dc40]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40d3af
call fcn.00418f0c
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40d3c1
call fcn.00418f0c
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x56dc60], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x56dc64], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x56dc68], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x56dc6c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x56dc70], ecx
add edx, dword [eax + 0x14]
mov dword [0x56dc74], edx
pop esi
pop ebx
ret

Function at 0x411024
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4110cd
test eax, edx
je 0x4110d0
push 0
push 0
cmp word [eax - 0xa], 2
je 0x41104d
push edx
mov edx, eax
mov eax, esp
call fcn.00406cd0
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x411063
push eax
lea eax, [esp + 8]
call fcn.00406cd0
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x411072
movzx eax, word [eax]
sub eax, ecx
jmp 0x411099
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4110b3
add ecx, 4
js 0x41108a
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x4110b0
push eax
mov eax, ecx
mov edx, 2
call fcn.00406150
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x411097
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x411099
xor eax, eax
ret
test eax, eax
je 0x4110e0
test edx, edx
jne 0x411034
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x412318
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00406b30
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x412336
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x412357
cmp ebx, 3
je 0x412357
cmp ebx, 0x7b
je 0x412357
mov eax, esi
call fcn.004122d8
test al, al
jne 0x41235b
xor eax, eax
jmp 0x41235d
mov al, 1
pop esi
pop ebx
ret

Function at 0x412360
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00406b30
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x412379
test al, 0x10
jne 0x41237d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x416378
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4163b1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406be0
jmp 0x4163ba
mov eax, ebx
mov edx, esi
call fcn.00406aa4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4163c4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4163e6
movzx eax, word [esp]
jmp 0x4163e8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x416b78
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x416c9d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00416988
mov esi, eax
mov eax, dword [0x56a2bc]
cmp byte [eax], 0
je 0x416c45
mov eax, dword [0x569ddc]
call fcn.00404720
call fcn.004043ac
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x416b50]
call fcn.004082d8
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x416cb8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x416c81
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x569d30]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x56dc40]
call fcn.004084e0
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416ca4
lea eax, [ebp - 4]
mov edx, dword [0x416b50]
call fcn.004083f8
ret
Function at 0x417acc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x417ba2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406af8
lea eax, [ebp - 4]
call fcn.004074b8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406b30
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x417b8c
mov eax, ebx
call fcn.00404244
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x417b85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406b30
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x417b6f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x417bb4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x417b6f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417b8c
mov eax, dword [ebp - 0x10]
call fcn.00404260
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417ba9
lea eax, [ebp - 4]
call fcn.00406a94
ret

Function at 0x418db4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004064b0
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x418d5e
mov eax, edi
add eax, eax
call fcn.00404244
mov esi, eax
jmp 0x418d60
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x418d99
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x418d83
mov eax, esp
cmp esi, eax
je 0x418da6
mov eax, esi
call fcn.00404260
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x418de0
cmp bl, 0
je 0x418ddc
cmp bl, 0x41
jl 0x418dd7
cmp bl, 0x5a
jg 0x418dd7
or bl, 0x20
xor al, bl
inc esi
jmp 0x418dbb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x418d20
Function at 0x41960c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
xor edx, edx
call fcn.00406aa4
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00406b30
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x419653
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00406be0
jmp 0x41966c
mov edx, ebx
dec edx
mov eax, esi
call fcn.00406e30
push ebx
mov eax, dword [esi]
call fcn.00406b30
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x43aee8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43af86
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43af4a
cmp byte [ebx + 0x10], 0
jne 0x43af4a
cmp byte [ebx + 0x3c], 0
jne 0x43af4a
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x43af6b
lea edx, [ebp - 4]
mov eax, dword [0x56a224]
call fcn.00409cbc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42cb40]
call fcn.00416cf0
call fcn.0040591c
jmp 0x43af6b
lea edx, [ebp - 8]
mov eax, dword [0x56a224]
call fcn.00409cbc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42cb40]
call fcn.00416cf0
call fcn.0040591c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43af8d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a9c
ret

Function at 0x43b274
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x43b2c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0043ae6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43b2db
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43b2e4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0043ae6c
dec esi
jne 0x43b306
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x43c8c4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x56ff9c
cmp dword [edi], 0
jne 0x43c940
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x56ff98]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x562fc8
mov ecx, 2
call fcn.004043fc
mov edx, 0x43c89c
lea eax, [esi + 5]
call fcn.0043c8bc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043c8bc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43c915
mov dword [0x56ff98], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4432e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x443398
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00443274
test al, al
je 0x44337a
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406be0
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x44337a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406b30
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.00406b30
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00406c60
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x443333
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44339f
lea eax, [ebp - 0x2c]
call fcn.00406a94
lea eax, [ebp - 4]
call fcn.00406a94
ret

Function at 0x443650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00406b30
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.00442fec
test al, al
jne 0x4436b1
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x56a560]
mov dl, 1
mov eax, dword [0x441d04]
call fcn.00416de8
call fcn.0040591c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00442f54
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x449370
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x449376
ret
Function at 0x4568f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x45691f
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x45699e
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004551c0
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x45696c
mov cx, word [esp]
sub cx, si
jmp 0x45696e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x456955
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x456994
mov cx, word [esp]
sub cx, si
jmp 0x456996
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x45697d
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4569fb
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004565c4
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4569e6
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4569fb
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4568fa
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5504c8
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406a8c
mov eax, dword [ebp - 8]
call fcn.00406a8c
xor eax, eax
push ebp
push 0x5505d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x11c], 5
ja 0x55053e
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00406b30
push eax
mov eax, dword [ebp - 4]
call fcn.00406b30
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x5505be
lea eax, [ebp - 0x15c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404810
mov dword [ebp - 0x15c], 0x3c
mov dword [ebp - 0x158], 0x500
lea eax, [ebp - 0xc]
mov edx, 0x5505f4
call fcn.00406af8
lea eax, [ebp - 0xc]
mov edx, 0x550608
call fcn.00406ec8
mov eax, dword [ebp - 0xc]
call fcn.00406b30
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 4]
call fcn.00406b30
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 8]
call fcn.00406b30
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x140], 1
lea eax, [ebp - 0x15c]
push eax
call sub.shell32.dll_ShellExecuteExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5505e0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406a9c
ret

Function at 0x550c70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a8c
xor eax, eax
push ebp
push 0x550cbb
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00406b30
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x550cc2
lea eax, [ebp - 4]
call fcn.00406a94
ret
Function at 0x4073e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461134], 0
jne 0x407420
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4073f6
mov dword [ecx*4 + 0x461130], eax
inc ecx
cmp ecx, 0x100
jl 0x4073f1
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40744d
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461130]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40742e
not eax
pop ebp
ret 0xc

Function at 0x408b39
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d95a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x42d070]
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.00403608
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 0x401290
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.00406aad
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x42bc8c
push eax
call fcn.004087a4
push edi
push esi
call fcn.00403950
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.00405a49
mov esp, ebp
pop ebp
ret 4
Function at 0x401f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x42d070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x18], edx
push esi
push edi
xor edi, edi
mov eax, dword [ebx]
mov esi, dword [ebx + 4]
movd xmm2, eax
cvtdq2pd xmm2, xmm2
shr eax, 0x1f
addsd xmm2, qword [eax*8 + 0x429610]
mov eax, dword [ebx + 0xc]
mulsd xmm2, qword [0x4295d8]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x429610]
movaps xmm3, xmm1
mulsd xmm1, qword [0x4295d8]
mulsd xmm3, qword [0x4295d0]
movsd qword [ebp - 0x2c], xmm1
movsd qword [ebp - 0x34], xmm3
test esi, esi
je 0x402106
mulsd xmm2, qword [0x4295f8]
movd xmm1, dword [ebp + 8]
cvtdq2pd xmm1, xmm1
movsd qword [ebp - 0x44], xmm2
nop dword [eax]
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x14], xmm0
mulsd xmm0, xmm2
divsd xmm0, xmm1
call fcn.0041d440
mulsd xmm0, qword [0x4295e8]
mov eax, dword [ebx + 8]
movsd qword [ebp - 0x3c], xmm0
cmp eax, 1
jne 0x40205a
movsd xmm0, qword [ebp - 0x2c]
mulsd xmm0, qword [0x4295f8]
movd xmm1, dword [ebp + 8]
cvtdq2pd xmm1, xmm1
mulsd xmm0, qword [ebp - 0x14]
divsd xmm0, xmm1
call fcn.0041d440
movsd qword [ebp - 0x24], xmm0
jmp 0x402098
test eax, eax
jne 0x402093
movsd xmm1, qword [ebp - 0x14]
mulsd xmm1, qword [ebp - 0x34]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x429610]
divsd xmm1, xmm0
movsd xmm0, qword [0x4295f0]
subsd xmm0, xmm1
movsd qword [ebp - 0x24], xmm0
jmp 0x402098
movsd xmm0, qword [ebp - 0x24]
mulsd xmm0, qword [0x429600]
mulsd xmm0, qword [ebp - 0x3c]
addsd xmm0, qword [0x4295e0]
cvttsd2si ecx, xmm0
cmp ecx, 0x7fff
jle 0x4020c2
mov dword [ebp - 0x10], 0x7fff
jmp 0x4020d9
movzx eax, cx
cmp ecx, 0xffff8000
mov ecx, 0xffff8000
cmovl eax, ecx
movzx eax, ax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push 2
push 1
push eax
call fcn.0040c05d
mov esi, dword [ebx + 4]
inc edi
movd xmm1, dword [ebp + 8]
add esp, 0x10
movsd xmm2, qword [ebp - 0x44]
cvtdq2pd xmm1, xmm1
cmp edi, esi
jb 0x402000
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 8]
add eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405a49
mov esp, ebp
pop ebp
ret