joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4023f3
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, 0x104
push esi
push edi
call fcn.00403290
add esp, 0xc
test al, al
je 0x4024a5
push 0x401460
push esi
push edi
call fcn.004032cb
add esp, 0xc
test al, al
je 0x4024a5
push esi
push edi
call fcn.00403269
mov ebx, eax
mov dword [ebp - 4], esi
sub dword [ebp - 4], ebx
cmp dword [ebp - 4], 0xb
pop ecx
pop ecx
jb 0x4024a5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
shr ecx, 0xc
xor eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0xa
push dword [ebp - 4]
dec dword [ebp - 0xc]
lea eax, [edi + ebx*2]
push eax
lea eax, [ebp - 8]
push 4
push eax
call fcn.00403212
add esp, 0x10
test al, al
je 0x4024a5
lea eax, [ebx + 5]
push eax
mov ecx, edi
call fcn.0040236f
push 0x4015bc
push esi
push edi
call fcn.004032cb
add esp, 0xc
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4024ac
inc dword [ebp - 8]
cmp dword [ebp - 0xc], eax
jne 0x40245a
xor al, al
pop edi
pop esi
pop ebx
leave
ret
push 0x4015b8
push esi
push edi
call fcn.004032cb
add esp, 0xc
jmp 0x4024a7

Function at 0x4024bd
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x104
push esi
push edi
call fcn.00403269
push 0x4015c8
push esi
push edi
mov dword [ebp - 4], eax
call fcn.004032cb
add esp, 0x14
test al, al
je 0x4025a2
and dword [ebp - 0x258], 0
push 0x24c
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.00402314
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x402591
push ebx
cmp word [ebp - 0x24], 0
lea ebx, [ebp - 0x24]
jne 0x402535
lea ebx, [ebp - 0x22c]
push ebx
call fcn.00401fbe
pop ecx
test al, al
jne 0x402573
mov eax, dword [ebp - 4]
inc eax
push eax
mov ecx, edi
call fcn.0040236f
push ebx
push esi
push edi
call fcn.004032cb
add esp, 0xc
test al, al
je 0x402573
test byte [ebp - 0x258], 0x10
push edi
je 0x40256d
call fcn.004024bd
pop ecx
jmp 0x402573
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402525
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
push dword [ebp - 4]
mov ecx, edi
call fcn.0040236f
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
leave
ret
Function at 0x4025e7
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 8]
xor ebx, ebx
push 1
mov edi, ecx
push ebx
mov byte [edi], bl
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402651
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push 0x40162c
push ebx
mov byte [edi], 1
call esi
cmp eax, ebx
jne 0x402648
push 0x401614
push ebx
call esi
cmp eax, ebx
jne 0x402648
push 0x4015f4
push ebx
call esi
cmp eax, ebx
jne 0x402648
push 0x4015d4
push ebx
call esi
cmp eax, ebx
je 0x402650
push eax
mov ecx, edi
call fcn.00401fec
pop esi
mov eax, edi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x40293c
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor eax, eax
push esi
mov word [ebp - 0x10], ax
mov word [ebp - 0x218], ax
mov edi, 0x104
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00403290
add esp, 0xc
test al, al
je 0x402ac6
push 0x4013d0
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.004032cb
add esp, 0xc
test al, al
je 0x402ac6
mov eax, dword [ebp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov ebx, 0x402843
push ebx
push 0x401498
push dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x4029d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
jne 0x402ac6
push 0x104
push esi
call fcn.00403269
pop ecx
pop ecx
test eax, eax
je 0x402a2b
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00401caa
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ecx
pop ecx
push esi
mov bl, al
call edi
test bl, bl
je 0x402a24
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
call fcn.00403290
add esp, 0xc
test al, al
jne 0x402a24
lea eax, [ebp - 0x218]
push eax
call edi
xor bl, bl
mov al, bl
jmp 0x402ac8
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x401490
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x402a4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
jne 0x402ac6
mov edi, 0x104
push edi
push esi
call fcn.00403269
pop ecx
pop ecx
test eax, eax
je 0x402ab3
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x402ab3
push 3
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x402a91
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov word [esi], ax
jmp 0x402ab3
lea eax, [ebp - 0x218]
push eax
push edi
push esi
call fcn.00403290
add esp, 0xc
test al, al
jne 0x402ab3
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push esi
call fcn.00403269
pop ecx
pop ecx
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
jmp 0x402ac8
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402ca1
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push esi
push dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x258], ax
mov word [ebp - 0x460], ax
mov esi, 0x104
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.00403290
add esp, 0xc
test al, al
je 0x402de2
push dword [ebp + 0xc]
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.004032cb
add esp, 0xc
test al, al
je 0x402de2
push 0x401678
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.004032cb
add esp, 0xc
test al, al
je 0x402de2
push ebx
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x250]
push ebx
push eax
mov dword [ebp - 0x254], ebx
call fcn.00402314
add esp, 0xc
push ebx
push ebx
push 1
lea eax, [ebp - 0x254]
push eax
push ebx
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x402de1
xor eax, eax
mov word [ebp - 0x464], ax
mov word [ebp - 0x66c], ax
push edi
test byte [ebp - 0x254], 0x10
je 0x402dc3
lea edi, [ebp - 0x20]
cmp word [ebp - 0x20], bx
jne 0x402d7f
lea edi, [ebp - 0x228]
push edi
call fcn.00401fbe
pop ecx
test al, al
jne 0x402dc3
push dword [ebp + 8]
lea eax, [ebp - 0x66c]
push esi
push eax
call fcn.00403290
add esp, 0xc
test al, al
je 0x402dc3
push edi
lea eax, [ebp - 0x66c]
push esi
push eax
call fcn.004032cb
add esp, 0xc
test al, al
je 0x402dc3
lea eax, [ebp - 0x66c]
push eax
call fcn.004024bd
pop ecx
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402d67
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebx
pop esi
leave
ret

Function at 0x402de5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
xor eax, eax
push esi
mov word [ebp - 4], ax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x402e35
cmp eax, esi
jae 0x402e35
xor esi, esi
push dword [esi + 0x401680]
lea eax, [ebp - 0x20c]
push eax
call fcn.00402ca1
add esi, 4
pop ecx
pop ecx
cmp esi, 8
jb 0x402e19
pop esi
leave
ret

Function at 0x402f58
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
xor eax, eax
push ebx
mov word [ebp - 4], ax
mov word [ebp - 0x824], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x824]
push 0x410
push eax
call fcn.00403290
lea eax, [ebp - 0x824]
push 0x401400
push eax
xor bl, bl
call fcn.004032f1
add esp, 0x14
test al, al
jne 0x402fcf
lea eax, [ebp - 0x824]
push 0x401420
push eax
call fcn.00403398
pop ecx
pop ecx
test eax, eax
jne 0x402fcf
lea eax, [ebp - 0x824]
push 0x401440
push eax
call fcn.00403398
pop ecx
pop ecx
test eax, eax
je 0x402fd1
mov bl, 1
mov al, bl
pop ebx
leave
ret
Function at 0x403097
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.00403069
mov eax, dword [ebp + 8]
lea edi, [esi + 0xc]
push edi
push eax
mov dword [esi + 8], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esi], eax
test eax, eax
je 0x4031b3
xor eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [edi], eax
jle 0x403197
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov eax, dword [esi]
mov edi, dword [ebp + 8]
push 0x401808
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x4030f2
mov dword [esi + 4], 0x401290
jmp 0x403187
mov eax, dword [esi]
push 0x4017f4
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x403108
mov byte [esi + 0x14], 1
jmp 0x403187
mov eax, dword [esi]
push 0x4017d4
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x40311e
mov byte [esi + 0x15], 1
jmp 0x403187
mov eax, dword [esi]
push 0x4017bc
push dword [eax + edi*4]
call ebx
test eax, eax
je 0x403183
mov eax, dword [esi]
push 0x40179c
push dword [eax + edi*4]
call ebx
test eax, eax
je 0x403183
mov eax, dword [esi]
push 0x40177c
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x403154
mov byte [esi + 0x17], 1
jmp 0x403187
mov eax, dword [esi]
push 0x40175c
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x40316a
mov byte [esi + 0x18], 1
jmp 0x403187
mov eax, dword [esi]
push 0x401748
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x403187
mov dword [esi + 0x10], 1
jmp 0x403187
mov byte [esi + 0x16], 1
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0xc]
jl 0x4030d3
pop ebx
cmp byte [esi + 0x17], 0
jne 0x4031b3
cmp byte [esi + 0x15], 0
jne 0x4031ae
cmp byte [esi + 0x16], 0
jne 0x4031ae
xor eax, eax
inc eax
jmp 0x4031b0
xor eax, eax
mov byte [esi + 0x14], al
xor eax, eax
cmp dword [esi], eax
pop edi
setne al
pop esi
pop ebp
ret 4

Function at 0x4026b2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4026f1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4026f1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4026f1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4026f1
cmp dword [ecx + 0x74], 0xe
jbe 0x4026f1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40309c
Capabilities:
Query or enumerate registry value

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

Function at 0x403e40
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a804c], 0
je 0x403ea1
cmp word [0x4a8220], 0xd7b2
jne 0x403e69
cmp dword [0x4a8228], 0
jbe 0x403e69
mov eax, 0x4a821c
call dword [0x4a8238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a4070
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 0x403ec8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a4034], 0
jne 0x403ebd
push 0
push 0x4a4068
push 0x4a4070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405f44
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 0x405faa
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.0040422c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c3c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f94
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405fb1
lea eax, [ebp - 0x10]
call fcn.00403fbc
ret

Function at 0x40b4c0
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 0x40b4f9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040ac
jmp 0x40b502
mov eax, ebx
mov edx, esi
call fcn.00404010
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bbb4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ba2c
mov eax, dword [0x4a7640]
cmp byte [eax], 0
je 0x40bc30
mov eax, dword [0x4a73f4]
call fcn.00402a6c
call fcn.004028b8
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.00408b50
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 0x40bc78
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bc66
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a7394]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a8668]
call fcn.0040543c
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 0x40c514
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 0x40c5ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404054
lea eax, [ebp - 8]
call fcn.004044cc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040447c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c5d4
mov eax, ebx
call fcn.00402750
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c5cd
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.0040447c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c5b7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c5fc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c5b7
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 0x40c5d4
mov eax, dword [ebp - 0x10]
call fcn.00402770
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5f1
lea eax, [ebp - 8]
call fcn.00403fbc
ret

Function at 0x40cb74
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 0x40cbd8
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.0040422c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408644
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cbdf
lea eax, [ebp - 0xc]
call fcn.00403fbc
ret

Function at 0x422818
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a8888
cmp dword [edi], 0
jne 0x422894
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a8884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a44ac
mov ecx, 2
call fcn.0040294c
mov edx, 0x4227f0
lea eax, [esi + 5]
call fcn.00422810
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422810
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 0x422869
mov dword [0x4a8884], 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 0x423e20
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 0x423e26
ret
Function at 0x4263e8
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 0x426439
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426420
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426410
jmp 0x426439
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 0x426421
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43059c
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.0040446c
xor eax, eax
push ebp
push 0x4306ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43069d
xor eax, eax
push ebp
push 0x430696
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040427c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43066b
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 0x43065a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040427c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040447c
mov edx, ebx
pop ecx
call fcn.0040294c
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 0x430661
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4a7314]
mov dl, 1
mov eax, dword [0x40739c]
call fcn.0040bd38
call fcn.004039f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4306d1
lea eax, [ebp - 4]
call fcn.00403fbc
ret
Function at 0x4306d8
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 0x430889
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040466c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4308a0
call fcn.004042c8
mov eax, ebx
call fcn.00421dac
mov edi, eax
dec edi
test edi, edi
jl 0x430790
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421d80
mov edx, dword [0x4435a4]
call fcn.004033b8
test al, al
je 0x43078c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00421d80
lea edx, [ebp - 0x14]
call fcn.0044ecdc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040466c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040433c
inc esi
dec edi
jne 0x43073e
mov al, byte [0x4308a4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4308b0
mov eax, dword [ebp - 0xc]
call fcn.0040d14c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404054
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.0044ecdc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4308a0
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.0044ecdc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4308a0
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, 0x4308a0
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, 0x4308bc
call fcn.0040922c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430890
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403fe0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403fe0
lea eax, [ebp - 0x14]
call fcn.00403fbc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403fe0
ret

Function at 0x4492c0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x44920c
call sub.user32.dll_EnumWindows
ret