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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWARE11_Mail__Media_GmbHMailCheck_IE
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
jne 0x455f19
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x595740
mov ebx, 4
push esi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x455f10
cmp dword [ebp - 0x10], ebx
je 0x455f23
test esi, esi
je 0x455f19
push esi
call edi
xor esi, esi
xor ebx, ebx
call fcn.00455e20
mov dword [ebp - 8], ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
test esi, esi
je 0x455f32
push esi
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45f350
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573201
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x40]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov dword [edx], ecx
sub eax, ecx
mov ecx, dword [edi + 0x30]
mov dword [ecx], eax
mov dword [ebp - 0x6c], 0x5919f8
mov dword [ebp - 4], ebx
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x5c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.004114c0
mov ecx, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
call fcn.0043b030
mov byte [ebp - 0x1c], al
cmp dword [ebp - 0x24], ebx
jne 0x45f3dc
mov eax, dword [ebp - 0x50]
or eax, 4
push ebx
mov ecx, esi
call fcn.004116a0
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 4]
and dword [ebp + eax - 0x58], 0xfffffffe
lea eax, [ebp + eax - 0x6c]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x6c]
push ecx
lea edx, [ebp - 0x6c]
push edx
mov dword [eax + 0x18], 6
mov dword [eax + 0x1c], ebx
call fcn.0045f1b0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x45f43e
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00450060
cmp eax, 0xffffffff
jne 0x45f43e
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x5c]
mov dword [ebp + eax - 0x6c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push ecx
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.0050fb4a
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x466da0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
movzx edx, cx
sub esp, 8
sub edx, 0x7b
je 0x466e17
sub edx, 0x389
push ebx
je 0x466dfe
dec edx
jne 0x466df7
push 2
mov byte [edi + 0x45], dl
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x466df7
cmp byte [edi + 0x44], 0
jne 0x466ddd
lea ebx, [edi + 0x28]
call fcn.004d5c70
mov eax, dword [edi + 0x40]
test eax, eax
je 0x466df7
push 0
push 0x20000014
push 0x9000
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x44], 0
mov byte [edi + 0x45], 0
jne 0x466df7
lea ebx, [edi + 0x28]
call fcn.004d5c70
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov edx, dword [0x5c4088]
push esi
cmp edx, 6
ja 0x466e2d
jne 0x466e41
shr ecx, 0x10
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
jmp 0x466e4d
lea edx, [ebp - 8]
push edx
mov esi, eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetCursorPos]
movzx edx, word [ebp - 4]
movzx eax, word [ebp - 8]
mov ecx, dword [edi + 4]
shl edx, 0x10
or edx, eax
push edx
push esi
push 0xa00c
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x46f4a0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x46f4cd
push esi
push edi
jmp 0x46f4b0
movzx esi, byte [edx]
movzx esi, byte [esi + 0x58e240]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x46f4b0
pop edi
pop esi
ret
Function at 0x46f530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x46f552
mov esi, 0x80
cmp esi, dword [edi]
jne 0x46f55f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5c3e50]
test eax, eax
je 0x46f56a
call eax
lea ecx, [esi*8]
push ecx
call fcn.0046c000
mov esi, eax
mov eax, dword [0x5c3e54]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x46f58a
call eax
test esi, esi
je 0x46f556
mov edx, dword [edi + 0xc]
push edx
call fcn.0046c2e0
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x5bd66c]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.00530110
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x46f66f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x46f603
movzx edi, byte [esi]
movzx edi, byte [edi + 0x58e240]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x46f5e2
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x46f64b
mov esi, dword [eax]
test esi, esi
je 0x46f621
mov edx, dword [eax + 4]
jmp 0x46f623
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x46f64b
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x46f643
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x46f664
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x46f664
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x46f65a
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x46f5d6
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470c40
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
lea ecx, [ebp - 0x110]
push ecx
push 0x104
push eax
push edx
mov dword [ebp - 0x118], 0x200
call fcn.00470ae0
add esp, 0x10
test eax, eax
jne 0x470d2d
lea ecx, [ebp - 0x110]
call fcn.00470230
mov esi, eax
test esi, esi
je 0x470d18
call fcn.0046f8b0
test eax, eax
mov eax, esi
je 0x470cd7
cmp word [esi], 0
je 0x470cbc
cmp word [eax], 0x5c
je 0x470cb7
add eax, 2
cmp word [eax], 0
jne 0x470ca6
jmp 0x470cbc
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x114]
push edx
mov eax, edx
push eax
lea ecx, [ebp - 0x118]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x470d09
cmp byte [esi], 0
je 0x470cf0
lea esp, [esp]
cmp byte [eax], 0x5c
je 0x470ced
inc eax
cmp byte [eax], 0
jne 0x470ce0
jmp 0x470cf0
mov byte [eax], 0
lea eax, [ebp - 0x114]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x118]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.0052be85
add esp, 4
test edi, edi
jne 0x470d2d
mov eax, 0x200
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x118]
pop edi
xor ecx, ebp
pop esi
call fcn.0052b755
mov esp, ebp
pop ebp
ret
Function at 0x490130
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
jne 0x49014a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x44
call fcn.0046c560
mov edi, eax
test edi, edi
je 0x490141
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.0048fc70
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.0048fdf0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.0048f9f0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.0048fc70
mov ecx, dword [ebp + 0x10]
add esp, 0x1c
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.0048f9f0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.0048fc70
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
add esp, 0x1c
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.00490130
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.0048f9f0
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.0048f9f0
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
mov edx, 0xfff7
add esp, 0x20
and cx, dx
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x497fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x497fde
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x497ff4
cmp byte [edi], al
je 0x497fe7
inc ecx
cmp byte [ecx], al
jne 0x497fe2
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x4980f5
jmp 0x498013
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x49801b
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x49807b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x49805d
jmp 0x498040
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x58e240]
cmp dl, byte [eax + 0x58e240]
jne 0x49805d
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x498040
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x58e240]
movzx ecx, byte [ecx + 0x58e240]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x4980e5
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x10], 0
je 0x4980c8
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x4980be
jmp 0x4980a0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x58e240]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x4980a0
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 4]
jmp 0x4980ca
xor edx, edx
push ebx
push edi
lea eax, [esi + 4]
call fcn.0046f680
add esp, 8
test eax, eax
je 0x4980fc
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4980f5
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x498010
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4980e5
Function at 0x4981a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x4981bd
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x4981d5
cmp byte [eax], 0
je 0x4981c8
inc ecx
cmp byte [ecx], 0
jne 0x4981c2
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 4]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x4982b7
mov ecx, dword [edx + 8]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x4981fa
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x49824a
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x498232
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x58e240]
cmp cl, byte [eax + 0x58e240]
jne 0x49822f
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x498212
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x58e240]
movzx edx, byte [edx + 0x58e240]
sub edx, ecx
jne 0x4982a6
cmp dword [edi + 0x20], 0
lea esi, [edi + 0x14]
je 0x498284
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x49827e
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x58e240]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x498260
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x498286
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.0046f680
add esp, 8
test eax, eax
je 0x4982bd
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4982b6
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x4981f0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x4982a3
Function at 0x49cd70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [edx]
xor esi, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
lea esp, [esp]
test edi, edi
je 0x49ce28
cmp byte [edi], 0
mov eax, edi
je 0x49cda6
nop
inc eax
cmp byte [eax], 0
jne 0x49cda0
sub eax, edi
and eax, 0x3fffffff
cmp dword [ebx + 0x194], 0
lea ecx, [ebx + 0x188]
mov esi, eax
je 0x49ce01
xor eax, eax
mov edx, esi
mov ecx, edi
test esi, esi
jle 0x49cdf1
jmp 0x49cdd0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x58e240]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x49cdd0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 8]
xor edx, edx
div dword [ebx + 0x188]
lea ecx, [ebx + 0x188]
jmp 0x49ce03
xor edx, edx
push esi
push edi
mov eax, ecx
call fcn.0046f680
add esp, 8
test eax, eax
je 0x49ce1e
mov eax, dword [eax + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
jmp 0x49ce2b
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
xor eax, eax
jmp 0x49ce2b
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x49ce3d
movzx ecx, byte [esi + 0x58e970]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x49ce5c
inc esi
mov dword [ebp - 4], esi
cmp esi, 3
jl 0x49cd90
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
pop edi
pop esi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a2b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push ebx
xor eax, eax
test dword [edx + 0xc], 0x4000000
push esi
push edi
mov dword [ebp - 4], eax
je 0x4a2c56
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 0x24]
test edi, edi
je 0x4a2b76
lea ebx, [ebx]
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x4a2b6c
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x4a2b5c
or eax, 0xffffffff
jmp 0x4a2b63
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 8
dec esi
jne 0x4a2b50
mov edi, dword [edi + 4]
test edi, edi
jne 0x4a2b40
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 4]
mov eax, esi
test esi, esi
jne 0x4a2b86
xor edi, edi
mov dword [ebp - 8], edi
jmp 0x4a2ba2
cmp byte [esi], 0
je 0x4a2b96
jmp 0x4a2b90
inc eax
cmp byte [eax], 0
jne 0x4a2b90
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 8], eax
mov ebx, dword [ecx + 0x44]
add ebx, 0x34
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0xc], ebx
je 0x4a2be7
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x4a2be1
jmp 0x4a2bc0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x58e240]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x4a2bc0
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [ebx]
jmp 0x4a2be9
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.0046f680
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x4a2c53
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x4a2c53
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push edx
xor eax, eax
mov dword [ebp - 8], ebx
call fcn.004a10a0
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
je 0x4a2c4c
mov ecx, dword [eax + 4]
cmp ecx, ebx
jle 0x4a2c4c
mov edx, dword [eax + 8]
mov esi, ecx
nop
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x4a2c3c
or eax, 0xffffffff
jmp 0x4a2c43
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 4
dec esi
jne 0x4a2c30
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x4a2c02
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c5a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [eax]
push ebx
lea ecx, [ebp - 4]
push ecx
push 1
push 0
push edx
push eax
xor bl, bl
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c5ab9
mov eax, dword [ebp - 4]
push esi
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.Flags
push eax
mov esi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c5aa6
cmp dword [ebp - 0x10], 4
jne 0x4c5aa6
cmp dword [ebp - 8], 1
jne 0x4c5aa6
mov bl, 1
test esi, esi
je 0x4c5ab1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c5ac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ecx]
push ebx
push esi
push edi
push 2
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.00459760
push 0x59b064
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [eax + eax + 2]
push edx
push 0x59b064
push 1
push ebx
push 0x59b068
push esi
call edi
cmp eax, ebx
jne 0x4c5b31
push 4
lea eax, [ebp - 8]
push eax
push 4
push ebx
push str.Flags
push esi
mov dword [ebp - 8], 1
call edi
mov byte [ebp - 1], 1
test eax, eax
je 0x4c5b34
mov byte [ebp - 1], bl
cmp esi, ebx
je 0x4c5b3f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c5b50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push 0x2001f
lea eax, [ebp - 0xa0]
push eax
mov eax, str.SoftwareMicrosoftInternet_ExplorerTabbedBrowsing
mov ecx, reloc.WS2_32.dll_accept
mov byte [esi], bl
mov dword [esi + 4], 1
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
call fcn.00459760
mov edi, dword [ebp - 0xa0]
test eax, eax
jne 0x4c5c7e
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x94]
push eax
push ebx
push str.WarnOnClose
push edi
mov dword [ebp - 0x8c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c5c58
mov eax, dword [ebp - 0x94]
dec eax
je 0x4c5bf4
sub eax, 3
jne 0x4c5c58
mov ecx, dword [ebp - 0x88]
mov dword [esi + 4], ecx
jmp 0x4c5c58
mov eax, dword [ebp - 0x8c]
cmp eax, 0x80
jae 0x4c5c58
shr eax, 1
xor edx, edx
mov word [ebp + eax*2 - 0x88], dx
lea eax, [ebp - 0x88]
push str.false
push eax
call fcn.0052d8ad
add esp, 8
test eax, eax
je 0x4c5c55
lea ecx, [ebp - 0x88]
push 0x59b084
push ecx
call fcn.0052d8ad
add esp, 8
test eax, eax
je 0x4c5c55
lea edx, [ebp - 0x88]
push 0x594570
push edx
call fcn.0052d8ad
add esp, 8
test eax, eax
jne 0x4c5c58
mov dword [esi + 4], ebx
cmp dword [esi + 4], ebx
je 0x4c5c7e
push 4
lea eax, [ebp - 0x90]
push eax
push 4
push ebx
push str.WarnOnClose
push edi
mov byte [esi], 1
mov dword [ebp - 0x90], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp edi, ebx
je 0x4c5c89
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.0052b755
mov esp, ebp
pop ebp
ret

Function at 0x4c5ca0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [edi], 0
je 0x4c5cfc
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftInternet_ExplorerTabbedBrowsing
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c5cfc
mov ecx, dword [edi + 4]
push esi
mov esi, dword [ebp - 4]
push 4
lea edx, [ebp - 8]
push edx
push 4
push eax
push str.WarnOnClose
push esi
mov dword [ebp - 8], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4c5cfb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c61c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fe68
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.iexplore.exe
push str.iexplore.exe
call fcn.0052d8ad
add esp, 8
test eax, eax
sete al
xor ecx, ecx
mov dword [ebp - 0x40], str.iexplore.exe
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x2b], 1
mov ebx, 0x2710
lea edi, [ebp - 0x28]
mov dword [ebp - 4], ecx
call fcn.004c59b0
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0x40]
push eax
push 0x4c6000
mov byte [ebp - 0x2b], 1
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, ebx
or ecx, edi
je 0x4c629c
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, eax
or ecx, edx
jne 0x4c627b
lea edx, [ebp - 0x14]
push edx
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push 0
add eax, 0x2ac18000
push 0xa
adc ecx, 0xfe624e21
push ecx
push eax
call fcn.005343e0
cmp edi, edx
jb 0x4c629c
ja 0x4c6285
cmp ebx, eax
jbe 0x4c629c
cmp byte [ebp - 0x2b], 0
jne 0x4c629c
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 0x2b], 0
je 0x4c6234
mov bl, byte [ebp - 0x2b]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4c62d6
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c62d6
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c62d6
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret