joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ada0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
mov eax, dword [0x4d963c]
push esi
cmp eax, 0xffffffff
jne 0x40ae48
lea eax, [esp + 4]
xor esi, esi
push eax
push 0x20006
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [0x4d963c], 0
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ade3
mov esi, dword [esp + 4]
call dword [sym.imp.WINMM.dll_timeGetTime]
lea ecx, [esp + 4]
push 4
push ecx
push 4
push 0
push str._________ADMIN_TEST_SoftwareOK
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40ae22
test esi, esi
mov dword [0x4d963c], 0
je 0x40ae1d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
push str._________ADMIN_TEST_SoftwareOK
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
mov dword [0x4d963c], 1
je 0x40ae43
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
Function at 0x4106e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov al, 0x6c
push ebx
mov byte [esp + 0x11], al
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov eax, dword [0x4d9540]
lea ecx, [esp + 0xc]
push ebp
xor ebx, ebx
push esi
test ecx, ecx
push edi
mov byte [esp + 0x18], 0x4b
mov byte [esp + 0x19], 0x65
mov byte [esp + 0x1a], 0x72
mov byte [esp + 0x1b], 0x6e
mov byte [esp + 0x1c], 0x65
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x24], bl
mov dword [esp + 0x10], eax
je 0x4107a5
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x4107a5
lea eax, [esi + esi + 0xe]
push eax
call fcn.004c58a5
add esp, 4
cmp eax, ebx
je 0x4107a5
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], bx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
lea ecx, [esi + 1]
add eax, 0xc
cmp ecx, ebx
mov dword [esp + 0x10], eax
mov esi, eax
jne 0x410780
cmp eax, ebx
jne 0x41079a
push ecx
push eax
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jle 0x41079a
mov word [esi + eax*2 - 2], bx
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00401970
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edx
call ebp
mov edx, dword [0x4d9544]
mov esi, eax
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4107e3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4107e3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, ebx
je 0x410865
mov al, 0x67
mov cl, 0x73
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], al
lea eax, [esp + 0x28]
mov byte [esp + 0x28], 0x49
push eax
push esi
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], 0x44
mov byte [esp + 0x33], 0x65
mov byte [esp + 0x34], 0x62
mov byte [esp + 0x35], 0x75
mov byte [esp + 0x38], 0x65
mov byte [esp + 0x39], 0x72
mov byte [esp + 0x3a], 0x50
mov byte [esp + 0x3b], 0x72
mov byte [esp + 0x3c], 0x65
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3e], 0x65
mov byte [esp + 0x3f], 0x6e
mov byte [esp + 0x40], 0x74
mov byte [esp + 0x41], bl
call edi
cmp eax, ebx
ret
je 0x410865
call eax
test eax, eax
je 0x410865
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret
push str.ntdll.dll
mov dword [esp + 0x18], ebx
call ebp
cmp eax, ebx
je 0x4108ac
push str.NtQueryInformationProcess
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x4108ac
push ebx
lea ecx, [esp + 0x18]
push 4
push ecx
push 7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x4108ac
cmp dword [esp + 0x14], ebx
je 0x4108ac
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
Function at 0x419540
Capabilities:
Get common file path
Hide graphical window

Disassembly:
sub esp, 0x3c
push esi
mov esi, ecx
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x419554
xor eax, eax
pop esi
add esp, 0x3c
ret
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esi + 0xc4]
mov ecx, dword [esp + 4]
test eax, eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], ecx
jne 0x419609
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x24], 0x4194f0
mov dword [esp + 0x44], str.NotifyWnd_123
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push ebx
push 0
push 0
push 0
push 0
push 0
push 0
push SHChangeNotifyDeregister
push 0
push str.NotifyWnd_123
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [esi + 0xc4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc4]
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop edi
pop ebx
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41961e
push eax
call dword [sym.imp.SHELL32.dll_SHChangeNotifyDeregister]
mov dword [esi + 0x40], 0
mov edx, dword [esi + 0xc4]
lea ecx, [esp + 8]
push ecx
push 1
push 0x400
push 0x201ff
push 2
push edx
call dword [sym.imp.SHELL32.dll_SHChangeNotifyRegister]
mov dword [esi + 0x40], eax
mov eax, 1
pop esi
add esp, 0x3c
Function at 0x42a520
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2e4
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
push 8
call fcn.004c58a5
mov esi, dword [esp + 0x2fc]
xor ebx, ebx
add esp, 4
invalid
Function at 0x42c0c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop esi

Function at 0x42c0f0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x64
mov eax, dword [esp + 0x7c]
push ebx
push ebp
mov ebx, 1
push esi
cmp eax, 3
push edi
mov esi, ecx
mov dword [esp + 0x10], ebx
ja case.default.0x42c10f
jmp dword [eax*4 + 0x42c8d8]
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
invalid
Function at 0x42cbe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x148
mov eax, dword [esp + 0x160]
push ebx
push ebp
mov edx, 1
push esi
cmp eax, 3
push edi
mov ebp, ecx
mov dword [esp + 0x10], edx
ja case.0x42cc05.330
jmp dword [eax*4 + 0x42dfb8]
mov eax, dword [esp + 0x160]
mov edi, dword [esp + 0x168]
mov ebx, dword [esp + 0x164]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, edx
jne 0x42cd81
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0x3c]
lea esi, [ebp + 4]
invalid

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

Disassembly:
ret
Function at 0x42f9c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, ecx
mov dword [ebx], 0
push edi
mov eax, dword [esi + 0xa4]
cmp eax, 0x12
je 0x42f9f9
cmp eax, 0x79
jne 0x42f9ec
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 0x80
je 0x42f9f9
cmp dword [esi + 0xa4], 0x20
jne 0x42fb91
cmp dword [esp + 0x18], 0xf100
jne 0x42fb91
mov ebp, dword [sym.imp.USER32.dll_GetFocus]
mov edi, dword [esi + 4]
call ebp
cmp eax, edi
jne 0x42faf1
mov al, byte [esi + 0x80]
mov ebx, 4
test al, 0x80
je 0x42fa65
mov al, byte [esi + 0x54]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
invalid

Function at 0x4314d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0x522
mov al, byte [0x4e5124]
cmp al, bl
jne 0x43159f
mov eax, dword [0x4e3a24]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x4e5124], bl
jne 0x43158f
lea ecx, [esp + 8]
push edi
push ecx
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
pop edi
je 0x431579
mov eax, dword [esp + 0x14]
cmp eax, 5
jae 0x431575
cmp eax, 4
jne 0x431579
cmp dword [esp + 0x18], 0x5a
jb 0x431579
xor eax, eax
jmp 0x43157e
mov eax, 1
cmp al, bl
mov byte [0x4e5124], 1
sete al
mov byte [0x4e3a0c], al
mov ecx, dword [0x4e3a24]
add ecx, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], edx
mov eax, esi
pop esi
pop ebx
add esp, 0x11c
ret

Function at 0x4316a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x584
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x7c
xor eax, eax
lea edi, [esp + 0x9c]
rep stosd dword es:[edi], eax
xor ebx, ebx
lea eax, [esp + 0x98]
push ebx
push eax
push 0x1f4
push 0x29
mov dword [esp + 0xa8], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x431868
mov ecx, 0x16
xor eax, eax
lea edi, [esp + 0x40]
lea ebp, [esi + 0xa0]
mov dword [esp + 0x3c], ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
invalid

Function at 0x431702
Capabilities:
Check os version

Disassembly:
ret
Function at 0x432d20
Capabilities:
Check os version

Disassembly:
sub esp, 0x37c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x7c
xor eax, eax
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
xor ebx, ebx
lea eax, [esp + 0x84]
push ebx
push eax
push 0x1f4
push 0x29
mov dword [esp + 0x94], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x432efb
mov ecx, 0x16
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xa0]
invalid

Function at 0x432d7f
Capabilities:
Check os version

Disassembly:
ret

Function at 0x434980
Capabilities:
Terminate thread

Disassembly:
mov dword [ecx], 0x4d3f88
jmp fcn.00428fe0

Function at 0x434f3e
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
ret
Function at 0x43a370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov eax, dword [0x4d9540]
mov ecx, str.SoftwareMicrosoftWindows_DefenderWindows_Defender_Exploit_GuardControlled_Folder_AccessAllowedApplications
push esi
push edi
test ecx, ecx
mov dword [esp + 8], eax
je 0x43a3c1
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x43a3c1
push esi
lea ecx, [esp + 0xc]
call fcn.004012f0
test eax, eax
je 0x43a3c1
mov edx, dword [esp + 8]
inc esi
push esi
push str.SoftwareMicrosoftWindows_DefenderWindows_Defender_Exploit_GuardControlled_Folder_AccessAllowedApplications
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 8]
push 0xffffffffffffffff
call fcn.00401970
mov edx, dword [esp + 8]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
xor esi, esi
push eax
push ecx
push esi
push 1
push esi
push esi
push esi
push edx
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43a3ef
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 2
push eax
call fcn.0043a1b0
add esp, 4
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push 0
push ecx
push esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x43a4ab
mov ecx, dword [0x4d9544]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43a46a
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x43a46a
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
test esi, esi
je 0x43a475
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a4a0
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x43a4a0
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret
mov edx, dword [0x4d9544]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a4d8
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x43a4d8
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
test esi, esi
je 0x43a4e3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a50e
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x43a50e
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x440ec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00441060
mov eax, dword [0x4e9484]
test eax, eax
jne 0x440ef2
mov eax, dword [ebx]
push str.GdipLoadImageFromStream
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4e9484], eax
jne 0x440ef2
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x440f14
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
jne 0x440f29
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x440f45
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [ebx + 4]
test eax, eax
je 0x440f64
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 4], 0
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 4], eax
je 0x440fc7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x440fc7
mov ecx, ebp
mov edi, eax
mov edx, ecx
lea eax, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], 0
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x440fc7
mov edx, dword [esp + 0x18]
invalid

Function at 0x4410b0
Capabilities:
Check os version

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], 0x4d41c4
mov dword [esi + 0x1c], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x4e96bc]
cmp eax, ebx
jne 0x441140
mov ebp, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, 0x45
xor eax, eax
mov edi, 0x4e95a8
rep stosd dword es:[edi], eax
push 0x4e95a8
mov dword [0x4e96bc], 1
mov dword [0x4e95a8], 0x114
call ebp
cmp dword [0x4e95ac], 5
jb 0x441140
mov ecx, 0x47
xor eax, eax
mov edi, 0x4e9488
push 0x4e9488
rep stosd dword es:[edi], eax
mov dword [0x4e9488], 0x11c
call ebp
mov eax, dword [0x4e948c]
mov ecx, dword [0x4e9490]
mov dword [0x4e95ac], eax
mov dword [0x4e95b0], ecx
mov dword [esi + 0xc], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x448d93
Capabilities:
Copy file

Disassembly:
ret

Function at 0x4493f0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x449457
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44942e
push 0
push str.Create_Error_
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [0x4d9544]
lea eax, [edi - 0xc]
cmp eax, ecx
je 0x449452
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x449452
push esi
call fcn.004c5432
add esp, 4
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push 0
push ecx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 4]
push edx
push eax
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4d9544]
lea ecx, [edi - 0xc]
cmp ecx, eax
je 0x4494a3
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4494a3
push esi
call fcn.004c5432
add esp, 4
pop edi
mov eax, 1
pop esi
ret
Function at 0x47d2a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov ebp, dword [esi + 0x2c]
mov edi, dword [esi + 0x24]
cmp ebp, 4
lea ebx, [esi + 0xc4]
je 0x47d2c5
mov eax, dword [ebx]
push 5
push eax
jmp 0x47d2ca
mov ecx, dword [ebx]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0xc0]
mov dword [esi + 0x164], ebp
neg eax
sbb eax, eax
mov ecx, esi
and eax, ebx
cmp ebp, 4
mov edx, dword [eax]
mov dword [esi + 0x3358], edx
jne 0x47d329
call fcn.0047c9b0
add eax, 4
push 5
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0047c9b0
test eax, eax
je 0x47d31d
mov ecx, dword [eax + 4]
add eax, 4
mov dword [esi + 0x3358], ecx
jmp 0x47d33d
xor eax, eax
mov ecx, dword [eax]
mov dword [esi + 0x3358], ecx
jmp 0x47d33d
call fcn.0047c9b0
mov edx, dword [eax + 4]
add eax, 4
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp ebp, 4
mov dword [esp + 0x10], 1
jne 0x47d352
mov dword [esp + 0x10], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x418
push edi
call esi
mov ebx, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
jle 0x47d3c1
mov eax, dword [esp + 0x10]
and eax, 0xffff
mov dword [esp + 0x10], eax
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push ecx
mov dword [esp + 0x28], eax
push ebx
mov dword [esp + 0x30], eax
push 0x417
push edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], eax
call esi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push edx
push eax
push 0x401
push edi
call esi
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x47d37e
xor ecx, ecx
cmp ebp, 3
setne cl
and ecx, 0xffff
push ecx
push 0x8585
push 0x404
push edi
call esi
xor edx, edx
cmp ebp, 4
sete dl
and edx, 0xffff
push edx
push 0x8113
push 0x404
push edi
call esi
cmp ebp, 1
mov ebx, 0xb3b6
jne 0x47d405
jmp 0x47d427
cmp ebp, 2
jne 0x47d411
mov ebx, 0xb3b8
jmp 0x47d427
cmp ebp, 3
jne 0x47d41d
mov ebx, 0xbd80
jmp 0x47d427
cmp ebp, 4
jne 0x47d427
mov ebx, 0xb3b7
push 0
push 0xb3b6
push 0x403
push edi
call esi
push 0
push 0xb3b8
push 0x403
push edi
call esi
push 0
push 0xbd80
push 0x403
push edi
call esi
push 0
push 0xb3b7
push 0x403
push edi
call esi
push 1
push ebx
push 0x403
push edi
call esi
mov ecx, dword [esp + 0x18]
call fcn.0047ce00
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
Function at 0x4a4892
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
ret
Function at 0x4acc20
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x4d9540]
push ebx
push ebp
push esi
mov edx, dword [esp + 0x2cc]
push edi
mov dword [esp + 0x10], eax
mov ecx, 0xac
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0
push 0x208
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push 0x2b4
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4accd7
lea eax, [esp + 0x20]
test eax, eax
jne 0x4acc7c
xor ebx, ebx
jmp 0x4acc85
lea ecx, [esp + 0x20]
push ecx
call ebp
mov ebx, eax
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 1
jg 0x4acc94
cmp ebx, dword [edi - 4]
jle 0x4accaf
lea ecx, [esp + 0x10]
call fcn.0040e950
push ebx
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4accd7
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
lea esi, [esp + 0x20]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x2cc]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x4accf7
push ecx
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4acd51
mov ecx, dword [0x4d9540]
mov esi, eax
test eax, eax
mov dword [ebx], ecx
jne 0x4acd09
xor ebp, ebp
jmp 0x4acd0e
push eax
call ebp
mov ebp, eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 1
jg 0x4acd1b
cmp ebp, dword [eax - 4]
jle 0x4acd2e
mov ecx, ebx
call fcn.0040e950
push ebp
mov ecx, ebx
call fcn.004012f0
test eax, eax
je 0x4acd51
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [edx + eax], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4acd80
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4acd80
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
pop edi
pop esi
invalid

Function at 0x4ada30
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
mov edx, ecx
mov ecx, 0xad
xor eax, eax
push edi
lea edi, [esp + 4]
mov edx, dword [edx + 4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2bc]
lea ecx, [esp + 4]
or eax, 0x4008
push eax
push 0x2b4
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 8]
pop edi
add esp, 0x2b4
ret 4
Function at 0x408bd0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0xe804667e
push edi
invalid