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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
test byte [0x11cc074], 1
push esi
push edi
mov esi, 0x11cc1fc
jne 0x11c27ec
or dword [0x11cc074], 1
mov ecx, esi
call fcn.011c1c03
push 0x11c171b
call fcn.011c2324
pop ecx
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov ecx, esi
mov dword [ebp - 0x14], edi
call fcn.011c2695
cmp eax, edi
mov dword [ebp - 0x20], eax
jl 0x11c297d
test byte [0x11cc074], 2
push ebx
mov ebx, 0x80000002
jne 0x11c284f
or dword [0x11cc074], 2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x10
push 0x11c2a24
push 0x11c2998
push ebx
mov dword [ebp - 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x11c3b56
mov byte [0x11cc045], 0
cmp byte [0x11cc045], 0
jne 0x11c2986
cmp dword [ebp + 0x14], edi
mov dword [ebp + 0x14], edi
jne 0x11c2986
cmp byte [0x11cc044], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 0x11c2ac8
jne 0x11c2893
lea eax, [ebp - 4]
push eax
push 1
push 0
push edi
push ebx
call esi
test eax, eax
je 0x11c2897
mov byte [0x11cc044], 1
and dword [ebp - 4], 0
cmp byte [0x11cc043], 0
jne 0x11c28c1
cmp dword [ebp + 0x14], 0
jne 0x11c28c1
lea eax, [ebp - 8]
push eax
push 1
push 0
push edi
push 0x80000001
call esi
test eax, eax
je 0x11c28c5
mov byte [0x11cc043], 1
and dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
push 1
push 0
mov edi, 0x11c2a50
push edi
push ebx
call esi
test eax, eax
jne 0x11c3b6c
cmp byte [0x11cc042], 0
jne 0x11c2908
cmp dword [ebp + 0x14], 0
jne 0x11c2908
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push edi
push 0x80000001
call esi
test eax, eax
je 0x11c290c
mov byte [0x11cc042], 1
and dword [ebp - 0xc], 0
and dword [ebp + 0x14], 0
cmp dword [ebp - 4], 0
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
jne 0x11c3b75
cmp dword [ebp - 8], 0
jne 0x11c3b8f
cmp dword [ebp - 0xc], 0
jne 0x11c3ba9
cmp dword [ebp - 0x10], 0
je 0x11c2955
lea eax, [ebp + 0x14]
push eax
push edi
push ebx
push dword [esi]
push dword [ebp - 0x10]
call fcn.011c2b51
test al, al
jne 0x11c3bc1
cmp dword [0x11cc1fc], 0xffffffff
je 0x11c3bc6
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
pop ebx
mov eax, dword [ebp - 0x20]
pop edi
pop esi
leave
ret 0x10
mov dword [ebp + 0x14], 1
jmp 0x11c2868
cmp dword [ebp - 0x1c], 1
jne 0x11c2848
mov byte [0x11cc045], 1
jmp 0x11c2986
and dword [ebp - 0x10], 0
jmp 0x11c28de
lea eax, [ebp + 0x14]
push eax
push edi
push ebx
push dword [esi]
push dword [ebp - 4]
call fcn.011c934a
test al, al
je 0x11c2923
jmp 0x11c3bc1
lea eax, [ebp + 0x14]
push eax
push edi
push ebx
push dword [esi]
push dword [ebp - 8]
call fcn.011c934a
test al, al
je 0x11c292d
jmp 0x11c3bc1
lea eax, [ebp + 0x14]
push eax
push edi
push ebx
push dword [esi]
push dword [ebp - 0xc]
call fcn.011c2b51
test al, al
je 0x11c2937
mov eax, dword [ebp + 0x14]
jmp 0x11c3bc9
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
jmp 0x11c2962
Function at 0x11c2b51
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov byte [ebp - 1], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x11c39d1
mov al, byte [ebp - 1]
pop ebx
leave
ret 0x14
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push edi
push 4
pop edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x10
push dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
push ebx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x11c3a11
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x14], ebx
je 0x11c3a08
cmp eax, ebx
je 0x11c3a08
cmp eax, 1
jne 0x11c3a11
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov byte [ebp - 1], 1
mov dword [ebp + 0xc], edi
cmp byte [ebp - 1], bl
jne 0x11c3a4d
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x10
push 0x11c6c14
push ebx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x11c3a4d
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x14], ebx
je 0x11c3a44
cmp eax, ebx
je 0x11c3a44
cmp eax, 1
jne 0x11c3a4d
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov byte [ebp - 1], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
jmp 0x11c2b79
Function at 0x11c2d3e
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6a8
mov eax, dword [0x11cc050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
xor edi, edi
push edi
mov dword [ebp - 0x690], eax
call fcn.011c2d81
test eax, eax
jne 0x11c3328
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.011c16b1
leave
ret 4
call sub.iertutil.dll_Ordinal_42
test eax, eax
je 0x11c2d6d
call sub.iertutil.dll_Ordinal_44
test eax, eax
jne 0x11c2d6d
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x11c34c9
push 0x11c35f0
push esi
lea eax, [ebp - 0x28c]
push eax
call fcn.011c7287
test eax, eax
jl 0x11c34c9
push edi
push edi
push 3
push edi
push 1
push 0x80
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x694], eax
cmp eax, 0xffffffff
je 0x11c34c9
lea ecx, [ebp - 0x6a8]
push ecx
push edi
lea ecx, [ebp - 0x6a0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x11c34bd
mov eax, 0x1c81080
cmp dword [ebp - 0x69c], eax
jb 0x11c33d7
cmp dword [ebp - 0x6a4], eax
jae 0x11c34bd
mov eax, dword [0x11cc5e0]
cmp eax, edi
jne 0x11c33e5
call fcn.011c6d7c
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x200
lea ecx, [ebp - 0x68c]
push ecx
push 0x2c3
push eax
call esi
test eax, eax
je 0x11c34bd
mov eax, dword [0x11cc5e0]
cmp eax, edi
jne 0x11c3415
call fcn.011c6d7c
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push 0x2d3
push eax
call esi
test eax, eax
je 0x11c34bd
push 0x31
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x68c]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x11c34bd
push ebx
lea eax, [ebp - 0x698]
push eax
call fcn.011c7209
test eax, eax
jne 0x11c3471
cmp dword [ebp - 0x698], edi
je 0x11c346a
mov ebx, 0x11c3590
jmp 0x11c3476
mov ebx, 0x11c3530
jmp 0x11c3476
mov ebx, 0x11c34d0
mov eax, ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x11c347b
sub eax, ecx
sar eax, 1
lea esi, [eax + 1]
lea eax, [esi + esi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x11c34bc
mov eax, dword [ebp - 0x690]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x690]
push ebx
push esi
push edi
mov dword [eax], edi
call fcn.011c20e3
pop ebx
push dword [ebp - 0x694]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
jmp 0x11c2d6d
Function at 0x11c2e3f
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push 0x25
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x11c2e58
call fcn.011c2e5e
test al, al
je 0x11c7682
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x11cc050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x224]
push eax
call fcn.011c74ae
test eax, eax
je 0x11c778a
push esi
push edi
push 6
pop ecx
push ebx
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x224]
mov esi, 0x11c77a8
lea edi, [ebp - 0x1c]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x11c7788
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x11c7798
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.011c72e1
add esp, 0x14
test eax, eax
jl 0x11c7788
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x480]
push esi
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x480], edi
xor eax, eax
lea edi, [ebp - 0x43c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x480]
push eax
push esi
push esi
push 0x8000020
push esi
push esi
push esi
lea eax, [ebp - 0x224]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x11c7788
push dword [ebp - 0x43c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x438]
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.011c16b1
leave
ret

Function at 0x11c6d7c
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x11cc050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x11cc5e0]
test eax, eax
jne 0x11c6e39
push 0x11c
push eax
lea eax, [ebp - 0x328]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
mov dword [ebp - 0x328], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x11c6e2b
cmp dword [ebp - 0x318], 2
jne 0x11c6e21
cmp dword [ebp - 0x324], 6
jae 0x11c6e21
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [0x11cc058]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x11c6e2b
push 0
push 8
lea eax, [ebp - 0x20c]
push eax
call fcn.011c85fb
mov dword [0x11cc5e0], eax
cmp eax, dword [0x11cc058]
jne 0x11c6e2b
push eax
call fcn.011c844e
jmp 0x11c6e2b
mov eax, dword [0x11cc058]
mov dword [0x11cc5e0], eax
mov eax, dword [0x11cc5e0]
test eax, eax
jne 0x11c6e39
mov eax, dword [0x11cc058]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.011c16b1
leave
ret
Function at 0x11c74ae
Capabilities:
Accept command line arguments
Persist via active setup registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x11cc050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push 0x2e
pop ecx
mov esi, 0x11c75c8
lea edi, [ebp - 0xc0]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc8]
push eax
push 1
movsw word es:[edi], word [esi]
xor edi, edi
push edi
lea eax, [ebp - 0xc0]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x11c759e
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push edi
push ebx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc4], edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
push ebx
lea eax, [ebp - 0xc4]
push eax
push edi
push 0x11c75b4
push dword [ebp - 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x11c7592
cmp dword [ebp - 0xc4], 1
je 0x11c7554
cmp dword [ebp - 0xc4], 2
jne 0x11c7592
mov eax, dword [ebp - 0xcc]
shr eax, 1
xor ecx, ecx
mov word [ebx + eax*2 - 2], cx
lea eax, [ebp - 0xd0]
push eax
push ebx
mov dword [ebp - 0xd0], edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
cmp esi, edi
je 0x11c7592
push dword [esi]
push dword [ebp + 0xc]
push ebx
call fcn.011c20e3
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
inc edi
push dword [ebp - 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.011c16b1
leave
ret 8

Function at 0x11c7ec1
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x11cc050]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x11cc5f8], edi
jne 0x11c7fdd
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x11c7f28
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov eax, dword [ebp - 0x110]
dec eax
mov dword [0x11cc5f8], edi
pop esi
je 0x11c7fb0
dec eax
jne 0x11c7fdd
cmp dword [ebp - 0x11c], 5
jne 0x11c7f9d
mov eax, dword [ebp - 0x118]
sub eax, edi
je 0x11c7f91
dec eax
je 0x11c7f7e
dec eax
je 0x11c7f64
mov dword [0x11cc5f8], 0x14
jmp 0x11c7fdd
cmp word [ebp - 0xc], 1
jb 0x11c7f75
mov dword [0x11cc5f8], 0x10
or dword [0x11cc5f8], 4
jmp 0x11c7fdd
cmp word [ebp - 0xc], 2
jb 0x11c7f75
mov dword [0x11cc5f8], 8
jmp 0x11c7f75
mov dword [0x11cc5f8], 4
jmp 0x11c7fdd
cmp dword [ebp - 0x11c], 4
ja 0x11c7fef
mov dword [0x11cc5f8], 2
cmp dword [ebp - 0x11c], 4
jne 0x11c7fdd
cmp dword [ebp - 0x118], edi
je 0x11c7fd3
cmp dword [ebp - 0x118], 0xa
je 0x11c7fd3
cmp dword [ebp - 0x118], 0x5a
jne 0x11c7fdd
mov dword [0x11cc5f8], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x11cc5f8]
xor ecx, ebp
pop edi
call fcn.011c16b1
leave
ret
mov dword [0x11cc5f8], 0x20
jmp 0x11c7fdd
Function at 0x11c8000
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x11cc050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x11c8054
push 3
lea eax, [ebp - 0x44]
push 0x11c8064
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.011c16b1
leave
ret

Function at 0x11c806f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x11cc050]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x11cc5fc]
jne 0x11c810a
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x11c8200
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x11c8109
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x11c82b8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x11c8109
push 3
push dword [esi*8 + 0x11c8120]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x11c80fb
inc esi
cmp esi, 0x1c
jae 0x11c8109
jmp 0x11c80da
mov ax, word [esi*8 + 0x11c8124]
mov word [0x11cc5fc], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x11cc5fc]
xor ecx, ebp
call fcn.011c16b1
leave
ret
Function at 0x11c929b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x11c6bf4
push 0x11c6ba0
push 0x80000001
mov dword [ebp - 8], 4
call sub.SHLWAPI.dll_SHGetValueW
test eax, eax
jne 0x11c92ee
cmp dword [ebp - 0xc], 4
jne 0x11c92ea
cmp dword [ebp - 4], 1
je 0x11c92ee
cmp dword [ebp - 4], 2
je 0x11c92ee
cmp dword [ebp - 4], 0xa
je 0x11c92ee
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
jne 0x11c9312
call fcn.011c9217
mov dword [ebp - 4], eax
test eax, eax
je 0x11c9312
call sub.iertutil.dll_Ordinal_32
cmp eax, 1
jne 0x11c9312
push dword [ebp - 4]
call fcn.011c9120
mov eax, dword [ebp - 4]
leave
ret

Function at 0x11c934a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov byte [ebp - 1], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x11c93e7
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push edi
push 4
pop edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x10
push dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
push ebx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x11c93a5
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x14], ebx
je 0x11c93d3
cmp eax, ebx
je 0x11c93d3
cmp eax, 1
je 0x11c93d3
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x10
push 0x11c6c14
push ebx
push dword [ebp - 8]
mov dword [ebp + 0xc], edi
call esi
test eax, eax
jne 0x11c93dc
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x14], ebx
je 0x11c93d3
cmp eax, ebx
je 0x11c93d3
cmp eax, 1
jne 0x11c93dc
mov ecx, dword [ebp + 0x18]
mov byte [ebp - 1], 1
mov dword [ecx], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, byte [ebp - 1]
pop ebx
leave
ret 0x14
Function at 0x11c95e2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x11cc050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 4
call dword [sym.imp.iertutil.dll_Ordinal_74]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x11c96bf
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebx
lea eax, [ebp - 0x6c]
push eax
mov ebx, 0x20019
push ebx
push 0
mov edi, 0x11c9710
push edi
push 0x80000001
call esi
test eax, eax
je 0x11c9640
lea eax, [ebp - 0x6c]
push eax
push ebx
push 0
push edi
push 0x80000002
call esi
test eax, eax
jne 0x11c96be
xor esi, esi
xor ebx, ebx
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp - 0x6c]
mov dword [ebp - 0x74], 0x27
call sub.SHLWAPI.dll_SHEnumValueW
mov edi, eax
cmp edi, esi
jne 0x11c96b0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.SHELL32.dll_SHCLSIDFromString]
test eax, eax
jl 0x11c96b0
lea eax, [ebp - 0x70]
push eax
push 0x11c9778
push esi
push 1
push esi
lea eax, [ebp - 0x64]
push eax
call sub.urlmon.dll_Ordinal_104
test eax, eax
jl 0x11c96b0
push dword [ebp - 0x70]
push 0x7fffffff
push dword [ebp - 0x68]
call dword [sym.imp.iertutil.dll_Ordinal_85]
cmp eax, 0xffffffff
jne 0x11c96b0
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc ebx
cmp edi, esi
je 0x11c9644
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov esi, 0x11cc09c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [0x11cc604], edi
jne 0x11c96e0
mov eax, dword [ebp - 0x68]
mov dword [0x11cc604], eax
mov dword [ebp - 0x68], edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x68], edi
je 0x11c96fb
push edi
push 0x11c93f4
push dword [ebp - 0x68]
call dword [sym.imp.iertutil.dll_Ordinal_79]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.011c16b1
leave
ret
Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..3ean
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x431d4a5a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x431060
nop
nop
nop
mov eax, section..7LWLf
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x30fd2bc1
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219