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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4062b0
cmp edx, dword [eax]
je 0x402a97
add eax, 8
inc ecx
cmp eax, 0x406340
jl 0x402a88
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4062b0]
jne 0x402bc5
mov eax, dword [0x4066a4]
cmp eax, 1
je 0x402b9f
test eax, eax
jne 0x402ac8
cmp dword [0x406204], 1
je 0x402b9f
cmp edx, 0xfc
je 0x402bc5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402aff
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403020
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403190
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402b42
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403190
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x405428
push edi
call fcn.00403e20
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403020
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403030
lea eax, [ebp - 0xa0]
push 0x405408
push eax
call fcn.00403030
push dword [esi + 0x4062b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403030
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403d8e
add esp, 0x2c
pop edi
jmp 0x402bc5
lea eax, [ebp + 8]
lea esi, [esi + 0x4062b4]
push 0
push eax
push dword [esi]
call fcn.00403190
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4095aa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bb468]
jne 0x4095b4
repz ret
jmp fcn.0040bd76

Function at 0x40ba0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bb468]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00408428
and dword [ebp - 0x14], 0
cmp dword [0x4bf770], 0
mov dword [ebp - 0x18], eax
jne 0x40babe
push 0x4029a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40bb66
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402994
push ebx
call edi
test eax, eax
je 0x40bb66
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402984
push ebx
mov dword [0x4bf770], eax
call edi
push eax
call esi
push 0x402970
push ebx
mov dword [0x4bf774], eax
call edi
push eax
call esi
push 0x402954
push ebx
mov dword [0x4bf778], eax
call edi
push eax
call esi
mov dword [0x4bf780], eax
test eax, eax
je 0x40babe
push 0x40293c
push ebx
call edi
push eax
call esi
mov dword [0x4bf77c], eax
mov eax, dword [0x4bf77c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40bb17
cmp dword [0x4bf780], ecx
je 0x40bb17
push eax
call esi
push dword [0x4bf780]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40bb17
test ebx, ebx
je 0x40bb17
call edi
test eax, eax
je 0x40bb0e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40bb0e
test byte [ebp - 8], 1
jne 0x40bb17
or dword [ebp + 0x10], 0x200000
jmp 0x40bb4a
mov eax, dword [0x4bf774]
cmp eax, dword [ebp - 0x18]
je 0x40bb4a
push eax
call esi
test eax, eax
je 0x40bb4a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40bb4a
mov eax, dword [0x4bf778]
cmp eax, dword [ebp - 0x18]
je 0x40bb4a
push eax
call esi
test eax, eax
je 0x40bb4a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4bf770]
call esi
test eax, eax
je 0x40bb66
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40bb68
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004095aa
leave
ret
Function at 0x49e790
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x10f4
call fcn.0040d3e0
cmp dword [0x260eabc], 0x37
jne 0x49e8a0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_RequestDeviceWakeup]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
lea eax, [esp + 0x8f4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea ecx, [esp + 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x28]
push edx
push 0
lea eax, [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 0x24]
push ecx
push 0x403258
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0x4f0]
push edx
push 0
push 0x4032c4
push 0x4032d0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0x4032f0
push 0x403314
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
xor eax, eax
xor ecx, ecx
lea edx, [esp + 0x14]
mov word [esp + 4], ax
mov dword [esp + 6], eax
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov word [esp + 0x12], ax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
push edx
lea eax, [esp + 8]
mov word [esp + 0x18], cx
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
mov edx, dword [0x260eac0]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x4c484c]
mov byte [edx + esi], cl
add esp, 0x10f4
ret
Function at 0x49e8d0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [0x4bbf34]
push ebx
push ebp
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x4bbf30]
mov dword [esp + 0x20], eax
mov eax, dword [0x4bbf38]
mov dword [esp + 0x24], edx
mov edx, dword [0x4bbf3c]
push edi
mov dword [esp + 0x14], ecx
mov edi, 0xc6ef3720
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 0x20
jmp 0x49e924
mov ecx, dword [esp + 0x14]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x1c]
lea ebx, [edi + ecx]
shr ecx, 5
cmp dword [0x260eabc], 0x1b
mov dword [esp + 0x10], eax
mov ebp, ecx
jne 0x49e950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov eax, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
mov dword [0x2604a6c], 0
xor ebp, ebx
xor ebp, eax
sub esi, ebp
mov edx, esi
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
cmp dword [0x260eabc], 0x1be
lea ebx, [edi + esi]
jne 0x49e998
lea eax, [esp + 0x2c]
push eax
push 0
lea ecx, [esp + 0x38]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x28]
mov dword [0x2604a70], 0xff6b3619
xor edx, ebx
xor dword [esp + 0x10], edx
mov dword [0x2604a74], 0xffffffff
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
add edi, 0x61c88647
dec dword [esp + 0x18]
jne 0x49e920
cmp dword [0x260eabc], 0x8d4
jne 0x49ea04
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x78
ret 4
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x78
ret 4

Function at 0x49ea80
Capabilities:
Manipulate console buffer

Disassembly:
push ecx
mov eax, dword [0x260eabc]
shr eax, 3
push esi
mov esi, dword [0x4c484c]
test eax, eax
je 0x49eac4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push edi
mov edi, eax
mov edi, edi
cmp dword [0x260eabc], 0x1c
jne 0x49eab6
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call ebx
push esi
call fcn.0049e8d0
add esi, 8
dec edi
jne 0x49eaa0
pop edi
pop ebx
pop esi
pop ecx
ret
Function at 0x961440
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00961590
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x961466
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x961452
add dl, dl
jne 0x961471
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9614c4
xor eax, eax
add dl, dl
jne 0x96147e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x961565
add dl, dl
jne 0x96148d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x961498
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9614a3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9614ae
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9614ba
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x96145d
mov eax, 1
add dl, dl
jne 0x9614d2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9614dd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9614c9
sub eax, ebx
mov ebx, 1
jne 0x961510
mov ecx, 1
add dl, dl
jne 0x9614f6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x961501
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9614ed
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x96145d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x961527
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x961532
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x96151e
cmp eax, 0x7d00
jae 0x961555
cmp eax, 0x500
jb 0x961550
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x96145d
cmp eax, 0x7f
ja 0x961558
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x96145d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x961586
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x96145d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402e3c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004049a4
test esi, esi
jne 0x402e73
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404a94
jmp 0x402e94
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402cd8
mov dword [esp], eax
test esi, esi
je 0x402e94
cmp dword [ebx], 0
je 0x402e94
dec esi
jmp 0x402e7b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403a08
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x493020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403aa0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403a80
xor eax, eax
push ebp
push 0x403a79
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 0x403abc
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 0x403a80
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x493020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x493020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40479c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x495048], 0
je 0x4047fd
cmp word [0x49521c], 0xd7b2
jne 0x4047c5
cmp dword [0x495224], 0
jbe 0x4047c5
mov eax, 0x495218
call dword [0x495234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x493070
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 0x404824
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x493030], 0
jne 0x404819
push 0
push 0x493068
push 0x493070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404958
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.00402a78
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x495049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404920
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4068c4
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 0x40692a
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.00404c14
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403464
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406914
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406931
lea eax, [ebp - 0x10]
call fcn.004049a4
ret

Function at 0x40c148
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 0x40c181
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404a94
jmp 0x40c18a
mov eax, ebx
mov edx, esi
call fcn.004049f8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c194
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 0x40c1b5
mov al, byte [esp]
jmp 0x40c1b7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c84c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c6b4
mov eax, dword [0x494dac]
cmp byte [eax], 0
je 0x40c8c8
mov eax, dword [0x494b3c]
call fcn.00403288
call fcn.00402c04
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.00409728
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 0x40c910
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c8fe
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x494ae0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x495664]
call fcn.00405cf0
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 0x40d190
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 0x40d266
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404a3c
lea eax, [ebp - 8]
call fcn.00404eb4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404e64
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d250
mov eax, ebx
call fcn.00402a78
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d249
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.00404e64
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d233
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d278
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d233
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 0x40d250
mov eax, dword [ebp - 0x10]
call fcn.00402aa8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d26d
lea eax, [ebp - 8]
call fcn.004049a4
ret

Function at 0x40d7d4
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 0x40d838
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.00404c14
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004090bc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d83f
lea eax, [ebp - 0xc]
call fcn.004049a4
ret

Function at 0x41bbdc
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]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41bc29
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.0041ba08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41bc41
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41bc48
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.0041ba08
dec esi
jne 0x41bc6a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41cdc4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x495888
cmp dword [esi], 0
jne 0x41ce6a
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x495884]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x49348c
mov ecx, 2
call fcn.00402c98
mov edx, 0x41cd9c
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041cdbc
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041cdbc
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41ce31
mov eax, dword [ebp - 8]
mov dword [0x495884], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41e438
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 0x41e43e
ret

Function at 0x420940
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 0x420991
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420978
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420968
jmp 0x420991
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 0x420979
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435158
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404e54
xor eax, eax
push ebp
push 0x435288
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43525b
xor eax, eax
push ebp
push 0x435254
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c64
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x435229
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x435218
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c64
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404e64
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402c98
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 0x43521f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x494a74]
mov dl, 1
mov eax, dword [0x407d48]
call fcn.0040c9f4
call fcn.00404334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43528f
lea eax, [ebp - 4]
call fcn.004049a4
ret