joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6eaa60
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x6eaa68
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x5c], eax
xor eax, eax
push ebp
push 0x6eac46
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6eabb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x5c]
call fcn.00407460
lea edx, [ebp - 0x64]
mov eax, 0x6eac60
call fcn.004c71b8
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x18]
call fcn.00436444
push 0
push 0
push 0x6eaca4
push 0x6eacc8
push 0x6eacdc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004306c0
add esp, 0x1c
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x28]
call fcn.0043652c
push 0x20
push 0x6ead00
push 0x6ead14
push 0x6ead50
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004306c0
add esp, 0x18
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x38]
call fcn.0043652c
push 0x6ead60
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.004306c0
add esp, 0xc
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x88]
call fcn.00435f38
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 4]
mov ecx, 0x6ead6c
call fcn.0040aec4
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x6eabaf
push 0x6ead7c
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.004306c0
add esp, 0xc
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x9c]
call fcn.0043580c
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x5c]
call fcn.00420530
lea eax, [ebp - 0x58]
call fcn.004306a4
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x58]
call fcn.0043652c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6eabcb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6eac4d
lea eax, [ebp - 0xac]
call fcn.004306b8
lea eax, [ebp - 0x9c]
call fcn.00407460
lea eax, [ebp - 0x98]
call fcn.004306b8
lea eax, [ebp - 0x88]
call fcn.0040ae80
lea eax, [ebp - 0x84]
mov edx, dword [0x4012f0]
mov ecx, 2
call fcn.00408ba4
lea eax, [ebp - 0x64]
call fcn.0040ae80
lea eax, [ebp - 0x58]
call fcn.004306b8
lea eax, [ebp - 0x48]
mov edx, dword [0x401300]
mov ecx, 4
call fcn.00408ba4
lea eax, [ebp - 4]
call fcn.0040ae80
ret

Function at 0x6ead98
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov ebx, eax
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x24
call fcn.004050e0
lea eax, [ebp - 0x24]
push eax
call sub.KERNEL32.DLL_GetSystemInfo_1
mov edx, ebx
movzx eax, word [ebp - 0x24]
call fcn.00420f04
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6ec64c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6ec708
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x6ec67b
mov eax, dword [ebp - 8]
call fcn.00407460
jmp 0x6ec6f2
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407888
xor eax, eax
push ebp
push 0x6ec6dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, ebx
call fcn.004082a8
mov edi, eax
push edi
call sub.KERNEL32.DLL_ExpandEnvironmentStringsW
mov esi, eax
test esi, esi
jle 0x6ec6cb
mov edx, esi
dec edx
mov eax, dword [ebp - 8]
call fcn.0040843c
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004082a8
push eax
push edi
call sub.KERNEL32.DLL_ExpandEnvironmentStringsW
jmp 0x6ec6d3
mov eax, dword [ebp - 8]
call fcn.00407460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6ec6f2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ec70f
lea eax, [ebp - 4]
call fcn.00407460
ret

Function at 0x6ec718
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x6ec7ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00407460
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push esi
call sub.KERNEL32.DLL_GetVolumeInformationW
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.004210c4
push dword [ebp - 0x14]
push 0x6ec7e4
lea ecx, [ebp - 0x18]
movzx eax, word [ebp - 8]
mov edx, 4
call fcn.004210c4
push dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040859c
mov eax, ebx
mov edx, dword [ebp - 4]
call reloc.comctl32.dll_ImageList_DragEnter
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ec7d1
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004074c0
lea eax, [ebp - 4]
call fcn.00407460
ret
Function at 0x351266
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
sub esp, 0xc
add eax, edx
jne 0x351279
leave
ret
mov ecx, dword [eax + 0x18]
push esi
mov esi, dword [eax + 0x20]
add esi, edx
push edi
dec ecx
mov dword [ebp - 0xc], ecx
xor edi, edi
push ebx
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx]
inc edi
mov dword [ebp - 8], edi
mov edi, dword [esi + edi*4]
add edi, edx
movzx ebx, byte [edi]
sub ecx, ebx
jne 0x3512bc
mov ebx, dword [ebp + 8]
sub ebx, edi
mov dword [ebp - 4], ebx
cmp byte [edi], 0
je 0x3512bc
mov ecx, dword [ebp - 4]
inc edi
movzx ecx, byte [ecx + edi]
movzx ebx, byte [edi]
sub ecx, ebx
je 0x3512a8
mov edi, dword [ebp - 8]
cmp edi, dword [ebp - 0xc]
ja 0x3513b2
test ecx, ecx
jne 0x35128a
jmp 0x3513a3
mov ecx, dword [eax + 0x24]
lea ecx, [ecx + edi*2]
movzx ecx, word [ecx + edx]
cmp ecx, dword [eax + 0x14]
jbe 0x3513b6
xor eax, eax
jmp 0x3513c1
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x402ad8
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.00404630
test esi, esi
jne 0x402b0e
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.00404720
jmp 0x402b2c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029ec
mov edi, eax
test esi, esi
je 0x402b2c
cmp dword [ebx], 0
je 0x402b2c
dec esi
jmp 0x402b15
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4036a8
Capabilities:
Query or enumerate registry value

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

Function at 0x404430
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x50004c], 0
je 0x404491
cmp word [0x500220], 0xd7b2
jne 0x404459
cmp dword [0x500228], 0
jbe 0x404459
mov eax, 0x50021c
call dword [0x500238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f8070
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 0x4044b8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f8030], 0
jne 0x4044ad
push 0
push 0x4f8068
push 0x4f8070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4045e4
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.004027b0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x50004d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4045ac
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405f20
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 0x406150
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405fa3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406150
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405fa3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40616c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40602c
xor eax, eax
push ebp
push 0x406025
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405d68
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 0x40600a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40618c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40600a
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 0x40602c
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 0x406146
cmp byte [ebp - 0xd], 0
jne 0x406073
cmp byte [ebp - 0x12], 0
je 0x406146
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40608c
dec ebx
cmp byte [ebx], 0x2e
je 0x40609b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40608b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406146
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4060d8
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 0x406146
cmp byte [ebp - 0xd], 0
je 0x406146
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 0x406146
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 0x406868
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 0x4068ce
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.004048a0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403134
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4068b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4068d5
lea eax, [ebp - 0x10]
call fcn.00404630
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404af0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409611
test al, 0x10
jne 0x409615
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40cc34
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 0x40cc6d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404720
jmp 0x40cc76
mov eax, ebx
mov edx, esi
call fcn.00404684
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d474
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d2ec
mov eax, dword [0x4ff740]
cmp byte [eax], 0
je 0x40d4f0
mov eax, dword [0x4ff21c]
call fcn.00402f58
call fcn.00402918
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.0040991c
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 0x40d538
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d526
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4ff16c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x500668]
call fcn.00405d2c
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 0x40de04
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 0x40deda
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004046c8
lea eax, [ebp - 8]
call fcn.00404b40
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404af0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dec4
mov eax, ebx
call fcn.004027b0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40debd
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.00404af0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dea7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40deec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dea7
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 0x40dec4
mov eax, dword [ebp - 0x10]
call fcn.004027d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dee1
lea eax, [ebp - 8]
call fcn.00404630
ret

Function at 0x40e498
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 0x40e4fc
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.004048a0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004091e0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e503
lea eax, [ebp - 0xc]
call fcn.00404630
ret

Function at 0x4220ac
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.00421f04
dec esi
jne 0x4220ce
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x423210
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x50088c
cmp dword [edi], 0
jne 0x42328c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x500888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f8498
mov ecx, 2
call fcn.004029ac
mov edx, 0x4231e8
lea eax, [esi + 5]
call fcn.00423208
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423208
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 0x423261
mov dword [0x500888], 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 0x4248e0
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 0x4248e6
ret

Function at 0x427208
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 0x427259
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427240
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427230
jmp 0x427259
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 0x427241
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4308d4
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.00404ae0
xor eax, eax
push ebp
push 0x430a02
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4309d5
xor eax, eax
push ebp
push 0x4309ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004048f0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4309a3
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 0x430992
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004048f0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404af0
mov edx, ebx
pop ecx
call fcn.004029ac
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 0x430999
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4ff028]
mov dl, 1
mov eax, dword [0x407e0c]
call fcn.0040d628
call fcn.00403fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430a09
lea eax, [ebp - 4]
call fcn.00404630
ret
Function at 0x430a10
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 0x430bc1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404ce0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x430bd8
call fcn.0040493c
mov eax, ebx
call fcn.004227a4
mov edi, eax
dec edi
test edi, edi
jl 0x430ac8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00422778
mov edx, dword [0x43ee80]
call fcn.004039cc
test al, al
je 0x430ac4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00422778
lea edx, [ebp - 0x14]
call fcn.0044a330
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404ce0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004049b0
inc esi
dec edi
jne 0x430a76
mov al, byte [0x430bdc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x430be8
mov eax, dword [ebp - 0xc]
call fcn.0040edd4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004046c8
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.0044a330
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x430bd8
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.0044a330
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x430bd8
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, 0x430bd8
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, 0x430bf4
call fcn.0040a394
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430bc8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404654
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404654
lea eax, [ebp - 0x14]
call fcn.00404630
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404654
ret