joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4027b0
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
xor edx, edx
push edi
push eax
mov dword [ebp - 0x25c], 0x720063
mov dword [ebp - 0x258], 0x730061
mov dword [ebp - 0x254], 0x700068
mov dword [ebp - 0x250], 0x640061
mov dword [ebp - 0x24c], 0x68005f
mov dword [ebp - 0x248], 0x6e0061
mov dword [ebp - 0x244], 0x6c0064
mov dword [ebp - 0x240], 0x720065
mov dword [ebp - 0x23c], 0x65002e
mov dword [ebp - 0x238], 0x650078
mov word [ebp - 0x234], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
push edi
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x402889
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e6c
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x25c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4028c6
test dx, dx
je 0x4028c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4028c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4028a0
xor eax, eax
jmp 0x4028cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4028df
lea edx, [ebp - 0x230]
push edx
push esi
call ebx
test eax, eax
jne 0x402890
jmp 0x4028e5
mov edi, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00404e6c
mov esp, ebp
pop ebp
ret
Function at 0x402900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x5c], 0x38334235
mov dword [ebp - 0x58], 0x35463833
mov dword [ebp - 0x54], 0x3843302d
mov dword [ebp - 0x50], 0x36342d31
mov dword [ebp - 0x4c], 0x412d3944
mov dword [ebp - 0x48], 0x2d304334
mov dword [ebp - 0x44], 0x32414536
mov dword [ebp - 0x40], 0x33414338
mov dword [ebp - 0x3c], 0x32343945
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x10], 0x72657375
mov dword [ebp - 0xc], 0x642e3233
mov word [ebp - 8], 0x6c6c
mov byte [ebp - 6], 0
mov dword [ebp - 0x1c], 0x646e6946
mov dword [ebp - 0x18], 0x646e6957
mov dword [ebp - 0x14], 0x41776f
mov dword [ebp - 0x28], 0x74697845
mov dword [ebp - 0x24], 0x636f7250
mov dword [ebp - 0x20], 0x737365
mov dword [ebp - 0x34], 0x64616f4c
mov dword [ebp - 0x30], 0x7262694c
mov dword [ebp - 0x2c], 0x41797261
call fcn.00401ad0
mov esi, eax
mov edx, esi
call fcn.00401b20
mov edi, eax
lea eax, [ebp - 0x34]
push eax
push esi
call edi
lea ecx, [ebp - 0x10]
push ecx
call eax
lea edx, [ebp - 0x1c]
push edx
push eax
call edi
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
push esi
call edi
push 0
lea ecx, [ebp - 0x5c]
push ecx
mov esi, eax
call ebx
test eax, eax
jne 0x402a1b
call fcn.004027b0
test eax, eax
jne 0x402a05
push eax
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e6c
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e6c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 2
pop ebx
call fcn.00404e6c
mov esp, ebp
pop ebp
ret
Function at 0x402a40
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x228
mov word [ebp - 0x234], ax
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 0x240], 0x510051
mov dword [ebp - 0x23c], 0x65002e
mov dword [ebp - 0x238], 0x650078
mov dword [ebp - 0x250], 0x490054
mov dword [ebp - 0x24c], 0x2e004d
mov dword [ebp - 0x248], 0x780065
xor edx, edx
mov dword [ebp - 0x244], 0x65
call sub.MSVCR100.dll_memset
add esp, 0xc
push edi
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x402afd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e6c
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x402b10
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x240]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402b46
test dx, dx
je 0x402b42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402b46
add eax, 4
add ecx, 4
test dx, dx
jne 0x402b20
xor eax, eax
jmp 0x402b4b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402ba3
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x250]
jmp 0x402b60
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402b86
test dx, dx
je 0x402b82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402b86
add eax, 4
add ecx, 4
test dx, dx
jne 0x402b60
xor eax, eax
jmp 0x402b8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402ba3
lea edx, [ebp - 0x230]
push edx
push esi
call ebx
test eax, eax
jne 0x402b10
jmp 0x402ba9
mov edi, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00404e6c
mov esp, ebp
pop ebp
ret
Function at 0x402bd0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push edi
push eax
push 4
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x402c32
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e6c
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Thread32Next]
lea esp, [esp]
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x14], ecx
je 0x402c55
lea edx, [ebp - 0x20]
push edx
push esi
call ebx
test eax, eax
jne 0x402c40
jmp 0x402c58
mov edi, dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00404e6c
mov esp, ebp
pop ebp
ret
Function at 0x403c60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], 0x696e6977
mov dword [ebp - 0xc], 0x2e74656e
mov dword [ebp - 8], 0x6c6c64
mov dword [ebp - 0xa0], 0x65746e49
mov dword [ebp - 0x9c], 0x74656e72
mov dword [ebp - 0x98], 0x63617243
mov dword [ebp - 0x94], 0x6c72556b
mov word [ebp - 0x90], 0x41
mov dword [ebp - 0x2c], 0x65746e49
mov dword [ebp - 0x28], 0x74656e72
mov dword [ebp - 0x24], 0x6e65704f
mov word [ebp - 0x20], 0x41
mov dword [ebp - 0x8c], 0x65746e49
mov dword [ebp - 0x88], 0x74656e72
mov dword [ebp - 0x84], 0x6e6e6f43
mov dword [ebp - 0x80], 0x41746365
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x50], 0x70747448
mov dword [ebp - 0x4c], 0x6e65704f
mov dword [ebp - 0x48], 0x75716552
mov dword [ebp - 0x44], 0x41747365
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x78], 0x70747448
mov dword [ebp - 0x74], 0x646e6553
mov dword [ebp - 0x70], 0x75716552
mov dword [ebp - 0x6c], 0x41747365
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x3c], 0x70747448
mov dword [ebp - 0x38], 0x72657551
mov dword [ebp - 0x34], 0x666e4979
mov word [ebp - 0x30], 0x416f
mov byte [ebp - 0x2e], 0
mov dword [ebp - 0x64], 0x65746e49
mov dword [ebp - 0x60], 0x74656e72
mov dword [ebp - 0x5c], 0x64616552
mov dword [ebp - 0x58], 0x656c6946
mov byte [ebp - 0x54], 0
mov dword [ebp - 0xb4], 0x65746e49
mov dword [ebp - 0xb0], 0x74656e72
mov dword [ebp - 0xac], 0x736f6c43
mov dword [ebp - 0xa8], 0x6e614865
mov dword [ebp - 0xa4], 0x656c64
mov dword [ebp - 0xcc], 0x70747448
mov dword [ebp - 0xc8], 0x52646441
mov dword [ebp - 0xc4], 0x65757165
mov dword [ebp - 0xc0], 0x65487473
mov dword [ebp - 0xbc], 0x72656461
mov word [ebp - 0xb8], 0x4173
mov byte [ebp - 0xb6], 0
mov dword [ebp - 0x1c], 0x64616f4c
mov dword [ebp - 0x18], 0x7262694c
mov dword [ebp - 0x14], 0x41797261
call fcn.00401ad0
mov edx, eax
call fcn.00401b20
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push edx
call esi
lea ecx, [ebp - 0x10]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x403e3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e6c
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xa0]
push edx
push edi
call esi
mov dword [0x407744], eax
lea eax, [ebp - 0x2c]
push eax
push edi
call esi
lea ecx, [ebp - 0x8c]
push ecx
push edi
mov dword [0x407740], eax
call esi
lea edx, [ebp - 0x50]
push edx
push edi
mov dword [0x40773c], eax
call esi
mov dword [0x407738], eax
lea eax, [ebp - 0x78]
push eax
push edi
call esi
lea ecx, [ebp - 0x64]
push ecx
push edi
mov dword [0x407734], eax
call esi
lea edx, [ebp - 0xcc]
push edx
push edi
mov dword [0x407730], eax
call esi
mov dword [0x40772c], eax
lea eax, [ebp - 0x3c]
push eax
push edi
call esi
lea ecx, [ebp - 0xb4]
push ecx
push edi
mov dword [0x407728], eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x407724], eax
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00404e6c
mov esp, ebp
pop ebp
ret
Function at 0x404e6c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x407018]
jne 0x404e76
repz ret
jmp fcn.0040527d
Function at 0x4032d4
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.00404bf8
test esi, esi
jne 0x40330a
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.00404ce8
jmp 0x403328
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004031d8
mov edi, eax
test esi, esi
je 0x403328
cmp dword [ebx], 0
je 0x403328
dec esi
jmp 0x403311
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403ad4
Capabilities:
Query or enumerate registry value

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

Function at 0x4049a4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49a04c], 0
je 0x404a05
cmp word [0x49a220], 0xd7b2
jne 0x4049cd
cmp dword [0x49a228], 0
jbe 0x4049cd
mov eax, 0x49a21c
call dword [0x49a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x404a2c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x49602c], 0
jne 0x404a21
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404b7c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x496030], 0
je 0x404ba2
mov edx, esi
mov eax, ebx
call dword [0x496030]
jmp 0x404bb1
mov eax, 8
call fcn.00402ee8
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x49a04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404b44
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4064c4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4066f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406547
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4066f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406547
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406710
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4065d0
xor eax, eax
push ebp
push 0x4065c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406300
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4065ae
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406730
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4065ae
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4065d0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4066ea
cmp byte [ebp - 0xd], 0
jne 0x406617
cmp byte [ebp - 0x12], 0
je 0x4066ea
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406630
dec ebx
cmp byte [ebx], 0x2e
je 0x40663f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40662f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4066ea
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40667c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4066ea
cmp byte [ebp - 0xd], 0
je 0x4066ea
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4066ea
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4092bc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40930e
test eax, edx
je 0x409311
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4092d1
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4092f7
add ecx, 4
js 0x4092e7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4092f4
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x40931d
test edx, edx
jne 0x4092c4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40d030
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 0x40d069
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404ce8
jmp 0x40d072
mov eax, ebx
mov edx, esi
call fcn.00404c4c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d07c
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 0x40d09e
movzx eax, byte [esp]
jmp 0x40d0a0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d730
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d5a8
mov eax, dword [0x499a00]
cmp byte [eax], 0
je 0x40d7ac
mov eax, dword [0x499784]
call fcn.00403420
call fcn.00403044
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.0040a154
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 0x40d7f4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d7e2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x49971c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x49c7f8]
call fcn.004062a8
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 0x40e0c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e196
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404c90
lea eax, [ebp - 4]
call fcn.004050fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004050a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e180
mov eax, ebx
call fcn.00402ee8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e179
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004050a4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e163
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e1a8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e163
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e180
mov eax, dword [ebp - 0x10]
call fcn.00402f04
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e19d
lea eax, [ebp - 4]
call fcn.00404bf8
ret

Function at 0x420024
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.0041fd60
dec esi
jne 0x420046
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4211b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49e9f0
cmp dword [edi], 0
jne 0x421234
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x49e9ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x496c78
mov ecx, 2
call fcn.004030d8
mov edx, 0x421190
lea eax, [esi + 5]
call fcn.004211b0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004211b0
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 0x421209
mov dword [0x49e9ec], 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 0x424e1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004050a4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x424e74
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x499b68]
mov dl, 1
mov eax, dword [0x424928]
call fcn.0040d8fc
call fcn.00404550
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00424a30
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4260a4
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 0x4260aa
ret
Function at 0x435824
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.00405094
xor eax, eax
push ebp
push 0x435959
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43592c
xor edx, edx
push ebp
push 0x435925
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x435871
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4358fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4358e9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4358b0
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004050a4
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004030d8
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 0x4358f0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x49969c]
mov dl, 1
mov eax, dword [0x40841c]
call fcn.0040d8c0
call fcn.00404550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435960
lea eax, [ebp - 4]
call fcn.00404bf8
ret