joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476850
Capabilities:
Create process on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f02
push 0
call edi
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
push 1
push 0
push 0
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor edx, edx
cmp eax, 0x1f
setg dl
test esi, esi
mov ebp, edx
je 0x4768a0
mov eax, esi
push eax
call ebx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
push 0x7f00
push 0
call edi
push eax
call ebx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret

Function at 0x476900
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x419
push esi
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x41d
push esi
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
mov dword [esp + 8], eax
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
pop edi
pop esi
add esp, 0x18
ret

Function at 0x476980
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
lea eax, [esp]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push edx
push 0x419
push esi
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x41d
push esi
call edi
pop edi
pop esi
test eax, eax
jne 0x4769cd
add esp, 0x18
ret
mov edx, dword [esp + 4]
mov eax, dword [esp]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
add esp, 0x18
ret

Function at 0x4772c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0xc], 5
jae 0x4772dd
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
rdtsc
mov edi, dword [ebp + 8]
mov ebx, edx
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
rdtsc
mov esi, eax
lea eax, [edi + edi*4]
mov edi, dword [ebp - 8]
mov ecx, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
sub esi, edi
push edx
sbb ecx, ebx
push eax
push ecx
push esi
call fcn.004ff070
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483540
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
push 0x9f8
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x10]
push ecx
push edi
call esi
lea edx, [esp + 0x18]
push edx
push edi
call esi
mov eax, dword [0x569264]
mov ecx, dword fs:[0x2c]
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
mov esi, dword [ecx + eax*4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, edx
cdq
fld qword [esi + 0x160]
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
mov dword [esi + 0x148], eax
lea eax, [edx + ecx]
cdq
sub eax, edx
push 0
sar eax, 1
mov dword [esi + 0x14c], eax
mov eax, dword [esi + 0x140]
fstp qword [eax + 0x78]
mov ecx, dword [esi + 0x140]
push 0
call fcn.004e8940
mov eax, dword [esi + 0x13c]
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x48365d
push 0x9d8
push edi
call ebx
test eax, eax
je 0x48365d
mov ecx, dword [esi + 0x13c]
push 0xffffffffffffffff
push 0
push ecx
mov ecx, dword [esi + 0x140]
call fcn.004e8940
mov ecx, dword [esi + 0x140]
push 0
call fcn.004e9a20
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x150]
mov ecx, dword [esi + 0x140]
push edx
push eax
call fcn.004e9d00
mov ecx, dword [esi + 0x140]
push 1
push 0
call fcn.004e8ea0
mov ecx, dword [esi + 0x140]
mov edx, dword [esi + 0x168]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x84], edx
mov ecx, dword [esi + 0x140]
call fcn.004e9730
mov ecx, dword [esi + 0x13c]
test ecx, ecx
je 0x4836f5
push 0xffffffffffffffff
call fcn.004e0350
test eax, eax
je 0x4836f5
push 0x9d8
push edi
call ebx
test eax, eax
je 0x4836f5
mov ecx, dword [esi + 0x13c]
push 0xffffffffffffffff
call fcn.004e0350
mov ecx, dword [esi + 0x13c]
push 0xffffffffffffffff
mov edi, eax
call fcn.004e03d0
mov ebx, eax
push 0x44
lea ecx, [edi + 2]
lea eax, [ebx + 2]
push eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esi + 0x14c]
sar eax, 1
sub edx, eax
push ecx
dec edx
mov ecx, dword [esi + 0x148]
mov eax, edi
push edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
dec ecx
push ecx
push 0
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
call ebp
mov edx, dword [esi + 0x140]
push 0x44
push ebx
push edi
mov eax, dword [edx + 0x50]
push 0
push 0
push 0
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x484790
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 8]
test eax, eax
je 0x4847af
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0xc]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4869b3
Capabilities:
Create thread

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
mov dword [esp + 8], esi
cmp dword [esi], 0
je 0x4869cb
mov eax, 0x80004005
pop esi
add esp, 0x28
ret 0x18
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4869d9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x486af7
mov ecx, dword [esp + 0x34]
push ebx
push ebp
lea eax, [esp + 0x1c]
push edi
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
push 0x28
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov ecx, 0xa
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [ebx], 0x28
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov word [ebx + 0xc], 1
mov dx, word [esp + 0x36]
mov dword [ebx + 0x10], eax
mov word [ebx + 0xe], dx
mov esi, dword [esp + 0x36]
and esi, 0xffff
add esp, 4
imul esi, dword [esp + 0x10]
add esi, 0x1f
push eax
sar esi, 3
and esi, 0xfffffffc
imul esi, ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
push esi
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
push 0
push ebx
push eax
mov eax, dword [esp + 0x4c]
push ebp
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
push 0
lea ecx, [esp + 0x54]
push 0
push ecx
push 0
push ebx
push edi
mov dword [esp + 0x68], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebp, eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x486ac2
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x486ad3
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
test ebx, ebx
je 0x486ae0
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x14]
pop edi
mov esi, eax
mov dword [eax + 0x24], ebp
pop ebp
pop ebx
jmp 0x486afe
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x18], edx
mov edx, dword [esi + 0xc]
mov dword [esi + 0x20], eax
push edx
mov dword [esi + 0x1c], ecx
mov dword [esi], 1
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x10]
push ecx
push 4
push esi
push 0x486b70
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x58]
add esp, 0x18
mov dword [esi + 8], eax
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 0x28
ret 0x18
Function at 0x4cd5a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x52cb58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
push 0x400
lea ecx, [esp + 0xc]
call fcn.004f1260
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004bc610
mov ecx, dword [esi + 0x114]
mov edx, dword [esi + 0x118]
mov eax, dword [esi + 0x110]
mov dword [esp + 0x1c], ecx
mov cx, word [esi + 0x10c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov ax, word [esi + 0x10e]
lea edx, [esp + 0x14]
mov word [esp + 0x14], cx
push 0x12
push edx
lea ecx, [esp + 0x10]
mov word [esp + 0x1e], ax
mov word [esp + 0x2c], 0x64
call fcn.004bc5d0
mov eax, dword [esi + 0x140]
test eax, eax
je 0x4cd680
test byte [esi + 0x10e], 1
je 0x4cd680
push 0x38
push eax
lea ecx, [esp + 0x10]
call fcn.004bc5d0
mov eax, dword [esi + 0x140]
xor edi, edi
mov ecx, dword [eax + 0x34]
test ecx, ecx
jle 0x4cd680
push ebx
xor ebx, ebx
mov eax, dword [eax + 0x38]
push 0x114
add eax, ebx
lea ecx, [esp + 0x10]
push eax
call fcn.004bc5d0
mov eax, dword [esi + 0x140]
inc edi
add ebx, 0x114
cmp edi, dword [eax + 0x34]
jl 0x4cd659
pop ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
sub ecx, eax
add esi, 4
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push esi
call fcn.00478130
xor edx, edx
lea ecx, [esp + 8]
test eax, eax
sete dl
mov esi, edx
mov dword [esp + 0x30], 0xffffffff
call fcn.004f1290
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x4ce730
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x52cc30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x400
lea ecx, [esp + 0x20]
call fcn.004f1260
add al, 0x2b
add al, byte [eax]
Function at 0x4d4660
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x52d02b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push 0x7f02
mov ebx, ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x4d46c7
mov ecx, dword [ebx + 0x30]
push eax
mov eax, dword [ebx + 0x34]
push 0x3ec
push 0x43d
push eax
push ecx
call fcn.00472ce0
add esp, 0x14
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push 0x26
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test al, 1
jne 0x4d4702
mov edx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x30]
push 0
push 0x3ec
push 0x3eb
push edx
push eax
call fcn.00472ce0
add esp, 0x14
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
test ah, 0x28
jne 0x4d473a
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x30]
push 1
push 0x3ec
push 0x3ed
push ecx
push edx
call fcn.00472ce0
add esp, 0x14
cmp eax, 1
je 0x4d473a
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [ebx + 0x260]
push ebp
test eax, eax
push esi
jne 0x4d47a2
mov eax, dword [ebx + 0x1f4]
xor ebp, ebp
test eax, eax
jle 0x4d47a2
cmp ebp, eax
push edi
jge 0x4d4766
test ebp, ebp
jl 0x4d4766
mov eax, dword [ebx + 0x1f0]
mov edi, dword [eax + ebp*4]
jmp 0x4d4768
xor edi, edi
mov eax, dword [edi + 8]
xor esi, esi
test eax, eax
jle 0x4d4796
cmp esi, eax
jge 0x4d4781
test esi, esi
jl 0x4d4781
mov ecx, dword [edi + 4]
mov eax, dword [ecx + esi*4]
jmp 0x4d4783
xor eax, eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
push edx
call fcn.004e10c0
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x4d4775
mov eax, dword [ebx + 0x1f4]
inc ebp
cmp ebp, eax
jl 0x4d4757
pop edi
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4d481f
mov eax, dword [ebx + 0x260]
test eax, eax
jne 0x4d481f
push 0x280
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x20], 0
je 0x4d47dc
push ebx
mov ecx, eax
call fcn.004d2b90
mov esi, eax
jmp 0x4d47de
xor esi, esi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [esp + 0x14]
push ecx
push 4
push esi
push 0x4d17b0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x4d4826
mov ecx, ebx
call fcn.004d1d50
mov eax, dword [ebx + 0x48]
pop esi
test eax, eax
pop ebp
je 0x4d4836
mov ecx, ebx
call fcn.004d4020
mov ecx, dword [esp + 0x10]
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4d6b70
Capabilities:
Create thread
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov eax, dword [esi + 0x250]
test eax, eax
jne 0x4d6b87
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x24c]
test eax, eax
jne 0x4d6b98
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x254]
test eax, eax
jne 0x4d6ba9
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x4d6bba
xor eax, eax
pop esi
add esp, 0x20
ret
mov ecx, esi
call fcn.004d6d30
test eax, eax
jne 0x4d6bca
pop esi
add esp, 0x20
ret
mov ecx, esi
call fcn.004d6e60
test eax, eax
jne 0x4d6bda
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d6be8
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x240]
push edi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esi + 0x40], 0
mov eax, dword [esi + 0x1fc]
test eax, eax
je 0x4d6c45
mov eax, dword [esi + 0x1f4]
xor edi, edi
test eax, eax
jle 0x4d6c45
cmp edi, eax
push ebx
jge 0x4d6c39
test edi, edi
jl 0x4d6c39
mov ecx, dword [esi + 0x1f0]
mov ebx, dword [ecx + edi*4]
test ebx, ebx
je 0x4d6c39
mov ecx, ebx
call fcn.004d3720
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esi + 0x1f4]
inc edi
cmp edi, eax
jl 0x4d6c18
pop ebx
mov edx, dword [esi + 0x1f0]
push edx
call sub.MFC42.DLL_operatordelete
push 0x80
call sub.MFC42.DLL_operatornew
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
add esp, 8
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1f4], 0
mov dword [esi + 0x1f8], 0x1f
mov dword [esi + 0x200], 0x40
mov eax, dword [esi + 0x240]
push 1
push 0x403
push 0x403
lea ecx, [esp + 0x18]
push eax
push ecx
call edi
test eax, eax
je 0x4d6cc4
mov edx, dword [esi + 0x240]
push 1
push 0x403
push 0x403
lea eax, [esp + 0x18]
push edx
push eax
call edi
test eax, eax
jne 0x4d6ca6
push 0
mov ecx, esi
call fcn.004d7070
lea ecx, [esp + 8]
push ecx
push 4
push esi
push 0x4d1770
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x4c], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 0x240]
push 5
push 0xa21
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
add esp, 0x20
ret

Function at 0x4d6d30
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d6d8c
push 0xbb8
push eax
mov dword [esi + 0x40], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4d6d60
push 0x20
call dword [sym.imp.USER32.dll_MessageBeep]
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x240]
push 0
push 0xa21
push ecx
mov dword [esi + 0x4c], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
ret
Function at 0x4d6da0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x250]
test eax, eax
jne 0x4d6db3
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x24c]
test eax, eax
jne 0x4d6dc2
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x254]
test eax, eax
jne 0x4d6dd1
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x4d6de0
xor eax, eax
pop esi
pop ecx
ret
mov ecx, esi
call fcn.004d6e60
test eax, eax
jne 0x4d6dee
pop esi
pop ecx
ret
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4d6dfa
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d6e16
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1f4]
cmp eax, ecx
jne 0x4d6e16
xor eax, eax
pop esi
pop ecx
ret
lea ecx, [esp + 4]
mov dword [esi + 0x44], 0
push ecx
push 4
push esi
push 0x4d22b0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x50], eax
push 0xfffffffffffffffe
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
pop ecx
ret
Function at 0x4e9730
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x13968]
test eax, eax
jne 0x4e97e6
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4e97e6
mov eax, dword [esi + 0x13964]
mov dword [esi + 0x13968], 1
push eax
mov dword [esi + 0x1396c], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x13960]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test edi, edi
mov dword [esi + 0x1392c], edx
jne 0x4e97b1
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x4e97f0
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x1395c], eax
pop edi
pop esi
pop ecx
ret 8
lea ecx, [esp + 8]
push ecx
push 4
push esi
push 0x4e97f0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x1395c], eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0x1395c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ecx
ret 8

Function at 0x4ed7e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x110
push ebx
mov ebx, dword [esp + 0x120]
push esi
xor esi, esi
test eax, eax
push edi
je 0x4ed8f3
mov edi, dword [esp + 0x124]
test edi, edi
je 0x4ed8f3
mov edx, dword [esp + 0x12c]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push esi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ed8f3
push ebx
push edi
lea eax, [esp + 0x24]
push str._s__08x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push esi
push edx
lea eax, [esp + 0x28]
push esi
push eax
push ecx
call edi
test eax, eax
jne 0x4ed8a7
mov edx, dword [esp + 0xc]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push esi
push ecx
lea edx, [esp + 0x28]
push 0
push edx
push eax
call edi
test eax, eax
jne 0x4ed89c
mov ecx, dword [esi]
mov eax, dword [esp + 0xc]
cmp ecx, eax
je 0x4ed8a7
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor esi, esi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4ed8f3
push 0
push ebx
mov ecx, 0x566788
call fcn.004c1650
test eax, eax
je 0x4ed906
lea ecx, [esp + 0x14]
push 0
push ecx
push ebx
mov ecx, eax
mov dword [esp + 0x20], 0
call fcn.004c4c10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ed906
cmp eax, dword [esi]
je 0x4ed906
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
push ebx
call fcn.004ed920
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x110
ret
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x110
ret
Function at 0x4ed9a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x108
test eax, eax
push ebx
push edi
je 0x4eda53
mov ebx, dword [esp + 0x118]
test ebx, ebx
je 0x4eda53
mov edi, dword [esp + 0x120]
test edi, edi
je 0x4eda53
lea ecx, [esp + 0xc]
push esi
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0x20006
push 0
push 0x5688a4
push 0
push eax
mov eax, dword [esp + 0x148]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x4eda42
mov ecx, dword [esp + 0x120]
lea edx, [esp + 0x14]
push ecx
push ebx
push str._s__08x
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [edi]
mov edx, dword [esp + 0x1c]
add esp, 0x10
lea ecx, [esp + 0x14]
push eax
push edi
push 3
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
pop edi
sete al
pop ebx
add esp, 0x108
ret
pop edi
xor eax, eax
pop ebx
add esp, 0x108
ret
Function at 0x4f2fa0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov esi, ecx
push eax
push ebx
mov dword [esi], 0
mov dword [esi + 4], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x4f2fd9
mov dword [esi], 3
pop edi
pop esi
pop ebx
add esp, 8
ret 4
push edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esi + 4], eax
push eax
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4f3002
mov dword [esi], 4
pop edi
pop esi
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push 0x550aa4
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4f302d
mov dword [esi], 5
pop edi
pop esi
pop ebx
add esp, 8
ret 4
lea edi, [esi + 8]
mov esi, dword [esp + 0x18]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
add esp, 8
ret 4