joyce8/EMBER2024-capa huggingface dataset:
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 0x4771f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
mov esi, dword [esp + 0x10c]
push eax
push 0x104
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x47721d
pop esi
add esp, 0x104
ret
mov ecx, dword [esp + 0x110]
push esi
push 0
lea edx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0x104
ret

Function at 0x4772c0
Capabilities:
Execute anti-debugging instructions
Get system information on windows

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 0x477dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
push ebx
lea eax, [esp + 0x20]
mov ecx, dword [esi]
push edi
push eax
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
je 0x477e0b
mov esi, dword [esi + 4]
test esi, esi
je 0x477e04
push ebx
lea edx, [esp + 0x20]
push edi
push edx
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
jne 0x477e11
test edi, edi
jne 0x477e11
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x477e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
push ebx
lea eax, [esp + 0x20]
mov ecx, dword [esi]
push edi
push eax
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
je 0x477e6b
mov esi, dword [esi + 4]
test esi, esi
je 0x477e64
push ebx
lea edx, [esp + 0x20]
push edi
push edx
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
jne 0x477e71
test edi, edi
jne 0x477e71
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x477e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
push ebx
lea eax, [esp + 0x20]
mov ecx, dword [esi]
push edi
push eax
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
je 0x477ecb
mov esi, dword [esi + 4]
test esi, esi
je 0x477ec4
push ebx
lea edx, [esp + 0x20]
push edi
push edx
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
jne 0x477ed1
test edi, edi
jne 0x477ed1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x477ee0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
push edi
mov dword [esp + 0x10], ecx
jne 0x477ef7
lea esi, [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
lea eax, [esp + 0x24]
push 0
mov dword [esi], 0
mov edi, dword [ecx]
push eax
push 0
push ebx
push edi
call ebp
test eax, eax
je 0x477f3a
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x477f36
push esi
lea edx, [esp + 0x24]
push 0
push edx
mov edi, ecx
push 0
push ebx
push edi
call ebp
test eax, eax
jne 0x477f67
mov eax, dword [esi]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
push esi
push eax
push ecx
push 0
push ebx
push edi
call ebp
test eax, eax
je 0x477f73
mov edx, dword [esp + 0x1c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x477f90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esi]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push edi
push eax
mov dword [esp + 0x24], 4
call ebx
cmp eax, 0xea
je 0x477feb
mov esi, dword [esi + 4]
test esi, esi
je 0x477fe4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push 0
push edi
push esi
call ebx
cmp eax, 0xea
jne 0x478000
lea ecx, [esp + 0x18]
test ecx, ecx
jne 0x478004
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
test eax, eax
je 0x477ff3
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
add esp, 8
ret 8

Function at 0x4780d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
push ebp
push esi
mov ebx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
mov edi, ecx
mov esi, 0x3f5
mov eax, dword [edi + 8]
test eax, eax
je 0x4780fd
lea ecx, [esp + 0x18]
push 4
push ecx
push 4
push 0
push ebx
push eax
call ebp
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x478110
test esi, esi
jne 0x478119
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 8
lea edx, [esp + 0x18]
push 4
push edx
push 4
push 0
push ebx
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x478130
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push edi
mov edi, ecx
mov esi, 0x3f5
mov eax, dword [edi + 8]
test eax, eax
je 0x47815e
mov ecx, dword [esp + 0x18]
push ebp
push ecx
push 3
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov edi, dword [edi + 0xc]
test edi, edi
je 0x478171
test esi, esi
jne 0x47817a
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov edx, dword [esp + 0x18]
push ebp
push edx
push 3
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4782a0
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
push edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], ecx
test eax, eax
mov dword [esp + 0x10], 1
jle 0x4782ed
cmp esi, eax
jge 0x4782d0
test esi, esi
jl 0x4782d0
mov eax, dword [ebp + 4]
mov eax, dword [eax + esi*4]
jmp 0x4782d2
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x10]
inc esi
lea edx, [ecx + eax + 1]
mov eax, dword [ebp + 8]
cmp esi, eax
mov dword [esp + 0x10], edx
jl 0x4782c4
mov eax, dword [esp + 0x10]
push eax
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [ebp + 8]
add esp, 4
xor ebx, ebx
test eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
jle 0x478366
cmp ebx, eax
jge 0x47831d
test ebx, ebx
jl 0x47831d
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + ebx*4]
jmp 0x47831f
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp + 8]
inc eax
cmp ebx, ecx
jge 0x47833a
test ebx, ebx
jl 0x47833a
mov edx, dword [ebp + 4]
mov esi, dword [edx + ebx*4]
jmp 0x47833c
xor esi, esi
mov edi, dword [esp + 0x24]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
add esi, eax
mov eax, dword [ebp + 8]
inc ebx
mov dword [esp + 0x24], esi
cmp ebx, eax
jl 0x478311
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [eax], 0
mov eax, dword [ecx + 8]
test eax, eax
mov esi, 0x3f5
je 0x478397
mov edx, dword [esp + 0x10]
push edx
push edi
push 3
push 0
push ebx
push eax
call ebp
mov esi, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4783c0
test esi, esi
jne 0x4783b0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4783c0
mov ecx, dword [esp + 0x10]
push ecx
push edi
push 3
push 0
push ebx
push eax
call ebp
mov esi, eax
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x4785f0
Capabilities:
Delete registry value
Get graphical window text
Set registry value

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x11c]
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
test eax, eax
push edi
mov dword [esp + 0x1c], ecx
je 0x478687
push 0
push 0
push 0x147
push ebx
call ebp
test eax, eax
jle 0x478636
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x148
push ebx
call ebp
jmp 0x478647
lea edx, [esp + 0x20]
push 0x104
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov al, byte [esp + 0x20]
test al, al
je 0x478687
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0x158
push ebx
call ebp
test eax, eax
jl 0x47866d
push 0
push eax
push 0x144
push ebx
call ebp
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x14a
push ebx
call ebp
push 0
push eax
push 0x14e
push ebx
call ebp
push 0
push 0
push 0x146
push ebx
call ebp
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x4786ac
cmp eax, ecx
jle 0x4786ac
mov dword [esp + 0x10], ecx
mov eax, ecx
mov edi, 1
xor esi, esi
test eax, eax
mov dword [esp + 0x14], edi
jle 0x4786f2
push 0
push esi
push 0x149
push ebx
call ebp
mov ecx, dword [esp + 0x134]
inc eax
test ecx, ecx
je 0x4786d9
lea edx, [eax + edi]
cmp edx, ecx
jg 0x4786ea
add edi, eax
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4786bb
mov dword [esp + 0x14], edi
jmp 0x4786f2
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
push edi
call sub.MFC42.DLL_operatornew
mov dword [esp + 0x1c], eax
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
xor edi, edi
test eax, eax
jle 0x478729
push esi
push edi
push 0x148
push ebx
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x47870b
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x138]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [esi], 0
mov eax, dword [ebp + 8]
mov esi, 0x3f5
test eax, eax
je 0x47875d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 3
push 0
push edi
push eax
call ebx
mov esi, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x478786
test esi, esi
jne 0x478772
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x478786
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 3
push 0
push edi
push eax
call ebx
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x14

Function at 0x478cf0
Capabilities:
Delete registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x478d0a
push edi
push eax
call ebx
mov eax, dword [esi + 8]
push edi
push eax
call ebx
pop edi
pop esi
pop ebx
ret 4
Function at 0x478d20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
mov ecx, dword [esp + 0xc]
push 0x52a7fb
mov edx, dword [esp + 0xc]
push eax
mov dword fs:[0], esp
sub esp, 0x130
lea eax, [esp]
push ebx
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor ebx, ebx
cmp eax, ebx
jne 0x478eec
push ebp
push esi
push edi
push 0x80
mov dword [esp + 0x1c], vtable.Table_char_.0
call sub.MFC42.DLL_operatornew
mov edi, 0x1f
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], 0x40
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push 0x105
push eax
push ebx
push ecx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x38], 1
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x478e5e
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x34], ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test ebp, ebp
je 0x478e37
lea esi, [edi + 1]
cmp ebx, esi
jne 0x478e2a
lea ecx, [edi*4 + 0x104]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x20]
mov ebp, eax
mov ecx, esi
mov esi, dword [esp + 0x20]
mov edi, ebp
push edx
rep movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x2c]
add esp, 8
add eax, 0x40
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov edi, eax
mov eax, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x20], ebx
mov dword [eax + ebx*4 - 4], ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x38]
inc eax
push 0x105
push ecx
push eax
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x478dbd
xor edi, edi
test ebx, ebx
jle 0x478e8d
mov ebp, dword [esp + 0x1c]
cmp edi, ebx
jge 0x478e75
test edi, edi
jl 0x478e75
mov eax, dword [ebp]
jmp 0x478e77
xor eax, eax
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.00478d20
add esp, 8
inc edi
add ebp, 4
cmp edi, ebx
jl 0x478e6c
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x154]
mov eax, dword [esp + 0x150]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor edi, edi
mov esi, eax
test ebx, ebx
jle 0x478eda
mov ebp, dword [esp + 0x1c]
cmp edi, ebx
jge 0x478ec7
test edi, edi
jl 0x478ec7
mov eax, dword [ebp]
jmp 0x478ec9
xor eax, eax
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
inc edi
add ebp, 4
cmp edi, ebx
jl 0x478ebe
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x134]
pop ebx
mov dword fs:[0], ecx
add esp, 0x13c
ret
Function at 0x479780
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0xc]
xor ecx, ecx
push esi
mov word [ebx], cx
mov word [ebx + 2], cx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov ax, word [ebp + 2]
cmp ax, cx
jbe 0x47980c
cmp ax, 0xc
ja 0x47980c
mov ax, word [ebp]
xor edx, edx
mov word [ebx], ax
mov cx, word [ebp + 2]
mov word [ebx + 2], cx
mov eax, dword [ebp + 4]
mov dx, cx
mov dword [ebx + 4], eax
mov esi, dword [edx*4 + 0x5387d0]
imul esi, eax
cmp esi, 4
ja 0x4797e1
mov eax, dword [ebp + 8]
pop esi
mov dword [ebx + 8], eax
mov eax, ebx
pop ebp
pop ebx
ret 4
push edi
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov dword [ebx + 8], eax
mov esi, dword [ebp + 8]
mov edx, ecx
mov edi, eax
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
ret 4
push str.Invalid_meta_data_item_typeID_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
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 0x4867e0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x4a0
push ebx
push ebp
push esi
push 0
mov ebx, ecx
push 0
push 0
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x1b4]
push eax
push ecx
push 0
push SysReAllocString
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0x105
mov ebp, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push str.EITCC
push edx
mov esi, eax
mov word [ebx + 0x8028], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x1c]
push 0x5579f4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
test esi, esi
jne 0x4869a3
push edi
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
lea edx, [esp + 0x1b8]
mov eax, ebp
push ecx
push edx
push eax
push SysReAllocString
mov dword [esp + 0x30], 0x105
inc ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1a8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x48698a
cmp word [ebx + 0x8028], 0x100
jge 0x48698a
lea edx, [esp + 0x1a8]
lea eax, [esp + 0x2b0]
push edx
push str._sCurVer
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2b0]
push ecx
push 1
push 0
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x1c]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x48698a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x20]
push ecx
call esi
add edi, eax
lea edx, [esp + 0xa0]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0xa0]
push eax
call esi
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x486953
movsx ecx, byte [esp + esi + 0xa0]
push ecx
call dword [sym.imp.MSVCRT.dll_tolower]
add esp, 4
mov byte [esp + esi + 0xa0], al
inc esi
cmp esi, ebx
jl 0x486935
cmp byte [edi], 0
je 0x48697b
mov esi, dword [esp + 0x14]
lea edx, [esp + 0xa0]
push edx
movsx eax, word [esi + 0x8028]
shl eax, 7
lea ecx, [eax + esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x48697f
mov esi, dword [esp + 0x14]
inc word [esi + 0x8028]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x486852
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4a0
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4a0
ret