joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409810
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x473700
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4878d4]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x40988f
call fcn.00407f90
mov esi, eax
jmp 0x409971
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x4098ab
call fcn.00407f90
jmp 0x409968
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x4098c4
call fcn.00407f90
jmp 0x409968
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x4098f8
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x4098e6
lea eax, [ebp]
call fcn.00408700
lea esi, [ebp - 0x1c]
call fcn.004086e0
mov eax, 0x8007000e
jmp 0x409983
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00407f50
mov dword [ebp - 4], 1
jmp 0x409921
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x40992f
mov esi, 0x8007000e
jmp 0x40996a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x40994d
call fcn.00407f90
jmp 0x409968
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.004096c0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x409981
lea eax, [ebp]
call fcn.00408700
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004599ea
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40bc00
Capabilities:
Hash data with md5

Disassembly:
push ecx
push edi
mov edi, eax
xor eax, eax
mov byte [esi + 0x68], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [ecx + 0x18], 0x10
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x14]
jb 0x40bc4e
mov ecx, dword [ecx + 4]
push ecx
mov ecx, esi
call fcn.0040b290
mov eax, esi
call fcn.0040bc70
mov eax, edi
pop edi
pop ecx
ret
add ecx, 4
push ecx
mov ecx, esi
call fcn.0040b290
mov eax, esi
call fcn.0040bc70
mov eax, edi
pop edi
pop ecx
ret

Function at 0x40cab0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4722e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x40cbca
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x40cb0c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x40cb10
mov edi, dword [esp + 0x24]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x24]
push str.URLathedit
add ecx, 0x14
call fcn.004345a0
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.004040c0
lea ebx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0041ece0
mov ebx, eax
call fcn.0041ed60
mov eax, dword [esp + 0x10]
mov edi, 1
cmp dword [eax - 4], edi
jle 0x40cb6d
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00405800
mov eax, dword [esp + 0x10]
call fcn.0040c920
test eax, eax
je 0x40cb94
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], edi
jle 0x40cb91
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00405800
mov eax, dword [esp + 0x10]
push eax
jmp 0x40cb99
push 0x47b668
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cbca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40cea0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4722b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x489490]
mov edx, dword [eax + 0xc]
mov ecx, 0x489490
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
push eax
push 0x47d12c
lea edi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.00405490
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
add esp, 8
push ecx
push esi
push edx
push str.memory
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cf37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x40f1c0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x472f4b
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.0045d7b0
mov eax, dword [0x4878d4]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x101c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x102c]
push 0x7ff
lea eax, [esp + 0x1d]
push 0
push eax
mov byte [esp + 0x24], 0
call fcn.0045cac0
mov eax, dword [ebp]
lea edx, [esp + 0x24]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f228
lea ecx, [esp + 0x18]
push ecx
call fcn.004171c0
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f243
sub eax, edx
mov esi, eax
mov eax, str.suomi_aixy
xor edi, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f258
sub eax, edx
je 0x40f28f
xor eax, eax
test esi, esi
jle 0x40f279
mov cl, byte [edi + str.suomi_aixy]
nop
xor byte [esp + eax + 0x18], cl
inc eax
cmp eax, esi
jl 0x40f270
mov eax, str.suomi_aixy
inc edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f282
sub eax, edx
cmp edi, eax
jb 0x40f263
push 0x7ff
lea edx, [esp + 0x81d]
push 0
push edx
mov byte [esp + 0x824], 0
call fcn.0045cac0
add esp, 0xc
xor edx, edx
test esi, esi
jle 0x40f2e1
mov bl, byte [0x47c150]
mov edi, dword [str.NULL]
lea eax, [esp + 0x818]
mov cl, byte [esp + edx + 0x18]
test cl, cl
jne 0x40f2d9
mov dword [eax], edi
mov byte [eax + 4], bl
add eax, 4
jmp 0x40f2dc
mov byte [eax], cl
inc eax
inc edx
cmp edx, esi
jl 0x40f2c7
lea eax, [esp + 0x818]
push eax
call fcn.004171c0
lea eax, [esp + 0x818]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f2f8
sub eax, edx
lea ecx, [esp + 0x818]
mov edi, eax
push ecx
mov eax, ebp
call fcn.004050b0
mov esi, dword [ebp]
push ecx
mov dword [esp + 0x18], esp
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x40f343
cmp eax, dword [esi]
jne 0x40f343
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40f378
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x40f35c
call fcn.004057f0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004599f9
add esp, 0x10
lea edx, [esp + 0x18]
add edi, 0x10
push edx
mov dword [ebx], edi
call fcn.0040efd0
mov dword [esp + 0x1024], 0
mov ebx, dword [eax]
mov eax, ebp
call fcn.0041da30
mov dword [esp + 0x1024], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f3c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x101c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.004599ea
add esp, 0x1014
ret 4
Function at 0x416770
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4710c0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x510]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
mov dword [esp + 0x18], ebx
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x47460c
push eax
mov eax, dword [ecx]
call eax
mov dword [esp + 0x14], ebx
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
cmp eax, ebx
jl 0x4168fc
mov dword [esp + 0x10], ebx
mov byte [esp + 0x28], 3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jl 0x4168e7
mov dword [esp + 0xc], ebx
mov byte [esp + 0x28], 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4745fc
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x4168d2
mov dword [esp + 0x30], ebx
mov byte [esp + 0x28], 5
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
push ebx
cmp dword [esp + 0x34], ebx
je 0x4168cc
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4168c7
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea ecx, [eax + eax + 2]
push ecx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x30]
mov edx, eax
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x4168a0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x28], 3
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4168e7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4168fc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x416911
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x416925
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41693d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret 4
Function at 0x4170d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x417110
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x417110
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41710b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
ret 4
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417130
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
ret 4

Function at 0x4171c0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4171d0
sub eax, edx
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebp, [ecx + edi]
lea ecx, [eax*4 + 5]
push ecx
call fcn.0045a39d
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
mov esi, ebx
cmp edi, ebp
jae 0x4172ce
lea esp, [esp]
mov edx, ebp
xor eax, eax
sub edx, edi
cmp edx, 3
mov word [esp + 0x10], ax
mov byte [esp + 0x12], al
jl 0x417234
mov ax, word [edi]
mov dl, byte [edi + 2]
mov word [esp + 0x10], ax
add edi, 3
jmp 0x41724d
mov ecx, ebp
sub ecx, edi
push ecx
lea edx, [esp + 0x14]
push edi
push edx
call fcn.0045d210
mov dl, byte [esp + 0x1e]
add esp, 0xc
mov edi, ebp
mov al, byte [esp + 0x10]
mov cl, al
shr cl, 2
mov byte [esp + 0x14], cl
mov cl, byte [esp + 0x11]
mov bl, cl
and al, 3
shr bl, 4
shl al, 4
or al, bl
and cl, 0xf
add cl, cl
mov bl, dl
shr bl, 6
add cl, cl
or cl, bl
movzx ebx, byte [esp + 0x14]
mov bl, byte [ebx + 0x488d80]
mov byte [esi], bl
movzx eax, al
movzx eax, byte [eax + 0x488d80]
inc esi
mov byte [esi], al
and dl, 0x3f
inc esi
test cl, cl
je 0x4172a5
movzx ecx, cl
mov al, byte [ecx + 0x488d80]
jmp 0x4172a7
mov al, 0x3d
mov byte [esi], al
inc esi
test dl, dl
je 0x4172b9
movzx edx, dl
mov al, byte [edx + 0x488d80]
jmp 0x4172bb
mov al, 0x3d
mov byte [esi], al
inc esi
cmp edi, ebp
jb 0x417210
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov edx, edi
mov byte [esi], 0
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4172d7
push ebx
call fcn.0045a1ed
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x417590
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x594]
mov edi, dword [ecx - 0xc]
add esi, 0x594
mov eax, ecx
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x4175d0
mov edx, dword [eax + 4]
push edx
push esi
call fcn.00405800
mov esi, dword [esi]
mov ecx, dword [esp + 8]
lea eax, [edi + edi]
push eax
push esi
push 1
push 0
push str.TTKVOD
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
test eax, eax
jne 0x4175ff
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret 4
push 0
push 0x47ce94
push 0x47cea0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop ecx
ret 4

Function at 0x417690
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x530], 0
push edi
je 0x4176a9
call fcn.00418990
mov eax, dword [esi + 0x528]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4176c8
mov dword [ebp - 4], eax
push 1
push 0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dword [ebp - 8], eax
lea eax, [esi + 0x610]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
push ecx
mov ecx, str.QvodTerminal.exe
call fcn.004040c0
call fcn.00419430
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, 0xffffffff
je 0x41770e
push eax
push 0
push 1
call edi
test eax, eax
je 0x41770e
push 0
push eax
call ebx
cmp dword [esi + 0xdd0], 1
jne 0x417742
push ecx
mov edx, esp
mov dword [ebp - 8], esp
push edx
mov ecx, str.FilmAcc.exe
call fcn.004040c0
call fcn.00419430
cmp eax, 0xffffffff
je 0x417742
push eax
push 0
push 1
call edi
test eax, eax
je 0x417742
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push str.NewFilmEveryday
push eax
call dword [sym.imp.USER32.dll_RemovePropW]
mov ecx, dword [esi + 0x53c]
push 0
push 0
push 0x470
call fcn.00432860
mov eax, dword [esi + 0x59c]
mov ecx, dword [esi + 0x508]
push eax
call fcn.0042d680
push eax
push str.soundbar
call fcn.0040cea0
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417f30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x472030
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x2c], 0
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x417f6e
call fcn.00459e39
mov esi, dword [edi + 0xc]
mov ebp, dword [edi]
cmp esi, dword [edi + 0x10]
jbe 0x417f7d
call fcn.00459e39
mov eax, dword [edi]
push ebx
push ebp
push esi
push eax
push edi
lea ebx, [esp + 0x2c]
call fcn.0041f360
push 0x200000
call fcn.00459cc6
add esp, 4
push 0x100000
mov esi, eax
push 0
push esi
call fcn.0045cac0
mov eax, dword [esp + 0x40]
add esp, 0xc
push eax
push 0x100000
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
xor ebp, ebp
cmp word [esi], 0
je 0x41807e
cmp word [esi + ebp*2], 0
jne 0x41802a
mov ecx, ebp
sub ecx, ebx
lea edx, [esp + 0x14]
lea ecx, [esi + ecx*2]
push edx
mov dword [esp + 0x1c], 0xffffffff
call fcn.004040c0
lea ebx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.0041e9a0
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41801e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [esi + ebp*2 + 2], 0
je 0x418034
mov ebx, dword [esp + 0x18]
inc ebp
inc ebx
cmp ebp, 0x100000
jl 0x417fc1
push esi
call fcn.00459cd1
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418065
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4180a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x419430
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x471fb3
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4878d4]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 0xf
mov dword [esp + 0x254], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
or edi, 0xffffffff
test eax, eax
je 0x419515
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004040c0
mov byte [esp + 0x24c], 1
mov ecx, dword [esp + 0x254]
xor eax, eax
cmp ecx, ebx
setne al
cmp eax, ebx
je 0x419569
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.0045b4c8
add esp, 8
cmp eax, ebx
je 0x419573
mov byte [esp + 0x24c], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4194ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x419497
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24c], edi
mov eax, dword [esp + 0x254]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41953e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004599ea
add esp, 0x240
ret 4
push 0x80004005
call fcn.00405910
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x24c], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4195a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24c], edi
mov eax, dword [esp + 0x254]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4195cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x419540