joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1024209
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [0x1027678], edi
je 0x1024221
mov eax, 0x10dd
jmp 0x102427b
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x1027678
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x102421a
push esi
mov esi, dword [0x102766c]
mov dword [0x1027674], edi
mov dword [0x1027688], edi
mov dword [0x1027684], edi
mov dword [0x102767c], edi
mov dword [0x1027680], edi
jmp 0x1024274
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x102425f
xor eax, eax
pop esi
pop edi
leave
ret

Function at 0x1024283
Capabilities:
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1027678], eax
je 0x102429e
mov eax, 0x10dd
leave
ret
push ebx
push esi
push edi
mov edi, dword [0x1027688]
xor ebx, ebx
cmp edi, ebx
je 0x10242e8
lea eax, [ebp - 4]
push eax
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [edi + 4], ebx
jne 0x10242d9
mov esi, dword [edi + 0x10]
cmp esi, ebx
je 0x10242d9
call fcn.010241e5
mov dword [edi + 0x10], ebx
mov esi, dword [edi]
push edi
call fcn.0101cbfd
pop ecx
mov edi, esi
cmp esi, ebx
jne 0x10242ad
mov dword [0x1027688], ebx
call fcn.01023fb9
mov esi, dword [0x1027684]
cmp esi, ebx
je 0x1024315
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.0101cbfd
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10242fd
pop edi
pop esi
mov dword [0x1027684], ebx
mov dword [0x1027678], ebx
xor eax, eax
pop ebx
leave
ret
Function at 0x10245a0
Capabilities:
Suspend thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x102767c]
test eax, eax
jne 0x1024614
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [ebp + 8]
cmp edi, eax
jne 0x10245c0
xor eax, eax
jmp 0x1024613
push esi
push 8
call fcn.0101cbdf
mov esi, eax
pop ecx
test esi, esi
jne 0x10245d4
push 8
pop edi
jmp 0x10245ef
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1024600
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.0101cbfd
pop ecx
and dword [0x1027680], 0
mov dword [0x102767c], edi
mov eax, edi
jmp 0x1024612
mov eax, dword [0x1027684]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x1027684], esi
xor eax, eax
pop esi
pop edi
pop ebp
ret 4
Function at 0x102481b
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1027678], eax
je 0x1024839
mov eax, 0x10dd
jmp 0x102491a
mov eax, dword [0x102767c]
test eax, eax
jne 0x102491a
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x1024856
push 6
pop eax
jmp 0x1024919
cmp dword [edi], 0
jne 0x102486e
push 6
pop eax
mov dword [0x102767c], eax
mov dword [0x1027680], edi
jmp 0x1024919
push ebx
push esi
push 0x18
call fcn.0101cbdf
mov esi, eax
pop ecx
test esi, esi
jne 0x1024883
push 8
pop edi
jmp 0x10248fc
mov edi, dword [edi]
push 0
push dword [ebp + 0xc]
call fcn.01023f00
movzx ecx, byte [edi + 0x17]
mov ebx, dword [edi + 0x18]
xor edx, edx
sub ebx, ecx
cmp ecx, edx
je 0x10248f1
cmp ecx, 0x17
ja 0x10248f1
cmp dword [edi + 0x1c], eax
jne 0x10248f1
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push ebx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10248c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10248fc
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x1027688]
mov dword [esi], eax
mov dword [0x1027688], esi
xor eax, eax
jmp 0x1024917
push 9
pop edi
cmp dword [0x1027674], edx
jne 0x1024902
mov dword [0x102767c], edi
test esi, esi
je 0x102490d
push esi
call fcn.0101cbfd
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x1027680], eax
mov eax, edi
pop esi
pop ebx
pop edi
leave
ret 8

Function at 0x1025167
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp + 0xc]
push eax
push 1
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10251c8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], 4
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x10251bf
cmp dword [ebp - 0xc], 4
je 0x10251bf
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xc]
push eax
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x102520b
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], esi
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x1025202
cmp dword [ebp - 0xc], esi
je 0x1025202
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x102521a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1027018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea edx, [ebp - 0x10c]
push edx
push 1
xor esi, esi
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1025292
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push edi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0102302f
leave
ret 0xc

Function at 0x1025400
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x101c968
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1025452
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x101c948
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x1025499
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x102724c]
sub esp, 0x10
cmp eax, 0xffffffff
jne 0x102551d
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x101ca28
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x102550c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x101ca1c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1025503
cmp dword [ebp - 0xc], 4
jne 0x1025503
cmp dword [ebp - 0x10], eax
je 0x1025503
mov dword [0x102724c], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x102724c]
cmp eax, 0xffffffff
jne 0x102551d
xor eax, eax
mov dword [0x102724c], eax
leave
ret
Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x405f50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x54
call fcn.00403dac
adc byte [esi - 0x6c], dl
cmp dword [ecx + 0x30], esp
add byte [eax], al
add byte [ebx + 0x708b0c40], cl
sbb al, 0xad
cmp byte [eax + 0x1c], 0x18
je 0x405f70
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00403dac
mov al, 0xd0
mov ecx, edx
mov edi, eax

Function at 0x405f7f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00403dac
mov dl, 0x73
xchg ebp, eax
xchg edx, eax
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x405f99
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x405f99
call fcn.00403dac
clc
invalid

Function at 0x406927
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x45fdcc], 0
push esi
jne 0x40695e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406938
mov dword [ecx*4 + 0x45fdc8], eax
inc ecx
cmp ecx, 0x100
jl 0x406933
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40698f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x45fdc8]
xor eax, esi
inc ecx
dec edx
jne 0x406971
pop edi
not eax
pop esi
ret 0xc
Function at 0x40106f
Capabilities:
Accept command line arguments
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
call section..text
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.0040103b
pop ecx
pop ecx
push eax
call fcn.0040103b
pop ecx
pop ecx
mov edi, 0x2018
push edi
xor ebx, ebx
push ebx
push ebx
push 2
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
jne 0x4010c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
or eax, 0x10000
jmp 0x4011c5
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x4010e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
or eax, 0x20000
jmp 0x4011c5
cmp eax, ebx
je 0x4010f6
movzx eax, ax
or eax, 0x30000
jmp 0x4011c5
cmp dword [esi], 3
jne 0x4011c0
cmp dword [esi + 4], edi
jne 0x4011c0
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
cmp eax, ebx
jl 0x4011a6
xor eax, eax
cmp dword [esi + 0x14], ebx
setne al
add eax, 0x8000
push eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [esi + 0x1018]
cmp byte [eax], bl
je 0x40113c
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 8
push ebx
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
je 0x40118e
cmp dword [esi + 0x10], ebx
mov eax, str.DllUnregisterServer
jne 0x40115e
mov eax, str.DllRegisterServer
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x401175
call eax
mov dword [esi + 8], 4
jmp 0x401182
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 8], 3
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40119e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
mov dword [esi + 8], 2
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x4011b0
mov dword [esi + 0xc], eax
mov dword [esi + 8], 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 0x1c9b28da
jmp 0x4011c5
mov eax, 0x40000
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001670
Capabilities:
Create process on windows

Disassembly:
call fcn.01002b21
push 5
mov ecx, 0x10011bc
push ecx
push ecx
push eax
push 0x10011b0
push dword [0x1004090]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp fcn.01002731

Function at 0x1001d7f
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push esi
mov byte [0x1004099], 1
call fcn.01002c6d
xor ecx, ecx
cmp word [eax], cx
push ecx
push 0x10017a7
push dword [0x1004090]
je 0x1001da5
push 0x66
jmp 0x1001da7
push 0x65
push dword [0x1004088]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
call fcn.0100294f
mov eax, esi
dec eax
pop esi
je 0x1001dc7
dec eax
je 0x1001de7
dec eax
jne 0x1001de7
ret
call fcn.01002b74
push 5
mov ecx, 0x10011bc
push ecx
push ecx
push eax
push 0x10011b0
push dword [0x1004090]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp fcn.01001649
Function at 0x10022da
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov cx, word [eax]
cmp cx, 0x22
push 2
pop edx
jne 0x100229a
add eax, edx
mov cx, word [eax]
test cx, cx
je 0x1002292
cmp cx, 0x22
jne 0x1002282
cmp word [eax], 0x22
jne 0x10022b2
jmp 0x10022b0
cmp cx, 0x20
jbe 0x10022b2
add eax, edx
cmp word [eax], 0x20
ja 0x10022a0
jmp 0x10022b2
cmp cx, 0x20
ja 0x10022ba
add eax, edx
mov cx, word [eax]
test cx, cx
jne 0x10022aa
push 0xa
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.01001f41
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.01002e8c
jmp 0x1002270

Function at 0x100294f
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push dword [0x1004024]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100298d
push dword [0x1004028]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x52ee0324
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x3b2349b5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x44c449
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5edee0]
jne 0x44c453
repz ret
jmp fcn.0044ea78

Function at 0x44ee00
Capabilities:
Parse pe header

Disassembly:
push edi
pop edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x44ee16
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44ee12
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
push edx
pop eax
pop ebp
ret

Function at 0x44ee40
Capabilities:
Enumerate pe sections

Disassembly:
push esi
pop esi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
sub edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
je 0x44ee7d
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x44ee75
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x44ee7f
inc edx
add eax, 0x28
cmp edx, esi
jb 0x44ee65
sub eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44f13e
Capabilities:
Terminate process

Disassembly:
push ecx
pop ecx
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0044f015
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x452e2e
Capabilities:
Query environment variable

Disassembly:
push eax
pop eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
pop esi
sub ecx, ecx
cmp esi, ecx
jne 0x452e43
xor eax, eax
pop esi
ret
cmp word [esi], cx
je 0x452e58
add eax, 2
cmp word [eax], cx
jne 0x452e48
add eax, 2
cmp word [eax], cx
jne 0x452e48
push ebx
sub eax, esi
lea ebx, [eax + 2]
push edi
push ebx
call fcn.004529d9
push eax
pop edi
pop ecx
or edi, edi
jne 0x452e79
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push edi
pop eax
pop edi
pop ebx
pop esi
ret
push ebx
push esi
push edi
call fcn.0044c460
add esp, 0xc
jmp 0x452e6c
Function at 0x456108
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5edee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00451982
and dword [ebp - 0x14], 0
cmp dword [0x5efc54], 0
mov dword [ebp - 0x18], eax
jne 0x4561bb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x456263
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x456263
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5efc54], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5efc58], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5efc5c], eax
call edi
push eax
call esi
mov dword [0x5efc64], eax
test eax, eax
je 0x4561bb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5efc60], eax
mov eax, dword [0x5efc60]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x456214
cmp dword [0x5efc64], ecx
je 0x456214
push eax
call esi
push dword [0x5efc64]
push eax
pop edi
call esi
mov ebx, eax
or edi, edi
je 0x456214
or ebx, ebx
je 0x456214
call edi
or eax, eax
je 0x45620b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
or eax, eax
je 0x45620b
test byte [ebp - 8], 1
jne 0x456214
or dword [ebp + 0x10], 0x200000
jmp 0x456247
mov eax, dword [0x5efc58]
cmp eax, dword [ebp - 0x18]
je 0x456247
push eax
call esi
or eax, eax
je 0x456247
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x456247
mov eax, dword [0x5efc5c]
cmp eax, dword [ebp - 0x18]
je 0x456247
push eax
call esi
or eax, eax
je 0x456247
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5efc54]
call esi
or eax, eax
je 0x456263
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x456265
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c449
leave
ret
Function at 0x457d0f
Capabilities:
Clear file content

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push 1
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.00455697
mov dword [ebp - 0x18], eax
and eax, edx
add esp, 0x10
mov dword [ebp - 0x14], edx
cmp eax, 0xffffffff
je 0x457d97
push 2
push ebx
push ebx
push dword [ebp + 8]
call fcn.00455697
push eax
pop ecx
and ecx, edx
add esp, 0x10
cmp ecx, 0xffffffff
je 0x457d97
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
sub esi, eax
sbb edi, edx
js 0x457e2c
jg 0x457d70
cmp esi, ebx
jbe 0x457e2c
mov ebx, 0x1000
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
or eax, eax
jne 0x457da3
call fcn.0044f1e2
mov dword [eax], 0xc
call fcn.0044f1e2
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
push 0x8000
push dword [ebp + 8]
call fcn.0045847c
pop ecx
pop ecx
mov dword [ebp - 8], eax
test edi, edi
jl 0x457dc3
jg 0x457dbf
cmp esi, ebx
jb 0x457dc3
push ebx
pop eax
jmp 0x457dc5
push esi
pop eax
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00454353
add esp, 0xc
cmp eax, 0xffffffff
je 0x457e0f
cdq
sub esi, eax
sbb edi, edx
js 0x457de6
jg 0x457db5
test esi, esi
jne 0x457db5
mov esi, dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0045847c
pop ecx
pop ecx
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
sub ebx, ebx
jmp 0x457e95
call fcn.0044f1f5
cmp dword [eax], 5
jne 0x457e24
call fcn.0044f1e2
mov dword [eax], 0xd
or esi, 0xffffffff
mov dword [ebp - 0xc], esi
jmp 0x457de9
cmp edi, ebx
jg 0x457ea1
jl 0x457e36
cmp esi, ebx
jae 0x457ea1
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00455697
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x457d97
push dword [ebp + 8]
call fcn.00456bb7
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
mov dword [ebp - 0x10], eax
and eax, edx
mov dword [ebp - 0xc], edx
cmp eax, 0xffffffff
jne 0x457ea1
call fcn.0044f1e2
mov dword [eax], 0xd
call fcn.0044f1f5
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
and esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x457d97
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00455697
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x457d97
sub eax, eax
jmp 0x457d9e
Function at 0x40148e
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x473eb0]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x401523
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x4014e0
cmp dword [ebp + 0x10], ebx
jne 0x401517
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.0040148e
test eax, eax
jne 0x4014f2
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014c7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00406482
cmp eax, ebx
je 0x40152a
push ebx
push dword [0x473eb0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x401523
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x473eb0], ebx
jne 0x401520
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x401520
jmp 0x401523