joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b873
Capabilities:
Get common file path

Disassembly:
push 0x20c
mov eax, 0x46d6be
call fcn.004525cd
xor esi, esi
push 0x104
lea eax, [ebp - 0x118]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x170], esi
call fcn.0044c6d0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.shell32.dll_SHGetFolderPathA]
mov ebx, eax
cmp ebx, esi
je 0x42b9a1
lea eax, [ebp - 0x218]
push eax
call fcn.00402794
lea eax, [ebp - 0x218]
push str.SHGetFolderPath_0x
push eax
mov dword [ebp - 4], esi
call fcn.00405526
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 4]
pop ecx
lea eax, [ebp + eax - 0x218]
pop ecx
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [eax + 0x14], ecx
push 0x23
lea eax, [ebp - 0x218]
push eax
call fcn.0040a962
lea eax, [ebp - 0x218]
push str.__mode
push eax
call fcn.00405526
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x218]
push eax
call fcn.0040a962
lea eax, [ebp - 0x218]
push 0x47a530
push eax
call fcn.00405526
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea edi, [ebp - 0x180]
call fcn.00434dd8
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
push ecx
lea esi, [ebp - 0x16c]
mov ecx, eax
mov dword [ebp - 0x16c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_SysInfo.cpp
mov dword [ebp - 0x168], str.SysInfo::SHGetFolderPathAdapter
mov dword [ebp - 0x164], 0x1bf
call fcn.0042bde1
lea eax, [ebp - 0x160]
mov dword [esp], 0x487c28
push eax
call fcn.0044051c
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.0040246d
lea edx, [ebp - 0x134]
mov eax, edi
mov dword [ebp - 4], 2
call fcn.0042c761
push esi
push 1
lea ecx, [ebp - 0x134]
call fcn.0040321f
mov eax, edi
call fcn.00452650
ret

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

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x42c4fd
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

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

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x42c515
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c529
test al, 0x10
je 0x42c529
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x42cc30
Capabilities:
Create directory

Disassembly:
push 0xe4
mov eax, 0x46d59a
call fcn.004525cd
mov eax, dword [ebp + 0x24]
mov ebx, ecx
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x42cc57
lea eax, [ebp + 8]
mov edi, dword [sym.imp.kernel32.dll_CreateDirectoryA]
push ebx
push eax
call edi
test eax, eax
je 0x42cd21
cmp dword [0x49c100], 0
jg 0x42ccf7
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040244c
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 1
call fcn.00402794
lea eax, [ebp - 0xf0]
push str.Created__
push eax
mov byte [ebp - 4], 2
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.004042cb
mov esi, eax
push str.__directory
push esi
call fcn.00405526
pop ecx
pop ecx
push esi
push 0x1ce
push 0
mov ebx, str.FileUtils::_anonymous_namespace::createDir
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov esi, 0x49c100
call fcn.004016c6
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0
call fcn.004015e8
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x42cd39
lea edx, [ebp + 8]
lea eax, [ebp - 0x2c]
call fcn.0042c761
push eax
mov byte [ebp - 4], 4
call fcn.00412bb4
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040321f
jmp 0x42cd39
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x42cd4b
lea eax, [ebp + 8]
call fcn.0042c50d
test al, al
je 0x42cd4b
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0040321f
call fcn.00452650
ret
push str.System_error
push esi
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x4c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.FileUtils::_anonymous_namespace::createDir
mov dword [ebp - 0x44], 0x1d7
lea ebx, [ebp - 0x4c]
call fcn.0040244c
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 5
call fcn.00402794
lea eax, [ebp - 0xf0]
push str.CreateDirectory_
push eax
mov byte [ebp - 4], 6
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 7
call fcn.004042cb
mov esi, eax
push 0x47e228
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.004374b8
lea ecx, [ebp - 0x38]
push ecx
mov esi, ebx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0041b5e6
lea eax, [ebp - 0x38]
mov dword [esp], 0x4878f8
push eax
call fcn.0044051c
int3
Function at 0x42e263
Capabilities:
Get file version info

Disassembly:
push 0xf0
mov eax, 0x46d350
call fcn.004525cd
mov eax, dword [ebp + 8]
push eax
mov esi, ebx
mov dword [ebp - 0x54], ebx
call fcn.0040244c
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x40], esi
jb 0x42e29f
mov eax, dword [ebx]
jmp 0x42e2a1
mov eax, ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
cmp eax, esi
jne 0x42e359
push str.System_error
mov dword [ebp - 0x4c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x464
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.0040244c
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.00402794
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfoSize_
push eax
mov byte [ebp - 4], 3
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.004042cb
mov esi, eax
push 0x47e228
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
push esi
lea edi, [ebp - 0x60]
call fcn.004374b8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
push ecx
lea esi, [ebp - 0x4c]
mov ecx, eax
call fcn.0041b5e6
lea eax, [ebp - 0x3c]
mov dword [esp], 0x4878f8
push eax
call fcn.0044051c
mov esi, eax
lea eax, [ebx + 0x1c]
call fcn.0040fa1a
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
sub eax, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x42e375
mov edx, dword [ebx]
jmp 0x42e377
mov edx, ebx
mov edi, dword [sym.imp.version.dll_GetFileVersionInfoA]
push ecx
push eax
push dword [ebp - 0x40]
push edx
call edi
test eax, eax
jne 0x42e415
push str.System_error
mov dword [ebp - 0x4c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x46d
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.0040244c
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 6
call fcn.00402794
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfo_
push eax
mov byte [ebp - 4], 7
call fcn.00405526
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 8
call fcn.004042cb
mov esi, eax
push 0x47e228
push esi
call fcn.00405526
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x60]
call fcn.004374b8
mov byte [ebp - 4], 9
jmp 0x42e33b
mov eax, ebx
call fcn.00452650
ret 4
Function at 0x433f6c
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x467308
call fcn.00452564
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.kernel32.dll_GetThreadLocale]
push eax
mov eax, esi
call fcn.0044051c
pop ecx
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.0044051c
pop ecx
call dword [sym.imp.kernel32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.0044051c
mov eax, esi
mov dword [esp], 0x409
call fcn.0044051c
pop ecx
mov eax, esi
call fcn.0045263c
ret
Function at 0x43946a
Capabilities:
Check mutex on windows

Disassembly:
push 0xa8
mov eax, 0x46ce6e
call fcn.00452564
push str.Global_MSIExecute
xor esi, esi
push esi
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexA]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
mov dword [ebp - 4], esi
cmp eax, esi
je 0x43953c
push dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], esi
je 0x43951c
cmp dword [0x49c100], 1
jg 0x43951c
lea eax, [ebp - 0xb4]
push eax
call fcn.00402794
lea eax, [ebp - 0xb4]
push str.finish_waiting_for_mutex:
push eax
mov byte [ebp - 4], 1
call fcn.00405526
pop ecx
pop ecx
push dword [ebp - 0x14]
lea eax, [ebp - 0xb4]
push eax
call fcn.0040ad34
lea eax, [ebp - 0xb4]
push eax
push 0x1c8
push 1
mov ebx, str.msi::waitForInstallationCompletion
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_MsiUtils.cpp
mov esi, 0x49c100
call fcn.004016c6
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0
call fcn.004015e8
cmp dword [ebp - 0x14], 0x102
jne 0x43953c
xor bl, bl
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
call fcn.0044051c
pop ecx
mov al, bl
call fcn.0045263c
ret
mov bl, 1
jmp 0x439527

Function at 0x444307
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x4976a0]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x14
mov eax, 0x4699d5
call fcn.00452564
xor esi, esi
lea eax, [ebp + 0x38]
push eax
push esi
push esi
push 0x2c
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.shell32.dll_SHGetFolderPathW]
cmp eax, esi
je 0x44435d
push 0xc8
lea esi, [ebp - 0x20]
call fcn.0044051c
push 0x487864
mov eax, esi
push eax
call fcn.0044051c
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
call fcn.0041dfc8
push 0x482424
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.0044051c
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00443078
add esp, 0xc
push 1
xor edi, edi
lea esi, [ebp + 0x1c]
call fcn.0041a86e
push 1
lea esi, [ebp]
call fcn.0041a86e
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.0044a628
add ebp, 0x244
leave
ret

Function at 0x44a628
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4976a0]
jne 0x44a632
repz ret
jmp fcn.00454985
Function at 0x402a9c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404138
test esi, esi
jne 0x402ad2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404228
jmp 0x402af0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029b0
mov edi, eax
test esi, esi
je 0x402af0
cmp dword [ebx], 0
je 0x402af0
dec esi
jmp 0x402ad9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402d70
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x488008], 0x8088405
inc edx
mov dword [ebx + 0x488008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4031d4
Capabilities:
Query or enumerate registry value

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

Function at 0x403f38
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48a04c], 0
je 0x403f99
cmp word [0x48a220], 0xd7b2
jne 0x403f61
cmp dword [0x48a228], 0
jbe 0x403f61
mov eax, 0x48a21c
call dword [0x48a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x488070
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 0x403fc0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x488034], 0
jne 0x403fb5
push 0
push 0x488068
push 0x488070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4040ec
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.00402774
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48a04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4040b4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406258
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 0x4062be
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.004043a8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d8c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4062a8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4062c5
lea eax, [ebp - 0x10]
call fcn.00404138
ret

Function at 0x40b758
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 0x40b791
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404228
jmp 0x40b79a
mov eax, ebx
mov edx, esi
call fcn.0040418c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40be4c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bcc4
mov eax, dword [0x489cbc]
cmp byte [eax], 0
je 0x40bec8
mov eax, dword [0x489944]
call fcn.00402bdc
call fcn.004028dc
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.00408eb0
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 0x40bf10
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40befe
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4898b8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48a668]
call fcn.00405750
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 0x40c7b8
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 0x40c88e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004041d0
lea eax, [ebp - 8]
call fcn.00404648
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045f8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c878
mov eax, ebx
call fcn.00402774
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c871
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.004045f8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c85b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c8a0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c85b
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 0x40c878
mov eax, dword [ebp - 0x10]
call fcn.00402794
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c895
lea eax, [ebp - 8]
call fcn.00404138
ret

Function at 0x40ce14
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 0x40ce78
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.004043a8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408960
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce7f
lea eax, [ebp - 0xc]
call fcn.00404138
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48a88c
cmp dword [edi], 0
jne 0x421034
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48a888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x488494
mov ecx, 2
call fcn.00402970
mov edx, 0x420f90
lea eax, [esi + 5]
call fcn.00420fb0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420fb0
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 0x421009
mov dword [0x48a888], 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 0x422650
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 0x422656
ret

Function at 0x424aec
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 0x424b3d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424b24
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424b14
jmp 0x424b3d
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 0x424b25
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dbc0
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.004045e8
xor eax, eax
push ebp
push 0x42dcee
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42dcc1
xor eax, eax
push ebp
push 0x42dcba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043f8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42dc8f
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 0x42dc7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043f8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004045f8
mov edx, ebx
pop ecx
call fcn.00402970
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 0x42dc85
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4897ec]
mov dl, 1
mov eax, dword [0x4076b8]
call fcn.0040bfdc
call fcn.00403af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dcf5
lea eax, [ebp - 4]
call fcn.00404138
ret
Function at 0x42dcfc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42dead
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004047e8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42dec4
call fcn.00404444
mov eax, ebx
call fcn.0042054c
mov edi, eax
dec edi
test edi, edi
jl 0x42ddb4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00420520
mov edx, dword [0x432388]
call fcn.004034f0
test al, al
je 0x42ddb0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00420520
lea edx, [ebp - 0x14]
call fcn.0043a1b4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004047e8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004044b8
inc esi
dec edi
jne 0x42dd62
mov al, byte [0x42dec8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42ded4
mov eax, dword [ebp - 0xc]
call fcn.0040d3ec
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004041d0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043a1b4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42dec4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043a1b4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42dec4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42dec4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42dee0
call fcn.0040958c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42deb4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040415c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040415c
lea eax, [ebp - 0x14]
call fcn.00404138
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040415c
ret