joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401250
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push eax
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.S6000Mnt
push str.S6000MntWndClass
push 0
mov dword [0x407f88], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x40128e
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00401b60
push esi
mov dword [0x407f94], eax
call fcn.00401510
mov dword [0x4079f0], eax
mov ecx, 0x41
xor eax, eax
mov edi, 0x407dbc
add esp, 4
mov dword [0x4079f8], eax
rep stosd dword es:[edi], eax
mov dword [0x4079f4], eax
call fcn.004015d0
mov eax, dword [0x4079f8]
test eax, eax
je 0x401318
call fcn.00401740
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x3e8
push 1
push esi
call edi
push 0
push 0xbb8
push 2
push esi
call edi
push 0
push 0x1388
push 3
push esi
call edi
push 0
push 0x2710
push 4
push esi
call edi
pop edi
mov eax, 1
pop esi
ret

Function at 0x4015d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x130
push edi
mov ecx, 0x41
xor eax, eax
mov edi, 0x407dbc
rep stosd dword es:[edi], eax
mov ecx, 0x3f
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [0x407f90]
mov dword [esp + 8], 1
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
or ecx, 0xf003f
push eax
push ecx
push 0
push str.SoftwareWebCamS6000
push 0x80000002
mov dword [0x407f98], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401637
xor eax, eax
pop edi
add esp, 0x130
ret
mov edx, dword [0x407f98]
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov dword [esp + 0x1c], 0x104
test edx, edx
jne 0x40167a
mov edi, str.DeviceId
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x40168d
push edx
lea ecx, [esp + 0x24]
push str.DeviceId_d
push ecx
call fcn.00401cde
add esp, 0xc
lea edx, [esp + 0x1c]
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push 0
push edx
push eax
call ebp
mov ebx, eax
test ebx, ebx
jne 0x401708
lea ecx, [esp + 0x40]
push ecx
call fcn.00401c40
mov edx, dword [0x407f98]
lea edi, [esp + 0x44]
mov esi, edx
or ecx, 0xffffffff
shl esi, 5
xor eax, eax
add esp, 4
add esi, 0x4079fc
mov dword [0x4079f8], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x18], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
mov dword [0x407f98], edx
jmp 0x40170e
mov edx, dword [0x407f98]
cmp edx, 0x1e
jg 0x40171b
test ebx, ebx
je 0x40164e
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
test eax, eax
je 0x40172d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
add esp, 0x130
ret
Function at 0x403bad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407328
cmp edx, dword [eax]
je 0x403bcf
add eax, 8
inc ecx
cmp eax, 0x4073b8
jl 0x403bc0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407328]
jne 0x403cfd
mov eax, dword [0x407fa8]
cmp eax, 1
je 0x403cd7
test eax, eax
jne 0x403c00
cmp dword [0x407174], 1
je 0x403cd7
cmp edx, 0xfc
je 0x403cfd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403c37
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00401f60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004048d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403c7a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004048d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4064a0
push edi
call fcn.00404ff0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00401f60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00401f70
lea eax, [ebp - 0xa0]
push 0x406480
push eax
call fcn.00401f70
push dword [esi + 0x40732c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00401f70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00404f65
add esp, 0x2c
pop edi
jmp 0x403cfd
lea eax, [ebp + 8]
lea esi, [esi + 0x40732c]
push 0
push eax
push dword [esi]
call fcn.004048d0
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 0x4096e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
jmp 0x409789
cmp dword [esi + 0x10], 0x1000
jne 0x409775
test byte [esi + 0x15], 1
jne 0x409775
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409734
cmp eax, 2
je 0x409734
cmp eax, 0x10
je 0x409734
cmp eax, 0x20
jne 0x409749
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409749
mov bl, 1
xor ebp, ebp
jmp 0x40975a
mov eax, dword [esi]
add eax, ebp
call fcn.004096d8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40974d
test bl, bl
je 0x409775
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40970c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4027e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40401d], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Marmimo
push str.Mimoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402828
xor eax, eax
jmp 0x402843
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x402aa8
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.004044c8
test esi, esi
jne 0x402ade
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.004045b8
jmp 0x402afc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029bc
mov edi, eax
test esi, esi
je 0x402afc
cmp dword [ebx], 0
je 0x402afc
dec esi
jmp 0x402ae5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x40341c
Capabilities:
Query or enumerate registry value

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

Function at 0x4042a8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5aa04c], 0
je 0x404309
cmp word [0x5aa220], 0xd7b2
jne 0x4042d1
cmp dword [0x5aa228], 0
jbe 0x4042d1
mov eax, 0x5aa21c
call dword [0x5aa238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x587070
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 0x404330
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x587034], 0
jne 0x404325
push 0
push 0x587068
push 0x587070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40447c
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.00402780
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x5aa04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404444
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405f08
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 0x406138
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405f8b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406138
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405f8b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406154
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406014
xor eax, eax
push ebp
push 0x40600d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405d50
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 0x405ff2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406174
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405ff2
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 0x406014
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 0x40612e
cmp byte [ebp - 0xd], 0
jne 0x40605b
cmp byte [ebp - 0x12], 0
je 0x40612e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406074
dec ebx
cmp byte [ebx], 0x2e
je 0x406083
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406073
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40612e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4060c0
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 0x40612e
cmp byte [ebp - 0xd], 0
je 0x40612e
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 0x40612e
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 0x40681c
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 0x406882
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.00404738
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402fbc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40686c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406889
lea eax, [ebp - 0x10]
call fcn.004044c8
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404988
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409851
test al, 0x10
jne 0x409855
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40d01c
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 0x40d055
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045b8
jmp 0x40d05e
mov eax, ebx
mov edx, esi
call fcn.0040451c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d85c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d6d4
mov eax, dword [0x5a8dc4]
cmp byte [eax], 0
je 0x40d8d8
mov eax, dword [0x5a86c8]
call fcn.00402c64
call fcn.004028e8
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.00409c80
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 0x40d920
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d90e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5a85f4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5aa668]
call fcn.00405d14
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 0x40e1ec
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 0x40e2c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404560
lea eax, [ebp - 8]
call fcn.004049d8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404988
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e2ac
mov eax, ebx
call fcn.00402780
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e2a5
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.00404988
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e28f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e2d4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e28f
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 0x40e2ac
mov eax, dword [ebp - 0x10]
call fcn.004027a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e2c9
lea eax, [ebp - 8]
call fcn.004044c8
ret

Function at 0x40e8c4
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 0x40e928
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.00404738
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409420
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e92f
lea eax, [ebp - 0xc]
call fcn.004044c8
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5aa88c
cmp dword [edi], 0
jne 0x425a38
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5aa888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5874c8
mov ecx, 2
call fcn.0040297c
mov edx, 0x425994
lea eax, [esi + 5]
call fcn.004259b4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004259b4
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 0x425a0d
mov dword [0x5aa888], 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 0x42709c
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 0x4270a2
ret

Function at 0x4297a4
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 0x4297f5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4297dc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4297cc
jmp 0x4297f5
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 0x4297dd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4346c4
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.00404978
xor eax, eax
push ebp
push 0x4347f2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4347c5
xor eax, eax
push ebp
push 0x4347be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404788
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x434793
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 0x434782
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404788
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404988
mov edx, ebx
pop ecx
call fcn.0040297c
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 0x434789
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5a843c]
mov dl, 1
mov eax, dword [0x407ec0]
call fcn.0040da10
call fcn.00403e44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4347f9
lea eax, [ebp - 4]
call fcn.004044c8
ret
Function at 0x434800
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 0x4349b1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404b78
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4349c8
call fcn.004047d4
mov eax, ebx
call fcn.00424f50
mov edi, eax
dec edi
test edi, edi
jl 0x4348b8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424f24
mov edx, dword [0x44bc30]
call fcn.00403740
test al, al
je 0x4348b4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00424f24
lea edx, [ebp - 0x14]
call fcn.00458074
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404b78
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404848
inc esi
dec edi
jne 0x434866
mov al, byte [0x4349cc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4349d8
mov eax, dword [ebp - 0xc]
call fcn.0040f200
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404560
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.00458074
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4349c8
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.00458074
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4349c8
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, 0x4349c8
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, 0x4349e4
call fcn.0040a6f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4349b8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004044ec
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004044ec
lea eax, [ebp - 0x14]
call fcn.004044c8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
ret