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

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x401d72
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x401ef0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
push edi
mov dword [esp + 0x10], ecx
call esi
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.DLL_Sleep]
mov edi, eax
mov ecx, dword [esp + 0x10]
call fcn.00401f30
test eax, eax
je 0x401f26
push 0
call ebp
call esi
sub eax, edi
cmp eax, ebx
jbe 0x401f0d
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x405c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp dword [esi + 0x74], ebp
je 0x405df7
push ebx
push edi
lea ecx, [esi + 4]
call fcn.0040a8a0
lea ecx, [esi + 0x3c]
mov dword [esp + 0x2c], eax
call fcn.0040a8a0
mov ebx, dword [esi + 0xc8]
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x94]
xor edx, edx
mov dl, byte [eax + ebx]
mov eax, ecx
mov edi, edx
cdq
sub eax, edx
mov edx, dword [esi + 0x98]
sar eax, 1
lea eax, [edi + eax - 0x80]
mov edi, dword [esi + 0x7c]
mov dword [esp + 0x20], eax
xor eax, eax
mov al, byte [edx + ebx]
mov ebx, eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea edx, [ebx + eax - 0x80]
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], eax
jmp 0x405c8a
xor ebp, ebp
dec edi
mov dword [esp + 0x18], ecx
cmp eax, edi
jne 0x405c97
mov dword [esp + 0x18], ebp
cmp eax, ebp
mov dword [esp + 0x14], ecx
jne 0x405ca3
mov dword [esp + 0x14], ebp
xor edi, edi
mov edx, ecx
mov ebp, 1
imul edx, eax
dec ecx
cmp edi, ecx
lea eax, [edx + edi]
jne 0x405cb9
xor ebp, ebp
test edi, edi
mov edx, 1
jne 0x405cc4
xor edx, edx
mov ecx, dword [esi + 0xd0]
mov ebx, ecx
add ebp, ecx
sub ebx, edx
xor edx, edx
mov dl, byte [ebx + eax]
xor ebx, ebx
mov bl, byte [eax + ebp]
mov ebp, dword [esp + 0x18]
sub ebx, edx
mov edx, dword [esp + 0x20]
sub ebx, edi
lea edx, [ebx + edx + 0x7f]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov edx, ecx
sub edx, ebx
xor ebx, ebx
add ecx, eax
mov bl, byte [edx + eax]
xor edx, edx
mov dl, byte [ecx + ebp]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
sub edx, ebx
sub edx, ebp
lea ecx, [edx + ecx + 0x7f]
mov edx, dword [esp + 0x28]
test edx, edx
jl 0x405d22
cmp edx, 0xff
jle 0x405d24
xor edx, edx
test ecx, ecx
jl 0x405d30
cmp ecx, 0xff
jle 0x405d32
xor ecx, ecx
shl ecx, 8
add ecx, edx
mov edx, dword [esi + 0xd4]
xor ebx, ebx
mov bl, byte [ecx + edx]
mov edx, dword [esp + 0x1c]
mov ebp, ebx
xor ebx, ebx
mov bl, byte [edx + eax*4 + 2]
xor ecx, ecx
mov cl, byte [edx + eax*4 + 1]
mov edx, ebx
mov dword [esp + 0x28], ebp
imul ecx, ebp
imul edx, ebp
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
sar ecx, 8
mov bl, byte [ebp + eax*4]
mov ebp, dword [esp + 0x2c]
imul ebx, dword [esp + 0x28]
sar ebx, 8
sar edx, 8
mov byte [ebp + eax*4], bl
mov byte [ebp + eax*4 + 1], cl
mov byte [ebp + eax*4 + 2], dl
mov ecx, dword [esi + 0x78]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, ecx
jl 0x405ca5
mov edi, dword [esi + 0x7c]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x405c88
mov eax, dword [esi + 0xa4]
mov edx, dword [esi + 0x94]
add edx, eax
mov eax, 0xff
mov ecx, edx
pop edi
cmp ecx, eax
mov dword [esi + 0x94], edx
pop ebx
jle 0x405dd3
mov dword [esi + 0x94], 0
mov ecx, dword [esi + 0xa8]
mov edx, dword [esi + 0x98]
add edx, ecx
mov ecx, edx
mov dword [esi + 0x98], edx
cmp ecx, eax
jle 0x405df7
mov dword [esi + 0x98], 0
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x405f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x44
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea ecx, [ebx + 0x3c]
call fcn.0040a8a0
lea ecx, [ebx + 4]
mov dword [esp + 0x48], eax
call fcn.0040a8a0
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], eax
lea eax, [ecx*4]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0xcc]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x54]
mov edi, dword [ebx + 0x7c]
mov dword [esp + 0x44], eax
xor eax, eax
mov al, byte [edx + esi]
mov edx, dword [ebx + 0xc8]
mov ebp, eax
xor eax, eax
mov al, byte [edx + esi]
mov dword [esp + 0x28], ebp
mov esi, eax
mov eax, dword [esp + 0x5c]
add esi, eax
mov eax, ecx
cdq
sub eax, edx
mov dword [esp + 0x2c], esi
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, edi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
cmp edi, edx
mov dword [esp + 0x1c], edx
jle 0x406110
mov edi, eax
imul eax, ebp
imul edi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], edi
add edx, 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edx
test ecx, ecx
mov dword [esp + 0x24], 0
jle 0x4060d6
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
sub edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
sub eax, edi
mov edi, dword [esp + 0x20]
imul edi, ebp
xor ebp, ebp
imul ecx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
jmp 0x406039
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, ebp
sub eax, ecx
mov ecx, dword [esp + 0x58]
sub eax, edx
sub ecx, edi
mov edi, dword [esp + 0x10]
cdq
idiv edi
add eax, dword [esp + 0x60]
cdq
idiv edi
mov eax, dword [esp + 0x40]
add eax, ecx
mov ecx, dword [esp + 0x44]
mov edi, edx
cdq
idiv ecx
add eax, dword [esp + 0x64]
cdq
idiv ecx
test edi, edi
jge 0x406073
mov eax, dword [esp + 0x10]
add edi, eax
test edx, edx
lea eax, [edx + ecx]
jl 0x40607c
mov eax, edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
shl ecx, 2
imul eax, ecx
add edx, eax
add esi, 4
mov cl, byte [edx + edi*4]
lea eax, [edx + edi*4]
mov byte [esi - 6], cl
mov ecx, dword [esp + 0x28]
mov dl, byte [eax + 1]
mov edi, dword [esp + 0x2c]
mov byte [esi - 5], dl
mov al, byte [eax + 2]
mov edx, dword [esp + 0x58]
mov byte [esi - 4], al
mov eax, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [ebx + 0x78]
inc eax
add ebp, edi
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], edx
jl 0x40602d
mov ebp, dword [esp + 0x28]
mov esi, edi
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
inc edx
add eax, ebp
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
add edx, esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x50]
add eax, edx
mov edx, dword [ebx + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x405fdf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x10
Function at 0x4064d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e27ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
mov esi, ecx
push 0x52c324
push 0x104
mov dword [esp + 0x124], 0
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
push ecx
lea eax, [esp + 0x128]
mov ecx, esp
mov dword [esp + 8], esp
push eax
call fcn.004d8295
mov ecx, esi
call fcn.00406970
cmp eax, 1
jne 0x4065c3
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push 0x52c428
call fcn.004d8295
mov ecx, esi
call fcn.00406c20
lea ecx, [esp + 0xc]
push 0x105
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.004d858e
push str.MacromedFlashFlash.ocx
lea ecx, [esp + 8]
mov byte [esp + 0x120], 1
call fcn.004d858e
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x120], 2
call fcn.004d8938
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
cmp esi, 0x20
jae 0x4065f4
lea ecx, [esp + 4]
mov byte [esp + 0x11c], 1
call fcn.004d8520
lea ecx, [esp + 8]
mov byte [esp + 0x11c], 0
call fcn.004d8520
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004d8520
xor eax, eax
mov ecx, dword [esp + 0x114]
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 4
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x406606
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea ecx, [esp + 4]
mov byte [esp + 0x11c], 1
call fcn.004d8520
lea ecx, [esp + 8]
mov byte [esp + 0x11c], 0
call fcn.004d8520
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004d8520
mov eax, 1
jmp 0x4065dc
Function at 0x406c20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e2850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
push str.RUNDLL32.EXE_SETUPAPI.DLL_InstallHinfSection_DefaultInstall_132
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x18], eax
call fcn.004d858e
push 0x52c428
lea ecx, [esp + 8]
mov byte [esp + 0x68], 1
call fcn.004d8938
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.004d8950
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
pop edi
jne 0x406ce5
lea ecx, [esp]
mov byte [esp + 0x60], al
call fcn.004d8520
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call fcn.004d8520
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov eax, dword [esp + 4]
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
lea ecx, [esp + 4]
mov byte [esp + 0x64], 0
call fcn.004d8520
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0xffffffff
call fcn.004d8520
mov ecx, dword [esp + 0x5c]
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret 4
Function at 0x4076a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e2960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x20], ebx
call fcn.004de6df
mov eax, dword [eax + 4]
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x90]
lea eax, [esp + 0xc]
push 4
push eax
lea ecx, [esp + 0x30]
call fcn.004d2a51
mov ecx, dword [esp + 0xc]
push str..JPG
push ecx
mov byte [esp + 0x28], 1
call fcn.004c07c0
add esp, 8
cmp eax, ebx
jne 0x407844
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push ecx
call fcn.0044d400
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x407844
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
cmp eax, ebx
je 0x407816
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
mov dword [esi + 0xac], ecx
push ecx
push eax
lea ecx, [esi + 0x3c]
mov dword [esi + 0xb0], edx
call fcn.0040a8b0
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
call fcn.004de6df
mov eax, dword [eax + 4]
push 0xffffffffffffffff
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x90]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp ecx, ebx
mov dword [esi + 0xbc], 0x168
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xc0], eax
jne 0x4077a8
mov ecx, dword [esi + 0xb4]
shr ecx, 2
mov dword [esi + 0xc4], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
jne 0x4077c7
mov edx, dword [esi + 0xb8]
shr edx, 2
mov dword [esi + 0xc8], edx
jmp 0x4077d6
mov ecx, dword [esi + 0xb8]
shr ecx, 2
mov dword [esi + 0xc8], ecx
push eax
mov ecx, esi
call fcn.00407390
mov edx, dword [esi + 0xb8]
mov eax, dword [esi + 0xb4]
push ebx
push 0x20
push edx
push eax
lea ecx, [esi + 0x74]
call fcn.00409e20
push 5
mov ecx, esi
call fcn.004d7c87
call fcn.004de6df
mov eax, dword [eax + 4]
push 0xffffffffffffffff
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x90]
jmp 0x407875
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
push eax
push str.Memory_error.
push ecx
call fcn.004d8829
mov eax, dword [eax]
push ebx
push ebx
push eax
mov byte [esp + 0x2c], 2
call fcn.004dd168
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x2c]
jmp 0x407870
lea edx, [esp + 0x28]
lea eax, [esp + 0x30]
push edx
push str.Cannot_open_image
push eax
call fcn.004d8829
mov eax, dword [eax]
push ebx
push ebx
push eax
mov byte [esp + 0x2c], 3
call fcn.004dd168
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x30]
call fcn.004d8520
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call fcn.004d8520
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.004d8520
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x408dc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e2b5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 0xa
lea ecx, [esi + 0x38]
mov dword [esp + 0xc], esi
call fcn.004d4269
xor edi, edi
push 0xa
lea ecx, [esi + 0x54]
mov dword [esp + 0x18], edi
call fcn.004d4269
mov eax, dword [0x52a0ac]
mov dword [esi + 0x70], eax
mov edx, dword [0x52a0ac]
lea ecx, [esi + 0x78]
mov dword [ecx], edx
push 0x52c320
mov byte [esp + 0x18], 3
mov word [esi + 0x8c], di
mov word [esi + 0x8e], di
mov dword [esi + 0x74], edi
call fcn.004d86a9
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x409c50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e2c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
xor eax, eax
mov ecx, 1
push eax
push 0x20
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], ecx
push 8
push 8
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esi], 0x4eae58
mov dword [esi + 0x20], 0x20
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 4], eax
mov dword [esi + 0x30], eax
call fcn.00409d30
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40ce90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e2ecb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x52a0ac]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
xor edi, edi
push 0x52c320
mov dword [esp + 0x18], edi
call fcn.004d86a9
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1c], 0xffffff
mov dword [esi + 0x40], 1
mov dword [esi + 0x2c], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40dfd0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e30c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
call fcn.004de6df
mov eax, dword [eax + 4]
lea ecx, [esp + 0xc]
add eax, 0xd0
push eax
call fcn.004d8295
mov eax, dword [esi + 0x1c]
mov ecx, dword [0x52a0ac]
mov dword [esp + 0x20], 0
mov edi, dword [eax + 4]
mov dword [esp + 8], ecx
test edi, edi
mov byte [esp + 0x20], 1
je 0x40e0a3
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov bl, 2
mov eax, edi
mov edi, dword [edi]
mov esi, dword [eax + 8]
test esi, esi
je 0x40e09d
mov ecx, esi
call fcn.0040e570
cmp eax, 0xa
jl 0x40e09d
lea edx, [esp + 0x14]
push 0x50f7a0
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004d87b5
add esi, 0xc
lea ecx, [esp + 0x18]
push esi
push eax
push ecx
mov byte [esp + 0x34], bl
call fcn.004d874f
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call fcn.004d8659
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004d8520
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 1
call fcn.004d8520
mov edx, dword [esp + 0x10]
push edx
call ebp
test edi, edi
jne 0x40e02e
pop ebp
pop ebx
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.004d8520
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004d8520
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x40ff10
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x138
push ebx
push esi
push edi
mov ecx, 9
mov esi, str.D27CDB6E_AE6D_11CF_96B8_444553540000
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
xor bl, bl
movsw word es:[edi], word [esi]
push eax
push 0x20019
push 0
push str.CLSID
push SysReAllocStringLen
mov dword [esp + 0x20], 0x100
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ffd1
lea ecx, [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x54]
push edx
push eax
push 0
push ecx
mov esi, 1
call edi
test eax, eax
jne 0x40ffc6
lea edx, [esp + 0x44]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.004c07c0
add esp, 8
test eax, eax
je 0x40ffc4
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push 0
push 0
push 0
lea ecx, [esp + 0x54]
mov eax, esi
push edx
mov edx, dword [esp + 0x24]
push ecx
push eax
push edx
mov dword [esp + 0x2c], 0x100
inc esi
call edi
test eax, eax
je 0x40ff80
jmp 0x40ffc6
mov bl, 1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop esi
pop ebx
add esp, 0x138
ret
Function at 0x410270
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3468
push eax
mov al, byte [0x52c4ce]
mov dword fs:[0], esp
sub esp, 0x64
test al, al
push ebx
push ebp
push esi
push edi
mov ebp, ecx
je 0x4102af
mov al, byte [0x52c4cc]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
call fcn.0040ff10
test al, al
mov byte [0x52c4cc], al
je 0x4102df
call fcn.00410530
mov dword [0x50f7cc], eax
mov al, byte [0x52c4cc]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
push str._Embedded__
lea ecx, [esp + 0x1c]
call fcn.004d858e
push str.flashplayer6_winax.exe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x80], 0
call fcn.004d88fc
mov esi, dword [ebp + 0x44]
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004d8295
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00435a20
push ecx
lea edx, [esp + 0x18]
mov bl, 1
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x84], bl
call fcn.004d8295
mov ecx, esi
call fcn.004464c0
test eax, eax
je 0x410423
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x30]
lea edx, [esp + 0x30]
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x2c], eax
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x50], eax
call fcn.004d8950
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
call fcn.0040ff10
test al, al
jne 0x410423
mov eax, dword [0x52a0ac]
mov dword [esp + 0x10], eax
push 0x88e2
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 2
call fcn.004d95f9
push str.Flash_Player_installation
lea ecx, [esp + 0x20]
call fcn.004d858e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1c]
push 0x2030
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x1c]
mov byte [0x52c4cd], bl
call fcn.004d8520
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], bl
call fcn.004d8520
call fcn.0040ff10
test al, al
mov byte [0x52c4cc], al
je 0x410440
call fcn.00410530
mov dword [0x50f7cc], eax
mov al, byte [0x52c4cc]
mov byte [0x52c4ce], bl
lea ecx, [esp + 0x14]
mov bl, al
mov byte [esp + 0x7c], 0
call fcn.004d8520
lea ecx, [esp + 0x18]
mov dword [esp + 0x7c], 0xffffffff
call fcn.004d8520
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov al, bl
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret