joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bc00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43a808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0
call fcn.00413780
mov edi, dword [esp + 0x14]
test eax, eax
je 0x40bc64
xor bl, bl
jmp 0x40bcfc
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0
push str.Start_Page
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
jne 0x40bccb
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x40bca1
cmp eax, 2
je 0x40bca1
mov ebx, 0xd
jmp 0x40bccb
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push eax
lea ecx, [esi + 0x1d4]
mov dword [esp + 0x18], eax
call fcn.0040b780
push eax
push str.Start_Page
lea ecx, [esp + 0x20]
call fcn.004168d0
mov ebx, eax
lea ecx, [esi + 0x1d4]
call fcn.00406960
push dword [esi + 0x1d4]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, eax
test ebx, ebx
mov eax, dword [esi + 0x1d4]
sete bl
mov dword [eax - 8], ecx
mov eax, dword [esi + 0x1d4]
mov byte [ecx + eax], 0
test edi, edi
je 0x40bd07
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x40d790
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push 0x90
lea eax, [esp + 8]
mov dword [esp + 4], 0x94
push 0
push eax
call fcn.00423310
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x40d7d0
cmp dword [esp + 4], 6
jb 0x40d7d0
mov al, 1
add esp, 0x94
ret
xor al, al
add esp, 0x94
ret

Function at 0x40db30
Capabilities:
Check os version

Disassembly:
sub esp, 0x110
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, ecx
push 0
push 0
push 0x40c
push dword [ebp]
call edi
xor esi, esi
mov dword [esp + 0xc], eax
test eax, eax
jle 0x40dc86
push ebx
mov edi, edi
push 0x90
lea eax, [esp + 0x94]
mov dword [esp + 0x90], 0x94
push 0
push eax
mov ebx, 0x64
call fcn.00423310
add esp, 0xc
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x40dbf4
cmp dword [esp + 0x90], 6
jb 0x40dbf4
push 0x14
xor edi, edi
lea eax, [esp + 0x18]
push edi
push eax
call fcn.00423310
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x14
push eax
push str.comctl32.dll
call fcn.00405220
add esp, 0x14
test eax, eax
js 0x40dbd6
mov edi, dword [esp + 0x18]
jmp 0x40dbdd
cmp eax, 0x80004001
je 0x40dbee
test eax, eax
js 0x40dbee
cmp edi, 6
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jae 0x40dbf9
jmp 0x40dbf4
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x50
push 0x60
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], ebx
push 0
push eax
call fcn.00423310
add esp, 0xc
mov dword [esp + 0x2c], 1
lea eax, [esp + 0x28]
push eax
push esi
push 0x41d
push dword [ebp]
call edi
mov eax, dword [esp + 0x30]
test al, al
js 0x40dc50
or eax, 0x80
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push esi
push 0x406
push dword [ebp]
call edi
mov eax, dword [esp + 0x30]
and eax, 0xffffff7f
cmp byte [esp + 0x124], 0
je 0x40dc61
or eax, 0x100
jmp 0x40dc66
and eax, 0xfffffeff
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push esi
push 0x406
push dword [ebp]
call edi
inc esi
cmp esi, dword [esp + 0x10]
jl 0x40db60
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x110
ret 4
Function at 0x411870
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43aadb
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebp
mov ebp, ecx
push esi
push edi
mov cl, byte [ebp + 0x84]
test cl, 2
jne 0x4118f8
mov esi, dword [esp + 0xec]
mov edi, dword [esp + 0xe8]
test esi, esi
je 0x4118bf
cmp esi, dword [ebp + 0x44]
je 0x4118bf
mov eax, edi
shr eax, 0x10
test al, 0x10
je 0x4118bf
mov al, 1
jmp 0x4118c1
xor al, al
push dword [ebp + 0x5c]
shl al, 3
xor al, cl
and al, 8
xor al, cl
mov byte [ebp + 0x84], al
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411a8a
push esi
push edi
push dword [esp + 0xec]
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x411a8a
mov eax, dword [esp + 0xe8]
shr eax, 0x10
cmp eax, 0xffff
jne 0x411a8a
cmp dword [esp + 0xec], 0
jne 0x411a8a
test cl, 4
je 0x411a8a
push ebx
mov edx, dword [ebp + 0x18]
lea ecx, [edx - 1]
test ecx, ecx
js 0x411a89
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + ecx*4]
lea esi, [eax + ecx*4]
cmp ecx, edx
jge 0x411a89
lea eax, [edx - 1]
cmp ecx, eax
je 0x411968
sub edx, ecx
lea eax, [esi + 4]
shl edx, 2
lea ecx, [edx - 4]
push ecx
push eax
push edx
push esi
call fcn.0042508b
push eax
call fcn.00405100
add esp, 0x14
dec dword [ebp + 0x18]
test ebx, ebx
je 0x411a89
mov dword [esp + 0x40], ebx
push ebx
mov dword [esp + 0xe4], 0
xor edi, edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x411a79
push 0x30
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00423310
push 0x90
lea eax, [esp + 0x58]
mov dword [esp + 0x20], 0x30
push 0
push eax
mov dword [esp + 0x5c], 0x94
call fcn.00423310
add esp, 0x18
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x4119e9
mov eax, dword [esp + 0x48]
cmp eax, 5
jae 0x4119f1
cmp eax, 4
jne 0x4119e9
cmp dword [esp + 0x4c], 0x5a
jae 0x4119f1
mov dword [esp + 0x10], 0x2c
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x30
push eax
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x411a69
cmp dword [esi], 0x1313
jne 0x411a69
mov dword [esp + 0x14], 0x31
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x34], eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x10]
push eax
push 1
push edi
push ebx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
push dword [esi + 4]
call fcn.00423300
push esi
mov dword [esi], 0x6666
call fcn.004230b6
add esp, 8
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x411993
mov dword [esp + 0xe0], 0xffffffff
jmp 0x411925
pop ebx
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
mov dword [eax], 0
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xd4
ret 0x10
Function at 0x4121f0
Capabilities:
Capture webcam image

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
mov eax, dword [ebx]
cmp eax, dword [esi + 4]
je 0x412213
mov eax, dword [esp + 0x14]
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
ret 0xc
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
je 0x412242
test byte [esi + 0x58], 4
je 0x412239
cmp dword [esi + 0xac], 0
jne 0x412239
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [esi + 0xac], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [ebx + 0xc]
push 0x419
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
and byte [esi + 0x84], 0xcf
mov ecx, esi
push 1
push eax
call fcn.004095f0
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4121f5
Capabilities:
Capture webcam image

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
mov eax, dword [ebx]
cmp eax, dword [esi + 4]
je 0x412213
mov eax, dword [esp + 0x14]
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
ret 0xc
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
je 0x412242
test byte [esi + 0x58], 4
je 0x412239
cmp dword [esi + 0xac], 0
jne 0x412239
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [esi + 0xac], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [ebx + 0xc]
push 0x419
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
and byte [esi + 0x84], 0xcf
mov ecx, esi
push 1
push eax
call fcn.004095f0
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4123a0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov dword [edi], 0
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x4123d7
cmp eax, 0x79
jne 0x4123ca
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x4123d7
cmp dword [esi + 0xa8], 0x20
jne 0x41246c
cmp dword [esp + 0x10], 0xf100
jne 0x41246c
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x412417
mov ecx, esi
call fcn.0040cd40
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
and byte [esi + 0x84], 0xbf
xor eax, eax
pop edi
pop esi
ret 0x10
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x41246c
test byte [esi + 0x84], 0x40
jne 0x412461
mov al, byte [esi + 0x85]
test al, 2
je 0x412446
test al, 4
jne 0x412446
test al, 8
je 0x412446
push 1
mov ecx, esi
call fcn.004193c0
mov ecx, esi
call fcn.00419a70
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop edi
pop esi
ret 0x10
cmp eax, 0x20
je 0x41246c
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop edi
pop esi
ret 0x10
Function at 0x412eb0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push esi
push 0x10
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
sets al
cmp dword [esp + 0x1c], 0x79
jne 0x412f0f
test al, al
je 0x412f0f
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
je 0x412f19
lea ecx, [esp + 4]
xorps xmm0, xmm0
push ecx
push eax
push 0x130a
push dword [esi + 0x24]
movdqu xmmword [esp + 0x14], xmm0
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [esp + 0x10]
mov ecx, esi
push dword [esp + 8]
push dword [esi + 0x50]
call fcn.0040e9f0
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov eax, dword [esp + 0x24]
mov dword [eax], 0
xor eax, eax
pop esi
add esp, 0x10
ret 0x10

Function at 0x4168d0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push esi
lea eax, [esp + 0x18]
mov dword [edi], 0
push eax
push 0
push dword [esp + 0x1c]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416935
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x416911
cmp eax, 2
jne 0x416924
mov eax, dword [esp + 0x14]
test esi, esi
je 0x416931
test eax, eax
je 0x41692e
cmp byte [eax + esi - 1], 0
je 0x416931
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x416940
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x118
push ebp
mov ebp, ecx
mov dword [esp + 8], 0
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [ebp + 4]
or eax, 0x2001f
push eax
push dword [esp + 0x128]
push dword [ebp]
call fcn.00413780
mov esi, eax
test esi, esi
jne 0x416a1d
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x1c]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], pe_nt_image_headers32
push eax
lea eax, [esp + 0x38]
push eax
push esi
push dword [esp + 0x2c]
call edi
test eax, eax
jne 0x4169ed
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.00416940
mov esi, eax
test esi, esi
jne 0x416a1c
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], pe_nt_image_headers32
push eax
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
push esi
push dword [esp + 0x2c]
call edi
test eax, eax
je 0x4169b4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x416a04
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
push dword [esp + 0x128]
mov ecx, ebp
mov dword [esp + 0x18], 0
call fcn.00408220
mov esi, eax
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x416a2c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
add esp, 0x118
ret 4
Function at 0x416bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
push ebp
push esi
push edi
mov edi, ecx
cmp word [edi + 0x40], 0
jne 0x416d57
push 0x44dff0
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp word [edi + 0x40], 0
jne 0x416d4c
cmp dword [edi + 0x30], 0
mov esi, dword [0x44ecb0]
mov ebp, dword [sym.imp.USER32.dll_GetClassInfoExA]
je 0x416c91
mov eax, dword [edi + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
push 0x2c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x20], 0x30
call fcn.00423310
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push dword [edi + 0x30]
push esi
call ebp
test eax, eax
jne 0x416c5b
lea eax, [esp + 0x14]
push eax
push dword [edi + 0x30]
push 0
call ebp
test eax, eax
jne 0x416c5b
push 0x44dff0
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x68
ret 4
movdqu xmm0, xmmword [esp + 0x14]
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esp + 0x24]
movdqu xmmword [edi + 0x10], xmm0
movdqu xmm0, xmmword [esp + 0x34]
movdqu xmmword [edi + 0x20], xmm0
mov eax, dword [edi + 8]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 8], eax
jmp 0x416ca8
push dword [edi + 0x38]
xor ecx, ecx
mov eax, esi
cmp dword [edi + 0x3c], ecx
cmovne eax, ecx
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [edi + 0x1c], eax
and dword [edi + 4], 0xffffbfff
cmp dword [edi + 0x28], 0
mov dword [edi + 0x14], esi
jne 0x416ccf
push edi
push str.ATL:_p
lea esi, [edi + 0x42]
push 0xd
push esi
call fcn.0041c390
add esp, 0x10
mov dword [edi + 0x28], esi
movdqu xmm0, xmmword [edi]
lea eax, [esp + 0x44]
push eax
push dword [edi + 0x28]
movdqu xmmword [esp + 0x4c], xmm0
movdqu xmm0, xmmword [edi + 0x10]
push dword [edi + 0x14]
movdqu xmmword [esp + 0x60], xmm0
movdqu xmm0, xmmword [edi + 0x20]
movdqu xmmword [esp + 0x70], xmm0
call ebp
mov word [edi + 0x40], ax
test ax, ax
jne 0x416d4c
cmp dword [edi + 0x50], 0
je 0x416d41
movzx eax, word [edi + 0x50]
mov esi, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0x20
push 0x20
push 1
push eax
push dword [0x44ecb4]
call esi
push 0
push 0x10
push 0x10
mov dword [edi + 0x18], eax
movzx eax, word [edi + 0x50]
push 1
push eax
push dword [0x44ecb4]
call esi
mov dword [edi + 0x2c], eax
push edi
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov word [edi + 0x40], ax
push 0x44dff0
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [edi + 0x30], 0
je 0x416d66
mov eax, dword [esp + 0x78]
mov ecx, dword [edi + 0x34]
mov dword [eax], ecx
mov ax, word [edi + 0x40]
pop edi
pop esi
pop ebp
add esp, 0x68
ret 4
Function at 0x417eb0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0
mov edi, ecx
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
test eax, eax
je 0x41805e
push ebp
push esi
push 0
push 0
push 0xb
push dword [edi + 4]
call ebx
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x24]
call ebp
push 0
push dword [edi + 0x80]
call ebp
xor esi, esi
push esi
push esi
push 0x1304
push dword [edi + 0x24]
call ebx
test eax, eax
jle 0x417fa2
lea ecx, [ecx]
test byte [edi + 0x7c], 1
lea eax, [esp + 0x1c]
push eax
push esi
xorps xmm0, xmm0
mov dword [esp + 0x24], 8
push 0x1305
push dword [edi + 0x24]
movdqu xmmword [esp + 0x30], xmm0
movdqu xmmword [esp + 0x40], xmm0
je 0x417f49
call ebx
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x417f53
call ebx
push 0
push dword [esp + 0x38]
call ebp
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 8
push eax
push esi
push 0x1305
push dword [edi + 0x24]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x30], xmm0
movdqu xmmword [esp + 0x40], xmm0
call ebx
neg eax
sbb eax, eax
and eax, dword [esp + 0x38]
push eax
call fcn.00423300
add esp, 4
inc esi
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
cmp esi, eax
jl 0x417f10
push 0
push 0
push 0x1309
push dword [edi + 0x24]
call ebx
mov eax, dword [edi + 4]
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
push eax
mov dword [edi + 0x50], 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xfffffd1b
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0x10]
push ecx
push esi
push 0x4e
push eax
call ebx
push 0
push 1
push 0xb
push dword [edi + 4]
call ebx
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.0041a9b0
mov edx, dword [edi + 0x60]
pop esi
pop ebp
test edx, edx
je 0x41805e
mov cl, byte [edi + 0x7c]
mov al, cl
shr al, 3
and al, 1
movzx eax, al
push eax
mov al, cl
shr al, 2
and al, 1
movzx eax, al
push eax
mov al, cl
shr cl, 4
shr al, 5
and cl, 1
and al, 1
movzx eax, al
push eax
movzx eax, cl
mov ecx, edi
push eax
push dword [edi + 0x68]
push edx
call fcn.00405db0
pop edi
pop ebx
add esp, 0x30
ret
Function at 0x4181c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
push edi
push 0
mov edi, ecx
push 0
push 0xb
push dword [edi + 4]
call ebx
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, 1
jne 0x418204
push 0
push dword [edi + 0x24]
call ebp
push 0
push dword [edi + 0x80]
call ebp
test byte [edi + 0x7c], 1
lea eax, [esp + 0x1c]
mov esi, dword [esp + 0x44]
xorps xmm0, xmm0
push eax
push esi
push 0x1305
push dword [edi + 0x24]
mov dword [esp + 0x2c], 8
movdqu xmmword [esp + 0x30], xmm0
movdqu xmmword [esp + 0x40], xmm0
je 0x418241
call ebx
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x41824b
call ebx
push 0
push dword [esp + 0x38]
call ebp
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 8
push eax
push esi
push 0x1305
push dword [edi + 0x24]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x30], xmm0
movdqu xmmword [esp + 0x40], xmm0
call ebx
neg eax
sbb eax, eax
and eax, dword [esp + 0x38]
push eax
call fcn.00423300
add esp, 4
push 0
push esi
push 0x1308
push dword [edi + 0x24]
call ebx
mov eax, dword [edi + 0x50]
cmp esi, eax
jne 0x4182ed
mov dword [edi + 0x50], 0xffffffff
test esi, esi
jle 0x4182a7
lea eax, [esi - 1]
jmp 0x4182f7
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
test eax, eax
jle 0x4182bc
push esi
jmp 0x4182f8
push 0
push 1
push 0xb
push dword [edi + 4]
call ebx
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.0041a9b0
mov ecx, edi
call fcn.0041a3f0
jmp 0x4182ff
jge 0x4182f0
dec eax
mov dword [edi + 0x50], 0xffffffff
push eax
mov ecx, edi
call fcn.00418b10
mov ecx, dword [edi + 4]
xorps xmm0, xmm0
mov eax, dword [edi + 0x50]
movq qword [esp + 0x14], xmm0
push ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0xfffffd1b
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0x10]
push ecx
push esi
push 0x4e
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x418b10
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, ecx
push 0
push 0
push 0xb
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x50]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, 0xffffffff
je 0x418b66
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 8
push ecx
push eax
push 0x1305
push dword [esi + 0x24]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x20], xmm0
movdqu xmmword [esp + 0x30], xmm0
call edi
push 0
push dword [esp + 0x28]
call ebx
mov eax, dword [esp + 0x34]
push 0
push eax
push 0x130c
push dword [esi + 0x24]
mov dword [esi + 0x50], eax
call edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 8
push eax
push dword [esi + 0x50]
xorps xmm0, xmm0
push 0x1305
push dword [esi + 0x24]
movdqu xmmword [esp + 0x20], xmm0
movdqu xmmword [esp + 0x30], xmm0
call edi
push 1
push dword [esp + 0x28]
call ebx
mov ecx, esi
call fcn.0041a300
push 0
push 1
push 0xb
push dword [esi + 4]
call edi
push 0x581
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ebx, dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
je 0x418c0d
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 8
push eax
push dword [esi + 0x50]
xorps xmm0, xmm0
push 0x1305
push ebx
movdqu xmmword [esp + 0x20], xmm0
movdqu xmmword [esp + 0x30], xmm0
call edi
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.0041a9b0
mov edx, dword [esi + 0x60]
test edx, edx
je 0x418c54
mov cl, byte [esi + 0x7c]
mov al, cl
shr al, 3
and al, 1
movzx eax, al
push eax
mov al, cl
shr al, 2
and al, 1
movzx eax, al
push eax
mov al, cl
shr cl, 4
shr al, 5
and cl, 1
and al, 1
movzx eax, al
push eax
movzx eax, cl
mov ecx, esi
push eax
push dword [esi + 0x68]
push edx
call fcn.00405db0
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4

Function at 0x418cd0
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x418f60
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, ecx
test ebx, ebx
jne 0x418f74
pop ebp
lea eax, [ebx + 0xd]
pop ebx
ret 8
push esi
push edi
xor edi, edi
mov esi, ebx
lea ebx, [ebx]
push esi
call fcn.00425000
inc eax
add esp, 4
add esi, eax
add edi, eax
cmp eax, 1
jne 0x418f80
push edi
push ebx
push 7
push 0
push dword [esp + 0x24]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4191e0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x4191f4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call fcn.00425000
add esp, 4
inc eax
push eax
push esi
push dword [esp + 0x1c]
push 0
push dword [esp + 0x1c]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc