joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aee01
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4aee39
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004acea6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ace7e
jmp 0x4aee45
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b0601
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b0643
call fcn.004b692c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b0643
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b063a
xor eax, eax
jmp 0x4b064b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b0651
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b6e5c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b6e8a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b6ea8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b6dc2
jmp 0x4b6ea8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b6ea8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b6dc2
test edi, edi
mov eax, edi
jne 0x4b6e92
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x424910
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x424932
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x424939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x424928
mov eax, 1
add ebx, ebx
jne 0x42494b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x424940
jne 0x42495c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x424940
xor ecx, ecx
sub eax, 3
jb 0x424970
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4249e2
mov ebp, eax
add ebx, ebx
jne 0x42497b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x424988
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4249ac
inc ecx
add ebx, ebx
jne 0x424998
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42498d
jne 0x4249a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42498d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4249cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4249bd
jmp 0x42492e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4249cc
add edi, ecx
jmp 0x42492e
pop esi
mov edi, esi
mov ecx, 0x182
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4249ea
cmp byte [edi], 1
jne 0x4249ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4249ef
lea edi, [esi + 0x22000]
mov eax, dword [edi]
or eax, eax
je 0x424a67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24584]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24638]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x424a1c
mov ecx, edi
jns 0x424a4b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2463c]
or eax, eax
je 0x424a61
mov dword [ebx], eax
add ebx, 4
jmp 0x424a39
call dword [esi + 0x24640]
popal
jmp 0x4046fd
Function at 0x40551b
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x41402c]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x34
mov eax, 0x40c02f
call fcn.0040b250
mov eax, dword [ebp + 0x41c]
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x405558
push 2
pop eax
jmp 0x405648
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
push esi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push edi
push eax
call sub.MSVCR90.dll_memset
add esp, 0x18
lea eax, [ebp]
push eax
push 0x104
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x208]
push eax
push edi
push 0x40e68c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp eax, edi
je 0x40563e
lea eax, [ebp + 0x208]
lea edi, [ebx + 8]
push eax
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push 0x2e
add ebx, 0x18
push ebx
call dword [sym.imp.MSVCR90.dll_strrchr]
pop ecx
pop ecx
mov ecx, edi
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeUpper]
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.00401a9c
mov esi, eax
and dword [ebp - 4], 0
cmp byte [esi + 0x24], 0
jne 0x4055fe
call fcn.00401af5
push dword [esi + 0x1c]
mov ecx, edi
push str..TMP
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 0
je 0x405621
push dword [ebp - 0x24]
call sub.mfc90u.dll_delete__
pop ecx
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x104
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp 0x405645
mov dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0040ab7a
add ebp, 0x414
leave
ret 4

Function at 0x40566d
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jne 0x405684
xor eax, eax
inc eax
jmp 0x4056c1
lea eax, [ebp - 0x10]
push eax
call fcn.00405333
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4056ac
test al, 1
je 0x4056ac
and eax, 0xfffffffe
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00405378
mov eax, esi
pop esi
leave
ret
Function at 0x4058c8
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x40b68a
call fcn.0040b250
mov dword [ebp - 0x1c], ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [0x40d4cc]
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
xor edi, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
cmp eax, 0xffffffff
je 0x405963
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
jne 0x405963
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x405963
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
call fcn.004058c8
test eax, eax
je 0x405963
push edi
push dword [ebp + 8]
call esi
mov edi, eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, edi
call fcn.0040b328
ret 4
Function at 0x40602e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x414a38], edi
je 0x4061de
cmp dword [0x414a1c], edi
je 0x4061de
cmp dword [0x414a3c], 8
mov eax, dword [0x414a28]
jae 0x406067
mov eax, 0x414a28
lea ecx, [ebp - 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp dword [0x414a20], 8
mov dword [ebp - 4], eax
mov eax, dword [0x414a0c]
jae 0x406087
mov eax, 0x414a0c
lea ecx, [ebp - 0x20]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 4], edi
je 0x4061de
cmp eax, edi
je 0x4061de
mov eax, dword [ebp - 4]
mov esi, 0x414668
push esi
shr eax, 1
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040acaa
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x4060d7
mov eax, 0x8007000e
jmp 0x4061e3
mov eax, dword [ebp - 8]
push esi
shr eax, 1
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040acaa
mov edi, eax
xor esi, esi
pop ecx
pop ecx
cmp edi, esi
jne 0x406105
push ebx
call sub.mfc90u.dll_delete__
pop ecx
jmp 0x4060cd
cmp dword [0x414a3c], 8
mov eax, dword [0x414a28]
jae 0x406118
mov eax, 0x414a28
push ebx
push dword [ebp - 4]
push dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4061d0
cmp dword [0x414a20], 8
mov eax, dword [0x414a0c]
jae 0x406140
mov eax, 0x414a0c
push edi
push dword [ebp - 8]
push dword [ebp - 0x20]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4061d0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
push eax
mov esi, 0x40e2dc
push esi
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4061d0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4061d0
push dword [ebp - 0x10]
mov esi, dword [sym.imp.MSVCR90.dll_memcpy_s]
push dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push 0x34
push eax
call esi
push ebx
call sub.mfc90u.dll_delete__
push dword [ebp - 0xc]
lea eax, [ebp - 0x88]
push dword [ebp - 0x18]
push 0x34
push eax
call esi
push edi
call sub.mfc90u.dll_delete__
mov eax, dword [ebp - 0x4c]
add esp, 0x28
cmp eax, dword [ebp - 0x80]
jne 0x4061de
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x7c]
jne 0x4061de
xor eax, eax
jmp 0x4061e3
push ebx
call sub.mfc90u.dll_delete__
push edi
call sub.mfc90u.dll_delete__
pop ecx
pop ecx
mov eax, 0x80004005
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409ffc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x41402c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
call fcn.00409f76
test eax, eax
je 0x40a055
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40a055
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR90.dll_wcslen]
push eax
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.MSVCR90.dll__wcsnicmp]
add esp, 0x10
test eax, eax
jne 0x40a055
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040ab7a
leave
ret

Function at 0x40ab7a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41402c]
jne 0x40ab84
repz ret
jmp fcn.0040b0de
Function at 0x402f84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40301c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402ffc
xor eax, eax
push ebp
push 0x402ff5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403038
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ffc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45b020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ce0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45d048], 0
je 0x403d41
cmp word [0x45d21c], 0xd7b2
jne 0x403d09
cmp dword [0x45d224], 0
jbe 0x403d09
mov eax, 0x45d218
call dword [0x45d234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45b06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d68
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45b030], 0
jne 0x403d5d
push 0
push 0x45b064
push 0x45b06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403e94
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026cc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x45d049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403e5c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405a94
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405afa
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404150
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b48
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ae4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b01
lea eax, [ebp - 0x10]
call fcn.00403ee0
ret

Function at 0x40ad68
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ada1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fd0
jmp 0x40adaa
mov eax, ebx
mov edx, esi
call fcn.00403f34
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40adb4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40add5
mov al, byte [esp]
jmp 0x40add7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b45c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b2d4
mov eax, dword [0x45c174]
cmp byte [eax], 0
je 0x40b4d8
mov eax, dword [0x45bf8c]
call fcn.004029b4
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004085dc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b520
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b50e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45bf38]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45d664]
call fcn.00404fa8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40bd74
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40be4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f78
lea eax, [ebp - 8]
call fcn.004043f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40be34
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40be2d
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 - 8]
call fcn.004043a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40be17
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40be5c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40be17
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be34
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be51
lea eax, [ebp - 8]
call fcn.00403ee0
ret

Function at 0x40c35c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c3c0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404150
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408124
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c3c7
lea eax, [ebp - 0xc]
call fcn.00403ee0
ret

Function at 0x419a58
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.00419884
dec esi
jne 0x419a7a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41abbc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45d888
cmp dword [edi], 0
jne 0x41ac38
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45d884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45b408
mov ecx, 2
call fcn.004028c8
mov edx, 0x41ab94
lea eax, [esi + 5]
call fcn.0041abb4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041abb4
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 0x41ac0d
mov dword [0x45d884], 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 0x41c1bc
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 0x41c1c2
ret

Function at 0x41e74c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41e79d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e784
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e774
jmp 0x41e79d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41e785
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427284
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404390
xor eax, eax
push ebp
push 0x4273b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x427385
xor eax, eax
push ebp
push 0x42737e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041a0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x427353
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x427342
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041a0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004043a0
mov edx, ebx
pop ecx
call fcn.004028c8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427349
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x45bee4]
mov dl, 1
mov eax, dword [0x406e94]
call fcn.0040b5e0
call fcn.00403898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4273b9
lea eax, [ebp - 4]
call fcn.00403ee0
ret