joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c280
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x220
push esi
mov esi, ecx
push edi
lea eax, [esp + 0x20]
mov ecx, dword [esi + 0x200]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x20]
push str.FileList_Background.bmp
push edx
call fcn.0044b3b0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esi + 0xc]
mov ecx, 6
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 8]
push ecx
push 0
lea eax, [esp + 0x12c]
push 0x1045
push edx
mov dword [esp + 0x18], 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x104
call edi
test eax, eax
je 0x40c369
cmp dword [esi + 0x4c4], 8
jle 0x40c34f
mov eax, dword [0x4eb3d0]
cmp eax, 3
je 0x40c34f
cmp eax, 5
je 0x40c34f
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40c34f
lea ecx, [esp + 0x20]
lea edx, [esp + 0x124]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40c369
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x12
mov dword [esp + 0x10], eax
jmp 0x40c357
mov dword [esp + 8], 0
mov edx, dword [esi + 0xc]
lea ecx, [esp + 8]
push ecx
push 0
push 0x1044
push edx
call edi
pop edi
pop esi
add esp, 0x220
ret
Function at 0x4102a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
push esi
mov esi, ecx
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x4eb228
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x410328
mov eax, dword [0x4eb224]
test eax, eax
je 0x410328
push 0
push 0x4eb228
call fcn.004becfa
add esp, 8
cmp eax, 0xffffffff
jne 0x410312
push 0x5c
push 0x4eb228
call fcn.004bea30
add esp, 8
test eax, eax
je 0x41030b
push 0
push 0x4eb228
mov byte [eax], 0
call fcn.004becfa
add esp, 8
cmp eax, 0xffffffff
je 0x4102df
jmp 0x410312
mov byte [0x4eb228], 0
push 0
push 0
push 1
push 0x4eb228
mov ecx, esi
call fcn.004174b0
test eax, eax
jne 0x41034a
lea ecx, [esp + 4]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
push 0
lea edx, [esp + 0xc]
push 1
push edx
mov ecx, esi
call fcn.004174b0
pop esi
add esp, 0x108
ret

Function at 0x410360
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 1
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x208]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x41039d
call fcn.0045aeb0
test eax, eax
je 0x41039d
mov ecx, dword [esi + 0x208]
push 0
push 0
call fcn.0045fcf0
push 0
mov ecx, esi
call fcn.0041a080
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x410e40
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, dword [esp + 0x40]
mov dword [edi + 0x3c], eax
cmp ebx, 0x4eb1
jne 0x410e9c
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
test al, 0x80
jne 0x410ea4
push 0x10
call esi
and al, 0x80
neg al
sbb eax, eax
neg eax
add eax, 0x4eed
mov ebx, eax
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push eax
call esi
cmp eax, 0xffffffff
jne 0x410eb6
xor esi, esi
jmp 0x410ee8
cmp ebx, 0x4ef0
jne 0x410e7e
push 0
push 0x3ff00000
push 0
push 0
push 0
jmp 0x410f6a
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x1005
push edx
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call esi
mov esi, eax
mov eax, dword [esp + 0x34]
neg esi
sbb esi, esi
and esi, eax
test esi, esi
je 0x410f8d
mov eax, dword [esi + 0x3c]
test eax, eax
jl 0x410f8d
xor eax, eax
cmp ebx, 0x4eee
sete al
mov ebx, eax
call fcn.004495d0
cmp eax, 8
jne 0x410f2a
mov ecx, dword [edi + 0x208]
push 0
push 0
call fcn.0045fcf0
push 0
mov ecx, edi
call fcn.0041a080
mov eax, dword [0x4eb7bc]
test eax, eax
je 0x410f49
mov ecx, dword [0x4eb7c0]
mov edx, dword [0x4eb7c4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
jmp 0x410f59
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x3ff00000
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x68]
push 0
push eax
push ecx
push ebx
push edx
mov eax, dword [str.ACDSee_32]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x200]
push eax
push ecx
push edx
call fcn.00454170
mov eax, dword [edi + 0x3c]
add esp, 0x20
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x411760
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x23c
push esi
mov esi, ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x41178b
mov eax, dword [0x4eb470]
mov ecx, esi
push eax
call fcn.0041ec00
pop esi
add esp, 0x23c
ret
push ebp
push edi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebp, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebp
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0xc], eax
mov eax, dword [0x4eb434]
test eax, eax
je 0x41183c
mov ecx, dword [esi + 0x10]
push ebx
push 0
push 0
push 0xb
push ecx
call edi
push 1
push 0
mov ecx, esi
call fcn.0041ce90
mov eax, dword [0x4eb434]
test eax, eax
je 0x41182f
mov edx, dword [esi + 0x10]
push 0
push 0
push 0xb
push edx
call edi
lea eax, [esi + 0x20c]
mov ecx, esi
push eax
call fcn.0041cd60
mov ebx, eax
test ebx, ebx
je 0x411823
mov ecx, dword [esi + 0x10]
push ebx
push 0
push 0x1114
push ecx
call edi
mov edx, dword [esi + 0x10]
push ebx
push 9
push 0x110b
push edx
call edi
mov eax, dword [esi + 0x10]
push 0
push 1
push 0xb
push eax
jmp 0x41182d
mov ecx, dword [esi + 0x10]
push 0
push 1
push 0xb
push ecx
call edi
mov edx, dword [esi + 0x10]
push 0
push 1
push 0xb
push edx
call edi
pop ebx
mov eax, dword [0x4eb43c]
test eax, eax
je 0x41184c
mov ecx, esi
call fcn.0041db00
lea eax, [esi + 0x30c]
lea ecx, [esi + 0x20c]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.0044a2d0
mov eax, dword [esi + 0xc]
add esp, 0xc
push 1
push 0xffffffffffffffff
push 0x100c
push eax
call edi
cmp eax, 0xffffffff
jne 0x41187f
xor eax, eax
jmp 0x4118af
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x1005
push edx
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
call edi
mov ecx, dword [esp + 0x30]
neg eax
sbb eax, eax
and eax, ecx
test eax, eax
je 0x4118d8
mov eax, dword [eax + 0x68]
lea ecx, [esp + 0x140]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x140]
lea eax, [esp + 0x38]
push edx
push 0
push 0
push eax
jmp 0x4118e3
push 0
push 0
lea ecx, [esp + 0x40]
push 0
push ecx
mov ecx, esi
call fcn.004174b0
mov edx, dword [esp + 0xc]
push edx
call ebp
pop edi
pop ebp
pop esi
add esp, 0x23c
ret
Function at 0x411900
Capabilities:
Get common file path

Disassembly:
sub esp, 0x338
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x20c]
push esi
call ebx
cmp eax, 3
jle 0x411a6e
lea eax, [esp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
call esi
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.004bea30
add esp, 8
test eax, eax
je 0x411a6e
mov byte [eax], 0
inc eax
lea edx, [esp + 0x240]
push eax
push edx
call esi
lea eax, [esp + 0xc]
push eax
call ebx
cmp byte [esp + eax + 0xb], 0x5c
je 0x411975
lea ecx, [esp + 0xc]
push 0x4e076c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0xc]
push 0
push edx
call fcn.004becfa
add esp, 8
cmp eax, 0xffffffff
jne 0x411a2a
push 0x105
call fcn.004be967
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push esi
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
mov ecx, dword [edi + 0x200]
push esi
push 0x20b
lea edx, [esp + 0x11c]
push ecx
push edx
call fcn.0044c380
push esi
call fcn.004be975
mov eax, dword [str.ACDSee_32]
mov edx, dword [edi + 8]
add esp, 0x14
lea ecx, [esp + 0x114]
push 0
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004becfa
add esp, 8
cmp eax, 0xffffffff
jne 0x411a2a
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.004bea30
add esp, 8
test eax, eax
je 0x411a25
lea edx, [esp + 0xc]
push 0
push edx
mov byte [eax], 0
call fcn.004becfa
add esp, 8
cmp eax, 0xffffffff
je 0x4119f9
jmp 0x411a2a
mov byte [esp + 0xc], 0
lea eax, [esp + 0x240]
lea ecx, [esp + 0xc]
push eax
push 0
push 1
push ecx
mov ecx, edi
call fcn.004174b0
test eax, eax
jne 0x411a6e
lea edx, [esp + 0x114]
push edx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
push 0
lea eax, [esp + 0x11c]
push 1
push eax
mov ecx, edi
call fcn.004174b0
pop edi
pop esi
pop ebx
add esp, 0x338
ret
Function at 0x4123e0
Capabilities:
Create thread

Disassembly:
sub esp, 0x17c
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov esi, ecx
push 2
push 0xffffffffffffffff
push 0x100c
mov eax, dword [esi + 0x24]
push eax
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4125ef
mov edx, dword [esi + 0x24]
push edi
lea ecx, [esp + 0x34]
xor edi, edi
push ecx
push edi
push 0x1005
push edx
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], edi
call ebx
test eax, eax
je 0x4125e4
cmp dword [esi + 0xc0], edi
je 0x412480
mov eax, dword [esi + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0xc0]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41246d
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [esi + 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc0], edi
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x84]
push ecx
mov eax, dword [eax]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x412568
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [esp + eax + 0x85], 0
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x24]
mov edi, 3
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x194]
lea ecx, [esp + 0x84]
mov dword [esp + 0x14], edi
test eax, eax
mov dword [esp + 0x18], ecx
mov word [esp + 0x20], 4
je 0x4124f6
mov word [esp + 0x20], 0x44
mov eax, dword [esp + 0x190]
test eax, eax
jne 0x412506
or byte [esp + 0x20], 0x10
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
lea eax, [esp + 0x84]
push 0
push eax
call fcn.004becfa
add esp, 8
test eax, eax
je 0x412566
mov ecx, dword [esi + 0x24]
push 0
push ebp
push 0x1008
push ecx
call ebx
mov edx, dword [esi + 0x24]
push 0
push 0
push 0x1004
push edx
call ebx
cmp ebp, eax
jne 0x412549
dec ebp
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x5c]
push eax
push ebp
push 0x102b
push ecx
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], edi
call ebx
xor edi, edi
cmp dword [esi + 0xc0], edi
je 0x4125b7
mov edx, dword [esi + 0xb8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xc0]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41259e
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [esi + 0xc0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov dword [esi + 0xc0], edi
cmp eax, edi
jne 0x4125e4
mov edx, dword [esi + 0xb8]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esp + 0x30]
mov dword [esi + 0x42c], edi
push eax
push edi
push esi
push 0x40a3a0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc0], eax
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 8
Function at 0x414670
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xc]
push 0
push 0
push 0x1004
push eax
call edi
mov ecx, dword [esi + 0xc]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
mov ebp, eax
call edi
push 0x10
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x7000
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x14], eax
jle 0x41472b
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x18]
push edx
push 0
push 0x1005
push eax
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0
call edi
mov ecx, dword [esp + 0x38]
neg eax
sbb eax, eax
and eax, ecx
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x414700
mov edx, dword [esp + 0x14]
test edx, edx
je 0x414709
cmp eax, 1
jne 0x414709
mov ecx, 2
mov dword [esp + 0x10], ebx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], 3
push ecx
push ebx
push 0x102b
push edx
call edi
inc ebx
cmp ebx, ebp
jl 0x4146ba
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
push 0
push ebx
push 0x1013
push eax
call edi
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x40]
push ecx
push ebx
mov eax, 1
push 0x102b
push edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
call edi
mov eax, dword [esi + 0xc]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call edi
mov ecx, dword [esi + 0xc]
push eax
push 0
push 0x1043
push ecx
call edi
mov ecx, esi
call fcn.00418f50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x4165b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x284
lea eax, [esp + 0x54]
push ebx
mov ebx, ecx
push 0x104
push eax
mov ecx, dword [ebx + 0x200]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4165dc
pop ebx
add esp, 0x284
ret
lea edx, [esp + 0x58]
push edx
call fcn.0044b3b0
add esp, 4
test eax, eax
jne 0x4165f5
pop ebx
add esp, 0x284
ret
mov byte [eax], 0
lea eax, [esp + 0x58]
push str.ShortcutsNew_Shortcut
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 2
push 0
push 0
lea ecx, [esp + 0x6c]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x416634
xor eax, eax
pop ebx
add esp, 0x284
ret
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x60]
lea eax, [esp + 0x164]
push edx
push str.RunDLL32_AppWiz.Cpl_NewLinkHere__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
mov eax, 0x80000000
push 0
push 0x4000000
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push 0
push 0
lea eax, [esp + 0x180]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
jne 0x4166b4
mov ecx, dword [str.ACDSee_32]
mov edx, dword [ebx + 8]
push ecx
push edx
call fcn.0044ae60
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x284
ret
Function at 0x41e170
Capabilities:
Move file
Persist via lnk shortcut

Disassembly:
sub esp, 0x280
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x24]
push 1
push 0xffffffffffffffff
push 0x100c
push eax
call edi
cmp eax, 0xffffffff
jne 0x41e1a4
mov ecx, dword [esi + 0x24]
push 2
push eax
push 0x100c
push ecx
call edi
lea edx, [esp + 0x10]
xor ebp, ebp
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x24]
push edx
push ebp
mov ebx, 4
push 0x1005
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x41e31b
cmp dword [esp + 0x30], ebp
je 0x41e31b
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x294]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ebx
push edx
push ebp
push 0x1005
push eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebp
call edi
test eax, eax
je 0x41e311
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x18c]
push edx
mov eax, dword [ecx]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x41e311
lea eax, [esp + 0x18c]
lea ecx, [esp + 0x88]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x88]
push edx
call fcn.0044b3b0
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x41e311
mov ebp, dword [esp + 0x298]
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..lnk
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x88]
lea ecx, [esp + 0x18c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x41e2e3
mov ecx, esi
call fcn.0041db00
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x10]
push eax
push 0
mov ebx, 2
push 0x100d
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
call edi
lea edx, [esp + 0x60]
mov dword [esp + 0x70], ebx
push edx
push eax
mov eax, dword [esi + 0x24]
push 0x102b
push eax
mov dword [esp + 0x7c], ebx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x280
ret 8
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x200]
push 0x45b
push ecx
push edx
call fcn.0044aec0
mov eax, dword [esi + 8]
add esp, 0xc
push 0
push 0x4e88
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x280
ret 8
Function at 0x4204e0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0xc4], edi
je 0x420555
mov eax, dword [esi + 0xcc]
push ebx
push eax
mov dword [esi + 0xd0], 1
call ebp
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edi, dword [sym.imp.USER32.dll_SetCursor]
push eax
call edi
mov ecx, dword [esi + 0xc4]
push 0x2710
push ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x420542
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [esi + 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
xor edi, edi
pop ebx
mov dword [esi + 0xc4], edi
mov dword [esi + 0xd4], edi
cmp dword [esi + 0x498], edi
je 0x4205f1
mov eax, dword [esi + 0xcc]
mov dword [esi + 0xd0], edi
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0xc8]
push ecx
call ebp
mov edx, dword [esi + 0xc]
push edi
push edi
push 0x1004
push edx
mov dword [esi + 0xd4], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x4d4], eax
lea eax, [esp + 0xc]
push eax
push 4
push esi
push 0x40a4c0
push edi
push edi
mov dword [esi + 0x4d8], edi
call fcn.004bf407
add esp, 0x18
mov dword [esi + 0xc4], eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
mov ecx, esi
mov dword [esi + 0xd8], edi
call fcn.0041b810
mov ecx, dword [esi + 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x420660
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4eb46c]
push esi
test eax, eax
mov esi, ecx
je 0x4206f4
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x4206ca
mov eax, dword [esi + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0xbc]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4206a9
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [esi + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xbc], 0
mov eax, dword [esi + 0xbc]
test eax, eax
jne 0x4206f4
mov eax, dword [esi + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x411fb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xbc], eax
pop esi
pop ecx
ret
Function at 0x422ce0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x304
push ebx
push ebp
push esi
push edi
push 0x2e
push eax
call fcn.004bea30
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x422d0f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
push str..lnk
push ebx
call fcn.004cab10
add esp, 8
test eax, eax
jne 0x422d31
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
push 0x4e08d8
push ebx
call fcn.004cab10
add esp, 8
test eax, eax
jne 0x422d53
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea ecx, [esp + 0x18]
mov ebp, 0x100
push str._sDefaultIcon
push ecx
mov dword [esp + 0x1c], ebp
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x114]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x80000000
call esi
test eax, eax
jne 0x422db8
lea edx, [esp + 0x114]
push 0x25
push edx
call fcn.004bea70
add esp, 8
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x304
ret
push ebx
lea eax, [esp + 0x18]
push str._s_shellexIconHandler
push eax
mov dword [esp + 0x1c], ebp
call edi
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x114]
lea eax, [esp + 0x14]
push ecx
push edx
push eax
push 0x80000000
call esi
test eax, eax
jne 0x422df9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
lea ecx, [esp + 0x10]
lea edx, [esp + 0x214]
push ecx
push edx
push ebx
push 0x80000000
mov dword [esp + 0x20], ebp
call esi
test eax, eax
jne 0x422ec0
lea eax, [esp + 0x214]
lea ecx, [esp + 0x14]
push eax
push str._sDefaultIcon
push ecx
mov dword [esp + 0x1c], ebp
call edi
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x114]
lea ecx, [esp + 0x14]
push edx
push eax
push ecx
push 0x80000000
call esi
test eax, eax
jne 0x422e78
lea edx, [esp + 0x114]
push 0x25
push edx
call fcn.004bea70
add esp, 8
test eax, eax
je 0x422e78
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
lea eax, [esp + 0x214]
lea ecx, [esp + 0x14]
push eax
push str._s_shellexIconHandler
push ecx
mov dword [esp + 0x1c], ebp
call edi
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x214]
lea ecx, [esp + 0x14]
push edx
push eax
push ecx
push 0x80000000
call esi
test eax, eax
jne 0x422ec0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x304
ret