joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c0c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x234
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x230], eax
push 0x105
lea eax, [esp + 0x12d]
push 0
push eax
mov byte [esp + 0x134], 0
call fcn.004553e0
push 0x104
lea ecx, [esp + 0x138]
push esi
push ecx
call fcn.00450cd7
xor eax, eax
push 0x104
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov word [esp + 0x38], ax
lea ecx, [esp + 0x3d]
lea edx, [esp + 0x144]
mov eax, 0x210
or word [esp + 0x2c], ax
push 0
push ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], 3
mov byte [esp + 0x44], 0
call fcn.004553e0
add esp, 0x24
lea edx, [esp + 0x20]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
lea ecx, [ecx]
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0041c440
add esp, 8
test eax, eax
jne 0x41c196
lea edi, [esp + 0x24]
call fcn.0041c2a0
test eax, eax
jne 0x41c170
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [esp + 0x234]
neg eax
sbb eax, eax
pop edi
xor ecx, esp
inc eax
call fcn.0044e1ea
add esp, 0x234
ret

Function at 0x41c1c0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x14c
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x144], eax
push esi
push edi
push 0x140
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.004553e0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41c218
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.0044e1ea
add esp, 0x14c
ret
mov eax, dword [esp + 8]
mov edx, eax
or edx, 0x10
cmp eax, edx
jne 0x41c273
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 8]
push eax
push esi
call edi
test eax, eax
je 0x41c250
mov eax, dword [esp + 8]
mov ecx, eax
or ecx, 0x10
cmp eax, ecx
jne 0x41c273
lea edx, [esp + 8]
push edx
push esi
call edi
test eax, eax
jne 0x41c237
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.0044e1ea
add esp, 0x14c
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
xor ecx, esp
mov eax, 2
call fcn.0044e1ea
add esp, 0x14c
ret
Function at 0x41c2a0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x108], eax
push 0x104
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.004553e0
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c2e2
sub eax, edx
push esi
mov esi, eax
lea edx, [esi - 2]
cmp edx, 1
ja 0x41c336
movsx eax, byte [esp + 4]
push eax
call fcn.00451164
add esp, 4
cmp eax, 0x41
jl 0x41c336
movsx ecx, byte [esp + 4]
push ecx
call fcn.00451164
add esp, 4
cmp eax, 0x5a
jg 0x41c336
cmp byte [esp + 5], 0x3a
jne 0x41c336
cmp esi, 3
jne 0x41c32f
cmp byte [esp + 6], 0x5c
jne 0x41c336
cmp byte [esp + 4], 0
jne 0x41c37a
lea eax, [esp + 4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c340
sub eax, edx
add eax, 0xffffffff
js 0x41c35c
mov edi, edi
cmp byte [esp + eax + 4], 0x5c
je 0x41c392
sub eax, 1
jns 0x41c350
test edi, edi
je 0x41c37a
lea eax, [esp + 4]
mov edx, edi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41c370
xor eax, eax
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0044e1ea
add esp, 0x10c
ret
mov byte [esp + eax + 4], 0
test edi, edi
je 0x41c3af
lea eax, [esp + 4]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41c3a5
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c3b6
sub eax, edx
mov esi, eax
lea edx, [esi - 2]
cmp edx, 1
ja 0x41c40d
movsx eax, byte [esp + 4]
push eax
call fcn.00451164
add esp, 4
cmp eax, 0x41
jl 0x41c40d
movsx ecx, byte [esp + 4]
push ecx
call fcn.00451164
add esp, 4
cmp eax, 0x5a
jg 0x41c40d
cmp byte [esp + 5], 0x3a
jne 0x41c40d
cmp esi, 3
jne 0x41c402
cmp byte [esp + 6], 0x5c
jne 0x41c40d
cmp byte [esp + 4], 0
jne 0x41c37a
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0044e1ea
add esp, 0x10c
ret

Function at 0x41c620
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100c
call fcn.00453840
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x1008], eax
mov eax, dword [esp + 0x1010]
lea ecx, [esp]
push ecx
lea edx, [esp + 0xc]
push edx
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0
push eax
push edx
mov dword [esp + 0x18], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
test eax, eax
jne 0x41c6b2
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c680
sub eax, edx
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.00402be0
mov eax, 1
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.0044e1ea
add esp, 0x100c
ret 4
mov ecx, dword [esp + 0x1008]
xor ecx, esp
xor eax, eax
call fcn.0044e1ea
add esp, 0x100c
ret 4
Function at 0x41c6d0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x49259b
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.00453840
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push ebp
push edi
mov eax, dword [0x4c3aa8]
xor eax, esp
push eax
lea eax, [esp + 0x101c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1030]
xor ebx, ebx
push 0xfff
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x24], bl
call fcn.004553e0
mov eax, dword [esp + 0x1038]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
mov dword [esp + 0x34], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x18]
mov edi, eax
push edx
lea ecx, [esp + 0x14]
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00402950
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x1028], ebx
call fcn.00408120
mov dword [esp + 0x1024], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
cmp edi, ebx
jne 0x41c7b8
test edx, edx
jg 0x41c7b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41c7c8
test edx, edx
jg 0x41c7c6
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 ebp
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.0044e1ea
add esp, 0x1018
ret 8

Function at 0x41c9a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x214]
push esi
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call fcn.004553e0
add esp, 0xc
mov ecx, esi
call fcn.0041cad0
test al, al
je 0x41caab
push edi
lea edi, [esi + 4]
push 0x5c
push edi
call fcn.0044f5b0
sub eax, esi
sub eax, 4
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.00450ad0
push 0x103
lea edx, [esp + 0x129]
push 0
push edx
mov byte [esp + 0x130], 0
call fcn.004553e0
add esp, 0x20
push edi
push 0x104
lea eax, [esp + 0x118]
push eax
push str.LngENU.ini
push ebp
push str.LanguageItems
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esi + 0x108]
lea eax, [esp + 0xc]
mov esi, edx
mov ecx, eax
sub esi, ecx
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x41ca52
mov edi, edx
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41ca60
mov ax, word [0x4aec7c]
mov word [edi], ax
lea eax, [esp + 0x110]
mov esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ca80
sub eax, esi
dec edx
lea ebx, [ebx]
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x41ca90
mov ecx, eax
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, 1
pop edi
mov ecx, dword [esp + 0x210]
pop esi
pop ebp
xor ecx, esp
call fcn.0044e1ea
add esp, 0x20c
ret 4
Function at 0x41cb90
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2810
call fcn.00453840
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x280c], eax
push ebp
mov ebp, dword [esp + 0x2818]
push esi
mov esi, ecx
call fcn.0041cad0
test al, al
jne 0x41cbc6
mov eax, 0x4aefa4
jmp 0x41cc97
lea eax, [esi + 4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cbd0
sub eax, edx
cmp eax, 3
jb 0x41cbbc
xor eax, eax
mov byte [esp + 8], cl
mov ecx, esi
mov dword [esp + 9], eax
mov dword [esp + 0xd], eax
mov word [esp + 0x11], ax
mov byte [esp + 0x13], al
call fcn.0041ccb0
lea edx, [esp + 8]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x41cc00
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0041c9a0
test al, al
je 0x41cbbc
add esi, 0x108
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cc25
sub eax, edx
cmp eax, 3
jb 0x41cbbc
push 0x27ff
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x19]
push 0
push ecx
call fcn.004553e0
add esp, 0xc
push esi
push 0x2800
lea edx, [esp + 0x1c]
push edx
push 0x4aefa4
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x2800
push 0
push 0x4d2200
call fcn.004553e0
add esp, 0xc
mov dword [0x4c7f38], 0x4d2200
xor eax, eax
mov cl, byte [esp + eax + 0x14]
mov byte [eax + 0x4d2200], cl
inc eax
test cl, cl
jne 0x41cc83
mov eax, 0x4d2200
mov ecx, dword [esp + 0x2814]
pop esi
pop ebp
xor ecx, esp
call fcn.0044e1ea
add esp, 0x2810
ret 4

Function at 0x41ccb0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, ecx
call fcn.0041cad0
test al, al
jne 0x41cceb
mov eax, 0x4aefa4
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0044e1ea
add esp, 0x108
ret
add esi, 4
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ccf3
sub eax, edx
cmp eax, 3
jb 0x41ccd0
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], cl
call fcn.004553e0
add esp, 0xc
push esi
push 0x104
lea ecx, [esp + 0xc]
push ecx
push 0x4aefa4
push str.Default
push str.Language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [0x4c7f3c], 0x4d4a00
xor eax, eax
mov cl, byte [esp + eax + 4]
mov byte [eax + 0x4d4a00], cl
inc eax
test cl, cl
jne 0x41cd45
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
mov eax, 0x4d4a00
call fcn.0044e1ea
add esp, 0x108
ret
Function at 0x41cf10
Capabilities:
Read .ini file

Disassembly:
cmp dword [esp + 8], 0
push ebp
push esi
je 0x41cfb9
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x41cfb9
push edi
push 0x201
mov esi, 0x200
call fcn.0042e6a6
add esp, 4
mov edi, eax
mov eax, 0x4aefa4
test ebx, ebx
je 0x41cf49
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
push edx
push 0x200
push edi
push eax
mov eax, dword [esp + 0x24]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
call ebp
inc eax
cmp eax, 0x200
jb 0x41cfb1
mov edi, edi
push edi
add esi, 0x200
call fcn.0042e69b
lea ecx, [esi + 1]
push ecx
call fcn.0042e6a6
add esp, 8
mov edi, eax
mov eax, 0x4aefa4
test ebx, ebx
je 0x41cf95
mov eax, ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x18]
push ecx
push esi
push edi
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
call ebp
inc eax
cmp eax, esi
jae 0x41cf70
mov eax, edi
pop edi
pop esi
pop ebp
ret 0xc
test ebx, ebx
jne 0x41cfd0
push 1
call fcn.0042e6a6
mov esi, eax
add esp, 4
mov byte [esi], bl
pop esi
pop ebp
ret 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cfd5
sub eax, edx
inc eax
push eax
call fcn.0042e6a6
mov esi, eax
mov eax, ebx
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cff0
sub eax, edx
push ebx
inc eax
push eax
push esi
call fcn.0044f3fc
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x41d570
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bbe88
push 0x455920
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4c3aa8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x250], eax
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x23c], edi
mov ecx, dword [str.mshtml.dll]
mov dword [ebp - 0x28], ecx
mov edx, dword [0x4aecdc]
mov dword [ebp - 0x24], edx
mov ax, word [0x4aece0]
mov word [ebp - 0x20], ax
mov cl, byte [0x4aece2]
mov byte [ebp - 0x1e], cl
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x240], edi
mov byte [ebp - 0x238], 0
push 0x208
push edi
lea edx, [ebp - 0x237]
push edx
call fcn.004553e0
add esp, 0xc
cmp ebx, edi
jne 0x41d612
lea eax, [edi + 0x57]
jmp 0x41d797
mov dword [ebp - 4], edi
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x41d647
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x28]
push edx
push 0x4b1b34
push eax
push 2
push 0x627
jmp 0x41d76d
push esi
call fcn.0044e353
add esp, 4
mov dword [ebp - 0x240], eax
test eax, eax
jne 0x41d678
mov dword [ebp - 0x23c], 8
push esi
push 0x4b199c
push 8
push 2
push 0x62f
jmp 0x41d773
push eax
push esi
mov eax, dword [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41d756
xor esi, esi
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x244], esi
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x24c]
push eax
push 0x4aec7c
mov ecx, dword [ebp - 0x240]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41d6d5
cmp dword [ebp - 0x244], esi
je 0x41d6d5
mov edx, dword [ebp - 0x24c]
movzx edi, word [edx + 0xa]
push edi
push str.IE__d
push 0x208
lea eax, [ebp - 0x238]
push eax
call fcn.0044f65a
add esp, 0x10
mov edi, dword [ebp - 0x250]
cmp edi, esi
je 0x41d73f
mov edx, dword [ebx]
cmp edx, esi
jbe 0x41d73f
lea eax, [ebp - 0x238]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d708
sub eax, esi
inc eax
cmp eax, edx
jbe 0x41d71a
mov eax, edx
jmp 0x41d72d
lea eax, [ebp - 0x238]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d723
sub eax, esi
inc eax
push eax
lea ecx, [ebp - 0x238]
push ecx
push edx
push edi
call fcn.004511d0
add esp, 0x10
lea eax, [ebp - 0x238]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d748
sub eax, edx
inc eax
mov dword [ebx], eax
jmp 0x41d785
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x28]
push edx
push 0x4b1b60
push eax
push 2
push 0x642
mov dword [ebp - 0x23c], eax
push str..YWAssistant.c
push str.B_GetVersion
call fcn.0041e6d0
add esp, 0x1c
mov dword [ebp - 4], 0xfffffffe
call fcn.0041d7b3
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0044e1ea
mov esp, ebp
pop ebp
ret
Function at 0x41dcc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bc068
push 0x455920
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4c3aa8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x164], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x158], eax
or esi, 0xffffffff
mov dword [ebp - 0x160], esi
xor ebx, ebx
mov dword [ebp - 0x168], ebx
push 0x124
push ebx
lea ecx, [ebp - 0x150]
push ecx
call fcn.004553e0
add esp, 0xc
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x154], 0x128
mov dword [ebp - 4], ebx
mov dword [edi], ebx
push ebx
call fcn.0044e353
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x41dda5
mov ebx, 8
mov dword [ebp - 0x15c], ebx
push 0x4b19b4
push ebx
push 2
push 0x7fb
push str..YWAssistant.c
push str.W_GetRunningProcesses
call fcn.0041e6d0
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
call fcn.0041de78
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0044e1ea
mov esp, ebp
pop ebp
ret
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x160], esi
cmp esi, 0xffffffff
jne 0x41ddd0
push 0x4b1ce8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
push 0x802
jmp 0x41dd69
lea edx, [ebp - 0x154]
push edx
push esi
call sub.KERNEL32.dll_Process32First
lea ecx, [ecx]
test eax, eax
je 0x41dd7b
mov byte [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x14c]
push eax
push 0x4afd60
lea ecx, [ebp - 0x28]
push ecx
call fcn.0044f5dd
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
push edi
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x158]
call fcn.0041d010
add esp, 8
mov ebx, eax
mov dword [ebp - 0x15c], ebx
test ebx, ebx
jne 0x41dd7b
push 0x128
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.004553e0
add esp, 0xc
mov dword [ebp - 0x154], 0x128
lea ecx, [ebp - 0x154]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
jmp 0x41dde0
Function at 0x41dee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bbe28
push 0x455920
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4c3aa8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov eax, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
push ebx
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x41df71
push edi
push 0x4b1d14
push esi
push 2
push 0x833
push str..YWAssistant.c
push str.i_B_GetJavascript
call fcn.0041e6d0
add esp, 0x1c
jmp 0x41dfcb
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push str.1400
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x41dfbd
push str.1400
push edi
push 0x4b1d38
push esi
push 2
push 0x83a
push str..YWAssistant.c
push str.i_B_GetJavascript
call fcn.0041e6d0
add esp, 0x20
jmp 0x41dfcb
cmp dword [ebp - 0x24], ebx
jne 0x41dfcb
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.0041dff0
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e0a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bbe08
push 0x455920
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4c3aa8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov ebx, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x20]
push ecx
push 0x2001f
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x41e12f
push edi
push 0x4b1d14
push esi
push 2
push 0x875
push str..YWAssistant.c
push str.i_B_SetJavascript
call fcn.0041e6d0
add esp, 0x1c
jmp 0x41e1e2
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0
push str.1400
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x41e17c
push str.1400
push edi
push 0x4b1d38
push esi
push 2
push 0x87c
push str..YWAssistant.c
push str.i_B_SetJavascript
call fcn.0041e6d0
add esp, 0x20
jmp 0x41e1e2
cmp dword [ebp - 0x1c], 0
je 0x41e1e2
mov dword [ebp - 0x1c], 0
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0
push str.1400
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x41e1d4
mov edx, dword [ebp - 0x1c]
push edx
push str.1400
push edi
push 0x4b1d60
push esi
push 2
push 0x888
push str..YWAssistant.c
push str.i_B_SetJavascript
call fcn.0041e6d0
add esp, 0x24
jmp 0x41e1e2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41e1e2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xfffffffe
call fcn.0041e205
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e2a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bbde8
push 0x455920
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4c3aa8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x230], ebx
mov byte [ebp - 0x228], bl
push 0x200
push ebx
lea eax, [ebp - 0x227]
push eax
call fcn.004553e0
add esp, 0xc
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], 2
mov dword [ebp - 0x22c], ebx
xor ecx, ecx
cmp ecx, str..cqrcb.com
jne 0x41e323
lea eax, [ebx + 0x57]
jmp 0x41e488
mov dword [ebp - 4], ebx
push str..cqrcb.com
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains
push 0x4b19cc
push 0x200
lea edx, [ebp - 0x228]
push edx
call fcn.0044f65a
add esp, 0x14
lea eax, [ebp - 0x22c]
push eax
push 0xf003f
push ebx
lea ecx, [ebp - 0x228]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x230], eax
cmp eax, ebx
jne 0x41e396
push str..cqrcb.com
push 0x4b1d78
push eax
push 4
push 0x8c2
push str..YWAssistant.c
push str.B_AddTrustSiteDNS
call fcn.0041e6d0
add esp, 0x1c
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x41e3ad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x22c], ebx
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x22c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x228]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
mov dword [ebp - 0x230], esi
cmp esi, ebx
je 0x41e3f8
lea edx, [ebp - 0x228]
push edx
push 0x4b1da8
push esi
push 2
push 0x8cf
jmp 0x41e468
push 4
cmp edi, ebx
je 0x41e432
lea eax, [ebp - 0x234]
push eax
push 4
push ebx
push edi
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov dword [ebp - 0x230], esi
cmp esi, ebx
je 0x41e47a
push edi
push 0x4b1dc0
push esi
push 2
push 0x8d8
jmp 0x41e468
lea edx, [ebp - 0x234]
push edx
push 4
push ebx
push 0x4b18a0
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov dword [ebp - 0x230], esi
cmp esi, ebx
je 0x41e47a
push ebx
push 0x4b1dc0
push esi
push 2
push 0x8e1
push str..YWAssistant.c
push str.B_AddTrustSiteDNS
call fcn.0041e6d0
add esp, 0x1c
mov dword [ebp - 4], 0xfffffffe
call fcn.0041e4ac
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0044e1ea
mov esp, ebp
pop ebp
ret