joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42df89
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x45227f
call fcn.004435ac
sub esp, 0x2c8
push ebx
push esi
push edi
lea eax, [ebp - 0x1d0]
push dword [ebp + 8]
xor edi, edi
xor ebx, ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x1d1], 0x2f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x42dfd7
lea eax, [ebp - 0x1d0]
push 0x45af24
push eax
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x1d0]
push eax
call esi
cmp dword [ebp + 0x10], 1
jne 0x42dffa
lea eax, [ebp - 0x2d4]
push 0x104
push eax
call fcn.0042fff3
lea eax, [ebp - 0x2d4]
push 0x45a4d4
push eax
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x2d4]
push eax
call esi
push edi
push edi
push edi
push edi
push 0x7530
push 0x45a148
lea ecx, [ebp - 0xcc]
call fcn.0042e11e
mov dword [ebp - 0xcc], 0x454df0
push 0x80400100
lea eax, [ebp - 0x1d0]
push edi
push eax
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], edi
call fcn.00450cea
test al, al
je 0x42e0ed
lea ecx, [ebp - 0xcc]
call fcn.004515a6
mov esi, eax
push esi
call fcn.00442e85
mov ebx, eax
pop ecx
lea eax, [ebp + 8]
lea ecx, [ebp - 0xcc]
push eax
push esi
push ebx
call fcn.00450e30
cmp dword [ebp + 8], esi
je 0x42e08f
push ebx
call fcn.00442b3f
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0xcc]
call fcn.0042e39b
cmp ebx, edi
je 0x42e0ed
push edi
push 0x80
push 2
push edi
push edi
lea eax, [ebp - 0x2d4]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42e0e2
lea eax, [ebp + 0xc]
push edi
push eax
push dword [ebp + 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x42e0e2
push ebx
call fcn.00442b3f
pop ecx
xor ebx, ebx
cmp esi, edi
je 0x42e0ed
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x10], 2
je 0x42e0fc
push ebx
call fcn.00442b3f
pop ecx
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.0042e347
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14

Function at 0x42ffb3
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x430034
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, 0x4000
test ebx, ebx
je 0x430074
cmp ebx, 0x200
je 0x430065
cmp ebx, 0x1000
je 0x430059
cmp ebx, esi
je 0x430074
jmp 0x43006f
push 3
mov ecx, 0xc0000000
pop eax
push 2
jmp 0x43007e
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or eax, 0xffffffff
jmp 0x4300af
push 1
mov ecx, SysReAllocStringLen
pop eax
push 3
pop edx
push edi
push 0
push 0x80
push edx
push 0
push eax
push ecx
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp ebx, esi
mov edi, eax
jne 0x4300ac
cmp edi, 0xffffffff
je 0x4300aa
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4300ac
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4309b9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor al, al
cmp byte [esi], al
je 0x4309f2
cmp byte [esi + 1], 0x3a
jne 0x4309f2
cmp byte [esi + 2], al
jne 0x4309f2
mov byte [ebp - 0x102], 0x5c
mov byte [ebp - 0x101], al
lea eax, [ebp - 0x104]
push eax
call fcn.00430648
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
jne 0x430a15
or eax, eax
leave
ret
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
leave
ret

Function at 0x430f56
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 8], 0x105
je 0x430faa
lea eax, [ebp - 0x214]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x430fae
xor eax, eax
jmp 0x430fd1
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x430fc6
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 4
Function at 0x43158e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0xc]
lea eax, [ebp - 0x68]
push eax
call edi
mov esi, str.MS_Shell_Dlg
lea eax, [ebp - 0x68]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor ebx, ebx
test eax, eax
jne 0x43161e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionFontSubstitutes
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x43161e
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x28
push eax
lea eax, [ebp - 0x90]
push eax
push ebx
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x43161e
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x68]
push eax
call edi
cmp dword [0x4608bc], ebx
jne 0x43162b
call fcn.004314d4
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x431637
mov eax, dword [0x4608b8]
push dword [0x4608bc]
mov dword [ebp + 0xc], eax
xor esi, esi
call fcn.004300c3
mov edi, eax
cmp edi, ebx
je 0x43166f
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x43165e
mov esi, edi
push dword [0x4608bc]
call fcn.004300f9
cmp esi, ebx
mov edi, eax
je 0x431649
cmp esi, ebx
je 0x4316ac
push 0x20
lea eax, [ebp - 0x24]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [ebp - 0x29], 1
mov al, byte [esi + 0x4d]
mov byte [ebp - 0x27], al
mov al, byte [esi + 0x4c]
mov byte [ebp - 0x28], al
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
push 0xffffffffffffffb8
mov byte [ebp - 0x26], 4
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x40], eax
mov al, byte [esi + 0x48]
mov byte [ebp - 0x25], al
jmp 0x4316de
lea eax, [ebp - 0x24]
push str.Arial
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffb8
imul eax, dword [ebp + 0x10]
cdq
pop ecx
mov byte [ebp - 0x26], 4
idiv ecx
mov byte [ebp - 0x28], 7
mov byte [ebp - 0x25], 0x22
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x29], 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], ebx
neg eax
sbb eax, eax
mov byte [ebp - 0x2a], bl
and eax, 0x12c
mov dword [ebp - 0x3c], ebx
add eax, 0x190
cmp dword [ebp + 0x18], ebx
mov dword [ebp - 0x30], eax
setne al
cmp dword [ebp + 0x1c], ebx
mov byte [ebp - 0x2c], al
setne al
mov byte [ebp - 0x2b], al
mov eax, dword [ebp + 0x24]
lea eax, [eax + eax*4]
shl eax, 1
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x4318b3
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [esp + 4], 0
je 0x4318e7
cmp dword [0x46090c], 0
jne 0x4318e2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push sym.DEMO32.EXE_KeyboardHookProc
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [0x46090c], eax
jne 0x4318fe
xor eax, eax
ret 4
mov eax, dword [0x46090c]
test eax, eax
je 0x4318e2
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
and dword [0x46090c], 0
push 1
pop eax
jmp 0x4318e4

Function at 0x4319ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov ecx, dword [ebp + 8]
xor edx, edx
cmp ecx, edx
push edi
jl 0x431ade
cmp ecx, 3
je 0x431ade
cmp dword [0x46091c], edx
jne 0x431ade
cmp dword [0x460914], edx
mov edi, dword [ebp + 0xc]
je 0x431abd
cmp edi, 0x12
je 0x431abd
mov eax, dword [ebp + 0x10]
test eax, 0x80000000
jne 0x431abd
cmp dword [0x460920], edx
je 0x431a52
cmp dword [0x4608fc], edi
jne 0x431a52
push eax
push edi
jmp 0x431ae4
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov dword [0x460920], edx
mov dword [0x4608fc], edi
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
mov dword [ebp + 0xc], edx
call esi
test ah, 0x80
je 0x431a85
mov dword [ebp + 0xc], 2
push 0x11
call esi
test ah, 0x80
je 0x431a92
or dword [ebp + 0xc], 1
push 0x12
call esi
test ah, 0x80
pop esi
je 0x431aa0
or dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x460918]
test eax, eax
je 0x431abd
lea ecx, [ebp - 0x30]
push ecx
push 9
push dword [0x460914]
call eax
cmp dword [0x45b730], 0
je 0x431ad9
mov eax, dword [0x46090c]
test eax, eax
je 0x431ad9
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
push eax
jmp 0x431aeb
push 1
pop eax
jmp 0x431af1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
push dword [0x46090c]
call dword [sym.imp.USER32.dll_CallNextHookEx]
pop edi
leave
ret 0xc
Function at 0x431c37
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
jge 0x431c5a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x460908]
call dword [sym.imp.USER32.dll_CallNextHookEx]
jmp 0x431caf
mov edi, dword [ebp + 0x10]
mov ecx, 0x100
mov edx, 0x104
mov eax, dword [edi]
cmp eax, ecx
je 0x431c71
cmp eax, edx
jne 0x431ca7
cmp dword [0x4608f4], ebx
jne 0x431cb6
mov eax, dword [edi + 4]
and eax, 0xff
cmp eax, dword [0x4608f8]
jne 0x431caf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov dword [0x460900], eax
mov dword [0x4608f4], 1
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x431caf
cmp dword [0x4608f4], ebx
jne 0x431cb6
xor eax, eax
jmp 0x431da7
cmp eax, ecx
push esi
je 0x431cbf
cmp eax, edx
jne 0x431ced
mov eax, dword [edi + 4]
and eax, 0xff
cmp eax, dword [0x4608f8]
jne 0x431ced
push dword [0x460908]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push ebx
mov dword [0x460908], ebx
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x431da4
mov eax, dword [0x4608e8]
mov edx, dword [0x4608ec]
lea ecx, [eax + eax*4]
inc eax
mov dword [0x4608e8], eax
lea esi, [edx + ecx*4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x460900]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov ecx, dword [0x4608e8]
mov eax, dword [0x4608f0]
lea edx, [ecx + ecx*4 + 0x19]
shl edx, 2
cmp edx, eax
jb 0x431da4
cmp eax, 0x100000
jb 0x431d4b
sub ecx, 0x32
mov dword [0x4608e8], ecx
jmp 0x431da4
add eax, 0x3e8
mov esi, 0x7ffe
push eax
push esi
mov dword [0x4608f0], eax
call fcn.00430c23
mov ecx, dword [0x4608f0]
mov edi, eax
add ecx, 0xfffffc18
xor eax, eax
test ecx, ecx
jbe 0x431d92
mov ecx, dword [0x4608ec]
mov cl, byte [ecx + eax]
mov byte [eax + edi], cl
mov ecx, dword [0x4608f0]
inc eax
add ecx, 0xfffffc18
cmp eax, ecx
jb 0x431d75
push dword [0x4608ec]
push esi
call fcn.00430cfe
mov dword [0x4608ec], edi
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x4323ae
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 4], ebx
je 0x4323ec
mov eax, dword [esi]
push ebx
push 0x11
mov byte [eax], bl
mov eax, dword [esi]
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], 0x11
call edi
mov ecx, dword [esi]
mov dword [ebp - 4], 1
mov byte [ecx + 3], al
add dword [esi], 4
cmp dword [ebp + 0xc], ebx
je 0x43241b
cmp dword [ebp + 0x10], ebx
mov eax, dword [esi]
je 0x4323fc
mov byte [eax], bl
jmp 0x4323ff
mov byte [eax], 4
mov eax, dword [esi]
push ebx
push 0x12
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], 0x12
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
inc dword [ebp - 4]
cmp dword [ebp + 0x14], ebx
je 0x43245b
cmp dword [ebp + 0x10], ebx
jne 0x432431
cmp dword [ebp + 0xc], ebx
je 0x432431
mov eax, dword [esi]
mov byte [eax], 4
jmp 0x432435
mov eax, dword [esi]
mov byte [eax], bl
mov eax, dword [esi]
push ebx
push 0x10
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax], bl
mov eax, dword [esi]
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], 0x10
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
inc dword [ebp - 4]
cmp dword [ebp + 0x10], ebx
jne 0x43246c
cmp dword [ebp + 0xc], ebx
je 0x43246c
mov eax, dword [esi]
mov byte [eax], 4
jmp 0x432470
mov eax, dword [esi]
mov byte [eax], bl
mov eax, dword [esi]
push ebx
mov byte [eax + 1], 1
mov ecx, dword [esi]
mov eax, dword [ebp + 0x18]
push eax
mov byte [ecx + 2], al
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
inc dword [ebp - 4]
cmp dword [ebp + 0x10], ebx
mov eax, dword [esi]
jne 0x43249e
cmp dword [ebp + 0xc], ebx
je 0x43249e
mov byte [eax], 5
jmp 0x4324a1
mov byte [eax], 1
mov eax, dword [esi]
push ebx
mov byte [eax + 1], 1
mov ecx, dword [esi]
mov eax, dword [ebp + 0x18]
push eax
mov byte [ecx + 2], al
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
inc dword [ebp - 4]
cmp dword [ebp + 0x14], ebx
mov eax, dword [esi]
je 0x4324f5
cmp dword [ebp + 0x10], ebx
jne 0x4324d4
cmp dword [ebp + 0xc], ebx
je 0x4324d4
mov byte [eax], 5
jmp 0x4324d7
mov byte [eax], 1
mov eax, dword [esi]
push ebx
push 0x10
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], 0x10
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
mov eax, dword [esi]
inc dword [ebp - 4]
cmp dword [ebp + 0xc], ebx
je 0x43251b
mov byte [eax], 1
mov eax, dword [esi]
push ebx
push 0x12
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], 0x12
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
mov eax, dword [esi]
inc dword [ebp - 4]
cmp dword [ebp + 0x10], ebx
je 0x43253f
mov byte [eax], 1
mov eax, dword [esi]
push ebx
push 0x11
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], 0x11
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433c00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
push str.QuickTime.qts
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x433c48
lea ecx, [esp + 0x10]
push 0x104
push ecx
push eax
call esi
test eax, eax
jbe 0x433c48
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea eax, [esp + 0x10]
push 0x104
push eax
push 0
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jbe 0x433cdc
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0xf]
lea ecx, [esp + 0x10]
cmp eax, ecx
jb 0x433cdc
mov cl, byte [eax]
cmp cl, 0x5c
je 0x433c91
cmp cl, 0x2f
je 0x433c91
dec eax
lea edx, [esp + 0x10]
cmp eax, edx
jae 0x433c7a
jmp 0x433cdc
lea ecx, [esp + 0x10]
cmp eax, ecx
jb 0x433cdc
mov byte [eax + 1], 0
mov edi, str.QuickTime.qts
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ebx, eax
test ebx, ebx
jne 0x433d5c
lea ecx, [esp + 0x10]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jbe 0x433d5c
mov edi, 0x45a4d4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.QuickTime.qts
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x4377fb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x388
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 9
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call fcn.00405a34
push ebx
push 0xb
push dword [ebp + 8]
mov esi, eax
call fcn.00405a34
cmp dword [esi + 0x10], 1
je 0x43783d
push 4
push eax
call fcn.00403526
push 1
push eax
call fcn.0044095d
mov dword [ebp - 8], eax
push dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x178]
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x178]
push eax
call fcn.00438d91
cmp byte [ebp - 0x178], bl
pop ecx
pop ecx
je 0x43793e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.00438c7c
mov esi, eax
cmp esi, 0xffffffff
jne 0x43789c
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x388]
push eax
call edi
jmp 0x43793e
lea eax, [ebp - 0x178]
mov byte [ebp + esi - 0x178], bl
push eax
lea eax, [ebp - 0x388]
push eax
call edi
mov eax, dword [ebp - 4]
push ebx
add eax, esi
push ebx
lea eax, [ebp + eax - 0x178]
push eax
call fcn.00438c7c
mov edi, eax
cmp edi, 0xffffffff
je 0x4378da
mov eax, dword [ebp - 4]
add eax, edi
mov byte [ebp + eax - 0x178], bl
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00438e2e
mov eax, dword [ebp - 4]
add eax, esi
lea eax, [ebp + eax - 0x178]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00438bdb
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x388]
push eax
call esi
mov eax, dword [ebp - 4]
add edi, eax
cmp byte [ebp + edi - 0x178], bl
lea eax, [ebp + edi - 0x178]
je 0x437938
push eax
lea eax, [ebp - 0x388]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
lea eax, [ebp - 0x388]
pop esi
push esi
push ebx
push ebx
push eax
push ebx
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x4379eb
lea eax, [ebp - 0x280]
push str.iexplore.exe
push eax
call edi
lea eax, [ebp - 0x280]
push eax
call fcn.00430f56
test eax, eax
jne 0x43799a
lea eax, [ebp - 0x280]
push str.netscape.exe
push eax
call edi
lea eax, [ebp - 0x280]
push eax
call fcn.00430f56
test eax, eax
je 0x4379e7
push 0x44
lea eax, [ebp - 0x70]
pop edi
push edi
push ebx
push eax
call fcn.00442900
push 0x10
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00442900
add esp, 0x18
lea eax, [ebp - 0x18]
mov word [ebp - 0x40], si
mov dword [ebp - 0x70], edi
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x388]
push ebx
push eax
lea eax, [ebp - 0x280]
push eax
mov dword [ebp - 0x44], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4379eb
xor eax, eax
jmp 0x4379ed
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4379f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 9
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call fcn.00405a34
push ebx
push 0xb
push dword [ebp + 8]
mov esi, eax
call fcn.00405a34
cmp dword [esi + 0x10], 1
je 0x437a36
push 4
push eax
call fcn.00403526
push 1
push eax
call fcn.0044095d
mov dword [ebp - 8], eax
push dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x124]
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x124]
push eax
call fcn.00438d91
cmp byte [ebp - 0x124], bl
pop ecx
pop ecx
je 0x437b31
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00438c7c
mov esi, eax
cmp esi, 0xffffffff
jne 0x437a95
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x22c]
push eax
call edi
jmp 0x437b31
lea eax, [ebp - 0x124]
mov byte [ebp + esi - 0x124], bl
push eax
lea eax, [ebp - 0x22c]
push eax
call edi
mov eax, dword [ebp - 4]
push ebx
add eax, esi
push ebx
lea eax, [ebp + eax - 0x124]
push eax
call fcn.00438c7c
mov edi, eax
cmp edi, 0xffffffff
je 0x437ad3
mov eax, dword [ebp - 4]
add eax, edi
mov byte [ebp + eax - 0x124], bl
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.00438e2e
mov eax, dword [ebp - 4]
add eax, esi
lea eax, [ebp + eax - 0x124]
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.00438bdb
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x22c]
push eax
call esi
mov eax, dword [ebp - 4]
add edi, eax
cmp byte [ebp + edi - 0x124], bl
lea eax, [ebp + edi - 0x124]
je 0x437b31
push eax
lea eax, [ebp - 0x22c]
push eax
call esi
push 1
push ebx
lea eax, [ebp - 0x22c]
push ebx
push eax
push ebx
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
pop edi
cmp ecx, eax
pop esi
sbb eax, eax
pop ebx
neg eax
leave
ret 0xc
Function at 0x4384fd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
push 0x44
pop edi
xor esi, esi
push edi
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.00442900
add esp, 0xc
mov dword [ebp - 0x70], edi
lea eax, [ebp - 0x10]
push 1
pop edi
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov word [ebp - 0x40], di
push dword [ebp + 0x10]
mov dword [ebp - 0x44], edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4385fe
cmp dword [ebp + 0x14], esi
jne 0x4385e6
push dword [ebp + 0xc]
call fcn.00402a8c
mov eax, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [ebp + 0x14], eax
push 0x160
push 0xffffffffffffffff
lea eax, [ebp + 0x14]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, edi
mov dword [ebp + 0x10], eax
jne 0x4385d2
push edi
push esi
push esi
lea eax, [ebp - 0x2c]
push esi
push eax
call ebx
test eax, eax
je 0x438563
mov eax, dword [ebp - 0x28]
cmp eax, 0x12
je 0x4385df
cmp eax, 0x400
jb 0x4385a1
cmp eax, 0xffff
jbe 0x4385b0
cmp eax, 0xf
je 0x4385b0
cmp eax, 0x11
je 0x4385b0
cmp eax, 0x16
jne 0x4385c4
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
push esi
push esi
lea eax, [ebp - 0x2c]
push esi
push eax
call ebx
test eax, eax
jne 0x43858b
cmp dword [ebp + 0x10], 0xffffffff
je 0x4385e6
cmp dword [ebp + 0x10], esi
je 0x4385e6
jmp 0x438563
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
push dword [ebp + 0xc]
call fcn.00402a5c
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret