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

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x118], eax
cmp dword [0x1023a234], 0
push ebx
mov ebx, dword [esp + 0x12c]
push ebp
mov ebp, dword [esp + 0x134]
push esi
mov esi, dword [esp + 0x130]
push edi
mov edi, dword [esp + 0x130]
jne 0x1013af1b
push ebp
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0x11c
ret 0x10
and dword [esp + 0x14], 0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x14]
jne 0x1013af25
sub ecx, edx
push 1
sar ecx, 1
lea eax, [ecx + 1]
xor edx, edx
push edx
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x24], eax
add eax, eax
push eax
push edx
push 0x78
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], eax
call fcn.1015692e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1013afc9
xor ecx, ecx
push ecx
push ecx
push dword [esp + 0x24]
push eax
push dword [esp + 0x28]
push esi
push ecx
push ecx
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
lea eax, [esp + 0x10]
push eax
xor eax, eax
push eax
push dword [esp + 0x1c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov esi, eax
test esi, esi
jne 0x1013afcc
mov eax, dword [esp + 0x10]
push 1
xor edx, edx
push edx
lea ecx, [esp + 0xb8]
push ecx
inc eax
push eax
push edx
push 0x78
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], eax
call fcn.1015692e
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x1013afdc
lea ecx, [esp + 0x20]
call fcn.1000cead
push 0xe
pop esi
lea ecx, [esp + 0x2c]
call fcn.1000cead
mov eax, esi
jmp 0x10026c48
lea eax, [esp + 0x10]
push eax
push esi
push dword [esp + 0x1c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edi, eax
test edi, edi
jne 0x1013b02a
test ebx, ebx
je 0x1013b016
push dword [ebp]
push ebx
push dword [esp + 0x18]
push esi
push eax
push eax
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1013b02a
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
jmp 0x1013b02a
push eax
push eax
push dword [esp + 0x18]
push esi
push eax
push eax
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
add eax, eax
mov dword [ebp], eax
lea ecx, [esp + 0x20]
call fcn.1000cead
mov esi, edi
jmp 0x1013afcc
Function at 0x10032212
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ecx
push ebx
mov ebx, dword [0x1023a164]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
mov dword [esp + 0x10], ebx
test edi, edi
je 0x10032234
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
call dword [eax + 0x28]
test edi, edi
je 0x10032246
lea ecx, [edi + 0x24]
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov ebp, dword [esi + 0x30]
mov ecx, esi
call fcn.1000f677
mov ebx, dword [esi + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esi + 0x30], edx
test ebx, ebx
je 0x10040d57
test edi, edi
je 0x1010ff53
push ebx
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [esp + 0x10], eax
jne 0x1010ff53
mov edx, dword [esp + 0x18]
test edi, edi
je 0x100322ad
cmp dword [0x1023a170], edi
jne 0x1010ffa9
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x100322a2
cmp ecx, edx
jne 0x1010ff97
mov eax, dword [esp + 0x18]
mov byte [esi + 0x1e], 0
mov dword [esi + 0x34], eax
test ebp, ebp
jne 0x1010ffd1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x10]
cmp eax, dword [0x1023a164]
je 0x10032283
jmp 0x1010ff47
mov ebx, eax
test ebx, ebx
jne 0x10032266
jmp 0x1003227f
mov ecx, esi
call fcn.1000f686
jmp 0x10040d6c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1010ff7e
mov eax, dword [eax + 0x1c]
cmp ebx, eax
je 0x1010ff76
test ebx, ebx
je 0x1010ff7e
test eax, eax
je 0x1010ff7e
push eax
push ebx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1010ff7e
mov eax, dword [esp + 0x1c]
and dword [eax + 0x1c], 0
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x10]
push ebx
call dword [sym.imp.USER32.dll_SetParent]
jmp 0x1003227f
cmp ebp, ecx
jne 0x1010ff9d
xor ebp, ebp
mov eax, dword [ecx]
push 1
call dword [eax + 0x20]
jmp 0x100322a2
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x1010ffc1
cmp ecx, edx
je 0x1010ffc1
cmp ebp, ecx
jne 0x1010ffba
xor ebp, ebp
mov eax, dword [ecx]
push 1
call dword [eax + 0x20]
mov eax, dword [esp + 0x18]
mov byte [esi + 0x1e], 1
mov dword [esi + 0x38], eax
jmp 0x100322ad
mov ecx, ebp
call fcn.1017f885
jmp 0x100322b5
Function at 0x1003b4a9
Capabilities:
Encode data using xor

Disassembly:
push esi
call fcn.1003b099
add bl, byte [ebp - 0x19]
xor bl, al
mov byte [ebp + edi + 0x10], bl
mov byte [ebp - 0x19], bh
mov bh, al
add esi, 2
inc edi
cmp edi, 4
jb 0x1003b0bc
and dword [ebp - 4], 0
push 0
mov edi, dword [ebp + 0x10]
push edi
call fcn.1000ced8
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x101087ac
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [ebp - 0x24], edi
test edi, edi
je 0x1003b123
push esi
call fcn.1003b099
add bl, byte [ebp - 0x19]
xor bl, al
mov ecx, dword [ebp - 0x20]
mov byte [ecx], bl
mov byte [ebp - 0x19], bh
mov bh, al
add esi, 2
mov dword [ebp + 8], esi
inc ecx
mov dword [ebp - 0x20], ecx
dec edi
jmp 0x1003b0fa
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.1001b9e5
ret 0xc
push 0x14
push 0x1003b510
call fcn.1001b9a0
mov edi, ecx
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov esi, dword [ebp + 8]
push esi
call fcn.1003b099
mov bl, al
mov byte [ebp - 0x1a], bl
add esi, 2
push esi
call fcn.1003b099
mov byte [ebp - 0x19], al
mov cl, al
xor cl, bl
add esi, 2
cmp cl, 1
je 0x10108788
cmp cl, 2
jne 0x1003b55c
add edi, 0x22c
cmp byte [edi], 0
je 0x1003b12a
xor bh, bh
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
dec eax
js 0x1003b52c
add bh, byte [edi + eax]
jmp 0x1003b504
mov eax, dword [ebp + 0x10]
and dword [eax], 0
push esi
call fcn.1003b099
mov byte [ebp + 0x13], al
mov bl, al
mov al, byte [ebp - 0x1a]
xor bl, al
cmp bl, bh
jne 0x1003b12a
add esi, 2
movsx edi, al
sar edi, 1
mov bh, byte [ebp + 0x13]
and edi, 3
jne 0x1003b567
jmp 0x1003b57d
mov eax, dword [ebp + 0x10]
and dword [eax], 0
jmp 0x1003b12a
push esi
call fcn.1003b099
add bl, byte [ebp - 0x19]
xor bl, al
mov byte [ebp - 0x19], bh
mov bh, al
add esi, 2
dec edi
jne 0x1003b567
xor edi, edi
jmp 0x1003b0bc
xor bh, bh
push edi
call fcn.1000e392
jmp 0x1010879a
dec bh
push eax
call fcn.1000e3ac
test eax, eax
jne 0x10108792
mov eax, dword [ebp + 0x10]
mov dword [eax], 2
jmp 0x1003b532
mov dword [ebp - 4], 0xfffffffe
push 7
pop eax
jmp 0x1003b12c
Function at 0x1003c4bf
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x120
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
mov esi, dword [esp + 0x128]
push 0x100ea4f4
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.kernel32.dll_lstrcpyA]
push 0xfe
lea eax, [esp + 0x26]
push eax
lea eax, [esi + 0xac]
push eax
call fcn.1015692e
push 0x1003c548
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.kernel32.dll_lstrcatA]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x100fe537
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.10001e57
add esp, 0x120
ret 4
push ebx
push ebp
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop ebp
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
push ebx
push 0x100fe698
push dword [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x100fe684
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
push 0x100fe6a4
push dword [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x100fe684
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
push 0x100fe6b0
push dword [esp + 0x2c]
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], 1
call edi
test eax, eax
jne 0x100fe684
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
push 0x100fe6c0
push dword [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x100fe684
push esi
push dword [esp + 0x20]
lea eax, [esp + 0x30]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push eax
call fcn.1018ec8f
shl eax, 0xe
lea ecx, [esi + 0x3c]
xor ax, word [ecx]
mov edx, 0x4000
and ax, dx
xor word [ecx], ax
movzx eax, word [ecx]
test edx, eax
je 0x100fe684
push esi
call fcn.101972b9
mov eax, dword [esp + 0x1c]
shl eax, 2
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 3
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [esi + 0x134], eax
test eax, eax
je 0x100fe684
lea ecx, [esp + 0x14]
push ecx
push eax
lea eax, [esp + 0x18]
push eax
push ebx
push 0x100fe6c8
push dword [esp + 0x2c]
call edi
test eax, eax
je 0x100fe684
push dword [esi + 0x134]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov dword [esi + 0x134], ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
pop ebx
jmp 0x1003c52e
Function at 0x10042096
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ecx
mov eax, dword [0x1023cfbc]
test eax, eax
jne 0x100420c6
xor ecx, ecx
lea eax, [esp]
push eax
push ecx
push ecx
push 0x100036d3
push 0x1000
push ecx
mov dword [0x10239d54], ecx
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [0x1023cfbc], eax
neg eax
sbb eax, eax
and eax, 0xffff2153
add eax, 0xdead
pop ecx
ret
Function at 0x1004ee19
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebp
xor ebp, ebp
push esi
mov esi, ecx
mov dword [esi], eax
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 8], ebp
cmp word [eax + 0x2a], bp
jne 0x101414f4
pop esi
pop ebp
ret 4
xor ecx, ecx
inc ecx
mov dword [esi + 0x14], ecx
movzx eax, word [eax + 0x2a]
test eax, eax
je 0x10141506
add eax, eax
jmp 0x10141509
push 0x20
pop eax
push edi
add eax, eax
push eax
mov ecx, esi
call fcn.1004e2fc
mov eax, dword [esi]
movzx edi, word [eax + 0x28]
xor eax, eax
mov dword [esp + 0x10], ebp
cmp ax, di
jae 0x1014158f
push ebx
mov ebx, ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 8]
lea eax, [edx + ebp]
push eax
call fcn.1001b857
mov ecx, dword [esi + 8]
mov dword [ebx + ecx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ebp + 4]
mov ecx, dword [esi + 8]
shr eax, 0x1f
xor ax, word [ecx + ebx + 6]
xor edx, edx
inc edx
and ax, dx
xor word [ecx + ebx + 6], ax
mov eax, dword [esi + 8]
or word [eax + ebx + 6], 2
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
mov word [ebx + eax + 4], cx
mov eax, dword [esi + 8]
or word [eax + ebx + 6], 0x10
inc ecx
add ebp, 8
add ebx, 0xc
mov dword [esp + 0x14], ecx
cmp cx, di
jb 0x10141528
xor ebp, ebp
pop ebx
mov eax, edi
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 4], eax
call fcn.1004e2a1
mov dword [esi + 0x14], ebp
pop edi
jmp 0x1004ee38
Function at 0x10066bdc
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0x30]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10066c02
push esi
call fcn.1007c472
movzx eax, ax
push eax
push edi
call fcn.10066c10
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4

Function at 0x10068055
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x14]
inc ebx
test edi, 0x8000
jne 0x101006bc
mov esi, dword [esp + 0x10]
push esi
call fcn.100dc9ac
mov al, byte [esi + 0x11]
cmp al, 6
je 0x101006c9
cmp al, 8
jne 0x101006ea
push edi
call fcn.1015692e
pop edi
pop esi
pop ebx
ret 8
and edi, 0xffff7fff
xor ebx, ebx
jmp 0x1006806d
test byte [esi + 0x24], 1
je 0x101006db
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_LockResource]
mov dword [esi + 4], eax
and dword [esi + 0x24], 0xfffffffb
and dword [esi + 0x14], 0
xor eax, eax
jmp 0x10068090
cmp al, 2
jne 0x101006f6
push dword [esi + 0xc]
call fcn.101585f0
push ebp
mov eax, edi
or eax, 0x8000
push eax
lea ebp, [esi + 0x28]
push ebp
push 0
call fcn.100c9dce
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10100725
mov ecx, dword [esi + 0xc]
call fcn.100e202e
push eax
push dword [ebp]
call fcn.101565f0
jmp 0x10100745
test ebx, ebx
je 0x10100743
test edi, edi
jne 0x10100743
push esi
call fcn.100cba87
mov edi, eax
test edi, edi
jns 0x10100743
push esi
call fcn.100dc9ac
mov eax, edi
jmp 0x10100745
xor eax, eax
pop ebp
jmp 0x10068090
Function at 0x1006cc7e
Capabilities:
Get graphical window text

Disassembly:
push 0
push dword [0x1023a4dc]
push 0x199
push dword [0x1023a38c]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.1000d156
mov eax, dword [eax + 4]
test eax, eax
je 0x10114f0a
push eax
push dword [0x1023a3dc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x102398a0]
cmp eax, 3
je 0x10190fee
cmp eax, 5
je 0x10190fee
cmp eax, 4
je 0x10190fee
cmp eax, 2
je 0x10190fee
ret
mov eax, 0x1023af04
jmp 0x1006cca8
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x1023904c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x100
lea eax, [ebp - 0x104]
push eax
push dword [0x1023a3dc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
push eax
push 0xffffffffffffffff
push 0x18f
push dword [0x1023a404]
mov byte [ebp - 5], 0
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov esi, eax
push esi
push 0x186
push dword [0x1023a404]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10001e57
leave
ret
Function at 0x1006dc42
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x64
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x1006dd01
push ebp
push esi
push edi
push 2
lea eax, [esp + 0x4c]
push eax
push ebx
xor ebp, ebp
call fcn.1000e99f
test eax, eax
je 0x101034d7
lea esi, [esp + 0x5c]
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push ebx
test eax, 0x40000000
jne 0x1006e3c9
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x10103512
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, edx
mov eax, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp esi, dword [esp + 0x24]
jge 0x101034f6
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x34], edi
jle 0x1010353f
cmp edx, dword [esp + 0x20]
jge 0x1010354a
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x30], edi
jle 0x10103562
cmp eax, esi
jne 0x10103570
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x64]
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0x64
ret 4
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
cmp ebp, dword [0x1023a16c]
jne 0x1006dcfe
lea eax, [esp + 0x38]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x38]
push eax
push ebp
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x1006dca6
mov eax, dword [0x10241310]
and dword [esp + 0x1c], ebp
and dword [esp + 0x18], ebp
mov dword [esp + 0x20], eax
mov eax, dword [0x10241314]
mov dword [esp + 0x24], eax
jmp 0x1006dc83
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x1c]
jge 0x1006dcde
mov eax, dword [esp + 0x1c]
jmp 0x10103541
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 9
push ebx
call esi
push 3
push ebx
call esi
push 0
push 1
push 0xb
push ebx
call edi
jmp 0x1006dcfe
mov eax, edi
mov dword [esp + 0x14], eax
jmp 0x1006dcde
sub ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x18]
jge 0x10103568
mov ecx, dword [esp + 0x18]
jmp 0x10103564
mov ecx, edi
mov dword [esp + 0x10], ecx
cmp ecx, edx
je 0x1006dcf6
test ebp, ebp
je 0x10103588
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0x15
push 0
push 0
push eax
push ecx
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1006dcfe
Function at 0x1007d643
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, dword [esp + 0xc]
lea ebx, [esi + 0x18]
test dword [ebx], 0x4000
jne 0x100888aa
call fcn.1002fd35
test dword [ebx], 0x800000
je 0x100888a2
test dword [ebx], 0x200
mov eax, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x94]
jne 0x10100d40
push ebp
mov ebp, dword [esi + 0x38]
test ebp, ebp
je 0x1007d6d5
mov eax, dword [edi + 0x24]
test byte [eax + 0x18], 0x10
je 0x10086e41
mov ecx, dword [ebx]
test ecx, 0x800000
je 0x1007d746
and ecx, 0xffdfffff
or ecx, 0x4000
mov dword [ebx], ecx
test ecx, 0x200
jne 0x10100dbf
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x10100dc9
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
je 0x1007d73a
or dword [esi + 0x20], 0x200
push 1
push esi
call fcn.1015692e
mov eax, dword [edi + 0x20]
push 0
test eax, eax
jne 0x100888b2
push esi
call fcn.1015692e
and dword [esi + 0x20], 0xfffffdff
push edi
call fcn.1007d62e
test eax, eax
jne 0x10100dff
mov eax, dword [edi + 0x24]
test byte [eax + 0x18], 0x10
je 0x10086e73
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push edi
mov ebp, eax
call fcn.1007d93a
test ebp, ebp
je 0x1007d73a
push ebp
call fcn.1007d183
and dword [ebx], 0xffffbfff
push esi
call fcn.1007d750
xor eax, eax
inc eax
pop ebp
pop edi
pop esi
pop ebx
ret 8
cmp dword [0x10239d4c], 0
jne 0x1007d696
test dword [ebx], 0x2000
jne 0x1007d696
test byte [esi + 0x20], 8
je 0x10100d6b
test byte [esi + 0x20], 0x10
je 0x1007d696
jmp 0x10100d6b
mov eax, dword [edi + 0x1c]
mov eax, dword [eax]
xor ebp, ebp
cmp byte [eax + 0x37], 0x20
jne 0x10086e87
mov eax, dword [esi]
push esi
call dword [eax + 4]
inc ebp
push 0
push edi
call fcn.1007d93a
test ebp, ebp
je 0x1007d73a
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x1007d73a
push 0
push esi
call fcn.1007d4dd
xor eax, eax
inc eax
jmp 0x1007d74b
push eax
call fcn.1007d93a
jmp 0x1007d6e8
mov eax, dword [eax + 0x144]
test eax, eax
je 0x1007d681
cmp esi, eax
je 0x1007d681
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10100d64
mov dword [eax], 0x192
xor eax, eax
jmp 0x1007d74a
mov eax, dword [ebx]
shr eax, 0x10
and eax, 7
jl 0x1007d696
cmp eax, 1
jle 0x10100d9e
cmp eax, 3
je 0x10100da1
jle 0x1007d696
cmp eax, 5
jg 0x1007d696
test dword [ebx], 0x100000
jne 0x1007d696
push eax
jmp 0x10100daf
test dword [ebx], 0x80000
jne 0x1007d696
push 3
push esi
call fcn.1015692e
test eax, eax
je 0x1007d696
jmp 0x10100de7
call fcn.1006531a
jmp 0x1007d6be
cmp ebp, eax
je 0x10100ddd
push eax
push ebp
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1007d6cc
call fcn.1015692e
jmp 0x1007d6cc
mov eax, dword [esp + 0x18]
and dword [ebx], 0xffffbfff
test eax, eax
je 0x10100df8
and dword [eax], 0
xor eax, eax
jmp 0x1007d749
mov eax, dword [edi + 0x134]
test eax, eax
je 0x1007d710
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x1007d710
Function at 0x1008196c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
push ebx
mov ebx, dword [esp + 0x128]
push ebp
mov ebp, dword [esp + 0x11c]
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push eax
push ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [esp + 0x138]
mov esi, eax
test esi, esi
jne 0x100fc96c
cmp dword [esp + 0x10], edi
jne 0x100fc96c
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push ebx
push eax
call sub.msvcr100.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100fc96c
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0x110
ret 0x18
push edi
push ebx
push dword [esp + 0x138]
push dword [esp + 0x138]
push dword [esp + 0x24]
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x100819f0
Function at 0x10082520
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0x10
push ebp
xor ebp, ebp
push esi
mov esi, ebp
cmp dword [0x1023b3b0], esi
jne 0x100fc9b0
cmp dword [0x10241070], ebp
jne 0x10083a24
mov eax, esi
pop esi
pop ebp
add esp, 0x10
ret
push 1
call fcn.100839d9
mov dword [0x10241070], ebp
jmp 0x10082541
mov esi, 0x8007000e
jmp 0x100fca68
push ebx
push edi
push ebp
push 0x22
mov dword [esp + 0x1c], ebp
mov ebx, ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x10083a36
lea eax, [esp + 0x14]
push eax
push ebp
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, eax
test esi, esi
js 0x100fca68
push dword [esp + 0x14]
push 0x10241040
call fcn.100fcaa9
mov esi, eax
test esi, esi
js 0x100fca68
push dword [esp + 0x14]
push 0x1024104c
call fcn.100fcb37
mov esi, eax
test esi, esi
js 0x100fca68
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 2
push ebp
push ebp
push eax
call dword [ecx + 0x14]
push edi
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x10083a36
lea eax, [esp + 0x10]
push eax
push SysReAllocString
call fcn.100f1caf
test eax, eax
jne 0x10083a36
push dword [esp + 0x18]
push ebx
push 3
push ebp
push 0x100bc564
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x101173bc
cmp dword [esp + 0x10], ebp
je 0x100fca78
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x100fca83
push edi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100fca91
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test edi, edi
je 0x100fca9c
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
pop edi
mov dword [0x1023b3b0], ebp
pop ebx
jmp 0x10082535
push 0x100bc564
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, ebp
jmp 0x100fca68
Function at 0x10082d41
Capabilities:
Hide graphical window

Disassembly:
pop edi
pop esi
pop ebx
ret 4
push dword [esp + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10082d22
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
push 5
push ebx
call edi
mov esi, eax
test esi, esi
je 0x10082d1f
push 4
push esi
call edi
cmp eax, dword [esp + 0x10]
je 0x10082d7b
push 2
push esi
jmp 0x10082d63
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10082d76
jmp 0x1010adec
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ebx
jmp 0x10082d63