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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
xor ebx, ebx
cmp eax, ebx
je 0x100ed04
cmp eax, 0xffffffff
je 0x100ed04
cmp dword [ebp + 8], ebx
je 0x100ed04
push esi
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [edi + 0x44]
push ebx
mov esi, eax
lea eax, [ebp - 4]
push eax
add esi, esi
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100ecf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x100ecf3
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x100ed01
cmp esi, dword [ebp - 4]
je 0x100ed01
mov ebx, 0x80004005
pop esi
jmp 0x100ed09
mov ebx, 0x80070057
pop edi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x100ed16
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x10185d5
call fcn.01001b63
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0x100ee52
push 1
call fcn.0100bc6e
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x100ee57
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100220e
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100edbf
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.0100603f
mov ebx, eax
test ebx, ebx
jl 0x100ee38
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.01005351
mov ebx, eax
test ebx, ebx
jl 0x100ee38
xor ebx, ebx
inc ebx
jmp 0x100edbf
test ebx, ebx
jl 0x100ee38
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100edf8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
je 0x100edf5
call esi
test eax, eax
jle 0x100edf1
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x100edf8
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x100ee38
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
jne 0x100ee38
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x100ee36
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp dword [ebp - 0x14], 0
je 0x100ee47
push dword [ebp - 0x14]
call fcn.0100b675
pop ecx
push dword [ebp - 0x18]
call fcn.0100b675
pop ecx
jmp 0x100ee57
mov ebx, 0x80070057
mov eax, ebx
call fcn.010014c4
ret 4
Function at 0x100ee66
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x1018619
call fcn.01001b63
xor esi, esi
add ecx, 0x40
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
call fcn.0100997e
cmp dword [ebp + 8], esi
je 0x100ef51
push 1
call fcn.0100bc6e
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x100ef56
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100220e
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100ef0c
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.0100603f
mov ebx, eax
test ebx, ebx
jl 0x100ef37
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.01005351
mov ebx, eax
test ebx, ebx
jl 0x100ef37
xor ebx, ebx
inc ebx
jmp 0x100ef0c
test ebx, ebx
jl 0x100ef37
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100ef35
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100ef31
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x100ef37
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x100ef46
push dword [ebp - 0x14]
call fcn.0100b675
pop ecx
push dword [ebp - 0x18]
call fcn.0100b675
pop ecx
jmp 0x100ef56
mov ebx, 0x80070057
mov eax, ebx
call fcn.010014c4
ret 4
Function at 0x100ef65
Capabilities:
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0x101865d
call fcn.01001b63
mov esi, ecx
mov eax, dword [esi + 0x44]
xor edi, edi
mov ebx, 0x8007000e
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x100ef91
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], edi
cmp dword [ebp + 8], edi
je 0x100f10d
cmp dword [ebp + 0xc], edi
je 0x100f10d
push 1
call fcn.0100bc6e
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x100f112
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 4], edi
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea eax, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100220e
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100f013
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.0100603f
mov ebx, eax
test ebx, ebx
jl 0x100f013
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.01005351
mov ebx, eax
test ebx, ebx
jl 0x100f013
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
jmp 0x100f033
test ebx, ebx
jl 0x100f0f3
push 2
pop ebx
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100220e
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100f094
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.0100603f
mov ebx, eax
test ebx, ebx
jl 0x100f0e4
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
call fcn.01005351
mov ebx, eax
test ebx, ebx
jl 0x100f0e4
xor ebx, ebx
inc ebx
jmp 0x100f0ab
mov ebx, 0x8007000e
jmp 0x100f0ab
test ebx, ebx
jl 0x100f0e4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x100f0e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100f0de
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x100f0e4
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x100f0f3
push dword [ebp - 0x14]
call fcn.0100b675
pop ecx
cmp dword [ebp - 0x18], 0
je 0x100f102
push dword [ebp - 0x18]
call fcn.0100b675
pop ecx
push dword [ebp - 0x1c]
call fcn.0100b675
pop ecx
jmp 0x100f112
mov ebx, 0x80070057
mov eax, ebx
call fcn.010014c4
ret 8
Function at 0x100fa56
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0x1018741
call fcn.010020eb
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100220e
mov edi, eax
pop ecx
cmp edi, ebx
je 0x100fb0e
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0x100fb18
push esi
push edi
call fcn.01005e75
add esp, 0x14
jmp 0x100fb0e
mov eax, edi
call fcn.01001ecf
ret 4
Function at 0x1013dcf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
push esi
mov esi, ecx
mov eax, dword [esi + 0x234]
mov ecx, dword [esi + 0x238]
inc eax
inc eax
inc ecx
inc ecx
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor ecx, ecx
push 2
add eax, 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100220e
mov edi, dword [ebp + 0xc]
pop ecx
mov dword [edi], eax
test eax, eax
jne 0x1013e2f
and dword [ebp + 0x10], eax
push 0x101b618
lea eax, [ebp + 0x10]
push eax
call sub.msvcrt.dll__CxxThrowException
mov eax, dword [ebp - 4]
xor ecx, ecx
push 2
add eax, 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100220e
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x1013e6a
push dword [edi]
call fcn.0100b675
and dword [edi], 0
and dword [ebp + 0x10], 0
mov dword [esp], 0x101b618
jmp 0x1013e26
mov ecx, dword [edi]
mov esi, dword [esi + 4]
lea edx, [ebp - 4]
push edx
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 8]
push eax
push ecx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
test esi, esi
je 0x1013ead
push dword [edi]
call fcn.0100b675
and dword [edi], 0
mov edi, dword [ebp + 0x10]
push dword [edi]
call fcn.0100b675
and dword [edi], 0
pop ecx
pop ecx
jmp 0x1013ee5
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor edx, edx
cmp eax, ecx
ja 0x1013ec1
mov ecx, dword [edi]
mov word [ecx + eax*2], dx
jmp 0x1013ec7
mov eax, dword [edi]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
ja 0x1013edc
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x1013ee5
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov byte [ecx + eax], 0
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1013ef3
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x1013f05
lea ecx, [esi + 0xc]
push 0
call sym.WmiApSrv.exe_public:_unsigned_short_int____thiscall_CHString::GetBuffer_int_
mov esi, dword [esi + 4]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
ret 4
Function at 0x10141c1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x101902d
call fcn.01001b63
mov esi, ecx
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0x14], ebx
call sym.WmiApSrv.exe_public:_void___thiscall_CHStringArray::SetSize_int__int_
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x101423e
cmp dword [ebp - 0x14], ebx
jbe 0x101423e
cmp dword [ebp - 0x18], 7
jne 0x101423e
add dword [ebp - 0x14], 2
push dword [ebp - 0x14]
call fcn.0100220e
mov edi, eax
pop ecx
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x101423e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call sym.WmiApSrv.exe_private:_unsigned_long_int___thiscall_CRegistry::GetCurrentRawKeyValue_struct_HKEY_____unsigned_short_int_const___void___unsigned_long_int___unsigned_long_int__
cmp eax, ebx
je 0x101424b
push edi
call fcn.0100b675
pop ecx
mov eax, 0x80040153
call fcn.010014c4
ret 0xc
cmp dword [ebp - 0x18], 7
jne 0x1014237
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1014256
sub eax, edx
sar eax, 1
mov esi, eax
cmp esi, ebx
je 0x1014288
mov ecx, dword [ebp + 0x10]
push edi
call sym.WmiApSrv.exe_public:_int___thiscall_CHStringArray::Add_unsigned_short_int_const__
lea edi, [edi + esi*2 + 2]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
je 0x1014260
jmp 0x101427c
push dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call fcn.0100b675
pop ecx
xor eax, eax
jmp 0x1014243

Function at 0x10144cb
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [eax + 0x10]
push esi
mov esi, dword [ebp + 8]
cmp ecx, dword [eax + 0x224]
jb 0x10144f8
mov eax, 0x103
jmp 0x101452e
mov eax, dword [eax + 4]
push edi
push 0x100
lea edx, [ebp - 0x204]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, eax
mov ecx, esi
test edi, edi
jne 0x1014526
lea eax, [ebp - 0x204]
push eax
call fcn.01015dc9
jmp 0x101452b
call sym.WmiApSrv.exe_public:_void___thiscall_CHString::Empty_void_
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01007f0f
leave
ret 4
Function at 0x10147be
Capabilities:
Set registry value

Disassembly:
push 0x10
mov eax, 0x101913d
call fcn.01001b63
mov ebx, dword [ebp + 0x10]
xor edi, edi
xor esi, esi
cmp dword [ebx + 4], edi
jle 0x1014807
push edi
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call sym.WmiApSrv.exe_public:_class_CHString___thiscall_CHStringArray::GetAt_int_
and dword [ebp - 4], 0
lea ecx, [ebp + 0x10]
call sym.WmiApSrv.exe_protected:_struct_CHStringData____thiscall_CHString::GetData_void_const
mov eax, dword [eax + 4]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
lea esi, [esi + eax*2 + 2]
call sym.WmiApSrv.exe_public:_void___thiscall_CHString::destructor_void_
inc edi
cmp edi, dword [ebx + 4]
jl 0x10147d6
inc esi
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100220e
xor edi, edi
pop ecx
mov dword [ebp + 0x10], eax
cmp eax, edi
jne 0x101483a
push 0x101b618
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
push eax
call sub.msvcrt.dll__CxxThrowException
lea ecx, [esi + esi]
push ecx
push edi
push eax
mov dword [ebp - 4], 1
call sub.msvcrt.dll_memset
add esp, 0xc
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 4]
jge 0x10148a7
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call sym.WmiApSrv.exe_public:_class_CHString___thiscall_CHStringArray::GetAt_int_
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sym.WmiApSrv.exe_public:_unsigned_short_int____thiscall_CHString::GetBuffer_int_
push eax
mov eax, esi
sub eax, edi
push eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + edi*2]
push eax
call fcn.0100603f
lea ecx, [ebp - 0x14]
call sym.WmiApSrv.exe_protected:_struct_CHStringData____thiscall_CHString::GetData_void_const
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x14]
lea edi, [edi + eax + 1]
mov byte [ebp - 4], 1
call sym.WmiApSrv.exe_public:_void___thiscall_CHString::destructor_void_
inc dword [ebp - 0x18]
jmp 0x1014853
push esi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x10]
mov esi, eax
call fcn.0100b675
pop ecx
mov eax, esi
call fcn.010014c4
ret 0xc

Function at 0x10148e7
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
mov ecx, esi
call sym.WmiApSrv.exe_protected:_struct_CHStringData____thiscall_CHString::GetData_void_const
mov eax, dword [eax + 4]
mov esi, dword [esi]
lea eax, [eax + eax + 2]
push eax
push esi
push 2
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebp
ret 0xc
Function at 0x403a40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x3afc
call fcn.00439880
mov eax, dword [0x459008]
xor eax, esp
mov dword [esp + 0x3af8], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, ch
lodsb al, byte [esi]
add eax, dword [edx]
add byte [ebx - 0x3f7af73c], al
je 0x403a88
push eax
call fcn.0042400c
add esp, 4
push 1
call dword [0x43b09c]
call dword [0x43b0d0]
mov dword [0x47a330], eax
call fcn.004039c0
call dword [0x43b0a8]
mov esi, dword [0x43b30c]
mov edi, eax
push 0
push edi
call esi
movups xmm0, xmmword [0x445c94]
mov cx, word [0x445ca4]
mov word [0x4798b8], cx
movups xmmword [0x4798a8], xmm0
call dword [0x43b144]
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.00401100
cmp dword [0x4798a4], 0
mov ebx, dword [0x43b124]
mov dword [esp + 0xc], 0
jne 0x403b4a
movq xmm0, qword [0x445ca8]
mov eax, dword [0x445cb0]
push 0x445cb4
push 1
push 0
movq qword [0x4798a8], xmm0
mov dword [0x4798b0], eax
call dword [0x43b128]
push 0
push eax
mov dword [esp + 0x14], eax
call ebx
test eax, eax
je 0x403b4a
mov esi, dword [esp + 0xc]
nop dword [eax]
push 0x1f40
call dword [0x43b070]
push 0
push esi
call ebx
test eax, eax
jne 0x403b30
mov esi, dword [0x43b30c]
push 0x80
call dword [0x43b13c]
push eax
call dword [0x43b148]
push 0
push 0
call dword [0x43b12c]
cmp dword [0x46f45c], 0
je 0x403b9e
movups xmm0, xmmword [0x445cc8]
mov ax, word [0x445ce0]
push 5
movups xmmword [0x4798a8], xmm0
push edi
movq xmm0, qword [0x445cd8]
movq qword [0x4798b8], xmm0
mov word [0x4798c0], ax
call esi
movups xmm0, xmmword [0x445ce4]
mov edi, dword [0x43b08c]
mov esi, 0xc8
mov ebx, dword [0x43b078]
movups xmmword [0x4798a8], xmm0
nop dword [eax]
push 0x445cf4
call edi
push 0x445d0c
call ebx
push 0x445d18
call edi
add byte [eax], al
add byte [eax], al
add bh, bh
rol dword [ebx - 0x208afe12], cl
call dword [0x43b0c4]
test eax, eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, ch
sub esp, ecx
invalid
Function at 0x4056e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x459008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x479b08], 0
push ebx
push esi
push edi
je 0x40570c
push 0x451278
call fcn.00401d20
add esp, 4
push 0x41
push 0x451298
call fcn.00401d20
add esp, 8
push 0
push 0xf
call dword [0x43b0dc]
mov ebx, eax
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [0x43b0e4]
test eax, eax
je 0x4057e0
mov edi, dword [0x43b2fc]
nop dword [eax]
mov esi, 0x443428
push dword [esi]
lea eax, [ebp - 0x214]
push eax
call edi
test eax, eax
jne 0x405771
add esi, 4
cmp esi, 0x44352c
jle 0x405755
jmp 0x4057ab
push dword [ebp - 0x230]
push 0
push 1
call dword [0x43b0d8]
mov esi, eax
test esi, esi
je 0x4057ab
lea eax, [ebp - 0x214]
push eax
push 0x4512c0
call fcn.00401d20
add esp, 8
push 9
push esi
call dword [0x43b0d4]
push esi
call dword [0x43b080]
mov esi, 0x4433a0
push dword [esi]
lea eax, [ebp - 0x214]
push eax
call edi
test eax, eax
jne 0x40580e
add esi, 4
cmp esi, 0x443424
jle 0x4057b0
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [0x43b0e0]
test eax, eax
jne 0x405750
push ebx
call dword [0x43b080]
cmp dword [0x479b08], 0
je 0x4057fd
push 0x45131c
call fcn.00401d20
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a2df
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x214]
push eax
push 0x4512e8
call fcn.00401d20
add esp, 8
push 1
call dword [0x43b09c]
int3

Function at 0x407070
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, edx
or eax, 0xffffffff
xor esi, esi
mov ebx, ecx
test edi, edi
je 0x407117
movzx edx, byte [esi + ebx]
inc esi
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
cmp esi, edi
jb 0x407084
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x40a9e4
Capabilities:
Parse pe header

Disassembly:
push 8
add byte [eax], al
add byte [eax], al
add al, ch
loopne 0x40a9f2
add byte [eax], al
and dword [ebp - 4], 0
mov eax, 0x5a4d
cld
add byte [eax + 0x5a4d], bh
cmp word [0x400000], ax
jne 0x40aa5f
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40aa5f
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40aa5f
mov eax, dword [ebp + 8]
mov ecx, 0x400000
sub eax, ecx
push eax
push ecx
call fcn.0040a89b
pop ecx
pop ecx
test eax, eax
je 0x40aa5f
cmp dword [eax + 0x24], 0
jl 0x40aa5f
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x40aa68
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.0040af16
ret
Function at 0x40cb7b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
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 [0x43b090]
pop ebp
ret
Function at 0x401e40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x418eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4212a8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00401540
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x401e94
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00401860
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00401540
cmp dword [esp + 0x24], 8
jb 0x401eda
mov eax, dword [esp + 0x10]
push eax
call fcn.0040304f
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x402fb2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4212a8]
jne 0x402fbc
repz ret
jmp fcn.00406f1f
Function at 0x4087b1
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x421cb0]
je 0x4087cc
inc edi
cmp edi, 0x17
jb 0x4087bd
cmp edi, 0x17
jae 0x40894c
push ebp
push 3
call fcn.0040d477
cmp eax, 1
pop ecx
je 0x408918
push 3
call fcn.0040d477
test eax, eax
pop ecx
jne 0x408800
cmp dword [0x4210e4], 1
je 0x408918
cmp ebx, 0xfc
je 0x40894b
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x422e38
push ebp
call fcn.00405d74
add esp, 0xc
test eax, eax
je 0x408836
push esi
push esi
push esi
push esi
push esi
call fcn.0040305e
add esp, 0x14
push 0x104
mov esi, 0x422e51
push esi
push 0
mov byte [0x422f55], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40887a
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00405d74
add esp, 0xc
test eax, eax
je 0x40887a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040305e
add esp, 0x14
push esi
call fcn.00403d70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4088bf
push esi
call fcn.00403d70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42314c
push 0x41a23c
sub ecx, eax
push ecx
push eax
call fcn.0040b0c8
add esp, 0x14
test eax, eax
je 0x4088bf
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040305e
add esp, 0x14
jmp 0x4088c1
xor esi, esi
push 0x41a238
push ebx
push ebp
call fcn.0040b057
add esp, 0xc
test eax, eax
je 0x4088e1
push esi
push esi
push esi
push esi
push esi
call fcn.0040305e
add esp, 0x14
push dword [edi*8 + 0x421cb4]
push ebx
push ebp
call fcn.0040b057
add esp, 0xc
test eax, eax
je 0x408903
push esi
push esi
push esi
push esi
push esi
call fcn.0040305e
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040d2ba
add esp, 0xc
jmp 0x40894b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40894b
cmp ebp, 0xffffffff
je 0x40894b
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x421cb4]
push dword [esi]
call fcn.00403d70
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret