joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037b00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push 0
push 0
push 1
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x100371d0
push 0
push 0
call fcn.10076314
add esp, 0x18
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test edi, edi
pop edi
setne al
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100392d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x34], 0x6f0053
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x34]
mov eax, 0x100d3920
mov dword [ebp - 0x30], 0x740066
mov dword [ebp - 0x2c], 0x610077
mov edx, 0x17
mov dword [ebp - 0x28], 0x650072
sub esi, eax
mov dword [ebp - 0x24], 0x44005c
mov dword [ebp - 0x20], 0x640069
mov dword [ebp - 0x1c], 0x570061
mov dword [ebp - 0x18], 0x6c0061
mov dword [ebp - 0x14], 0x50006c
mov dword [ebp - 0x10], 0x700061
mov dword [ebp - 0xc], 0x720065
lea ecx, [edx + 0x7fffffe7]
test ecx, ecx
je 0x10039361
movzx ecx, word [esi + eax]
test cx, cx
je 0x10039361
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10039343
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret

Function at 0x10039400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100d38e8
mov dword [ebp - 0x30], 0x6f0053
lea esi, [ebp - 0x30]
mov dword [ebp - 0x2c], 0x740066
mov dword [ebp - 0x28], 0x610077
mov edx, 0x16
mov dword [ebp - 0x24], 0x650072
sub esi, eax
mov dword [ebp - 0x20], 0x33005c
mov dword [ebp - 0x1c], 0x300036
mov dword [ebp - 0x18], 0x610057
mov dword [ebp - 0x14], 0x6c006c
mov dword [ebp - 0x10], 0x610050
mov dword [ebp - 0xc], 0x650070
mov dword [ebp - 8], 0x72
nop dword [eax]
lea ecx, [edx + 0x7fffffe8]
test ecx, ecx
je 0x1003948e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1003948e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10039470
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret

Function at 0x100394b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100d3958
mov dword [ebp - 0x24], 0x6f0053
lea esi, [ebp - 0x24]
mov dword [ebp - 0x20], 0x740066
mov dword [ebp - 0x1c], 0x610077
mov edx, 0x10
mov dword [ebp - 0x18], 0x650072
sub esi, eax
mov dword [ebp - 0x14], 0x48005c
mov dword [ebp - 0x10], 0x6f0061
mov dword [ebp - 0xc], 0x61006b
mov dword [ebp - 8], 0x6e
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffee]
test ecx, ecx
je 0x1003952e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1003952e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10039510
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret
Function at 0x1003cd20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7cc9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], 0
cmp byte [esi + 8], 0
je 0x1003cd66
call fcn.1003cb60
mov byte [esi + 8], 0
cmp dword [esi + 4], 0x40000000
jle 0x1003cda2
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x1003cd87
push eax
call fcn.10078e07
add esp, 4
mov dword [esi + 0x24], 0xffffffff
cmp dword [esi + 0x20], 8
lea eax, [esi + 0xc]
jb 0x1003cd92
mov eax, dword [eax]
push eax
call fcn.1007842f
add esp, 4
mov ecx, esi
call fcn.1003cb60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov eax, dword [edi + 0x10]
push 0
add eax, eax
push eax
call fcn.1003ba10
mov edx, dword [ebp - 0x18]
mov ebx, eax
mov dword [ebp - 0x2c], 1
test edx, edx
je 0x1003ce00
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, edi
cmovae ecx, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x1003cdde
mov eax, dword [edi]
push 0
push 0
push edx
push ecx
push dword [edi + 0x10]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.10017d60
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x1003ce0b
mov ebx, dword [ebx]
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x1003ce22
push ecx
push ebx
push eax
call fcn.1007983c
add esp, 0xc
mov ebx, eax
jmp 0x1003ce25
or ebx, 0xffffffff
mov eax, 1
mov dword [ebp - 0x2c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000b880
test ebx, ebx
jle 0x1003ce4b
add dword [esi + 4], ebx
jmp 0x1003ce5a
cmp dword [edi + 0x14], 8
jb 0x1003ce53
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret 4
Function at 0x1003d090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x38], 0x6f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x38]
mov eax, 0x100d39e0
mov dword [ebp - 0x34], 0x740066
push edi
mov dword [ebp - 0x30], 0x610077
mov edx, 0x19
mov dword [ebp - 0x2c], 0x650072
sub esi, eax
mov dword [ebp - 0x28], 0x54005c
mov dword [ebp - 0x24], 0x6e0065
mov dword [ebp - 0x20], 0x650063
mov dword [ebp - 0x1c], 0x74006e
mov dword [ebp - 0x18], 0x51005c
mov dword [ebp - 0x14], 0x500051
mov dword [ebp - 0x10], 0x4d0043
mov dword [ebp - 0xc], 0x720067
nop dword [eax]
lea ecx, [edx + 0x7fffffe5]
test ecx, ecx
je 0x1003d12e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1003d12e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1003d110
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret

Function at 0x1003d150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x38], 0x6f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x38]
mov eax, 0x100d39a4
mov dword [ebp - 0x34], 0x740066
push edi
mov dword [ebp - 0x30], 0x610077
mov edx, 0x19
mov dword [ebp - 0x2c], 0x650072
sub esi, eax
mov dword [ebp - 0x28], 0x54005c
mov dword [ebp - 0x24], 0x6e0065
mov dword [ebp - 0x20], 0x650063
mov dword [ebp - 0x1c], 0x74006e
mov dword [ebp - 0x18], 0x51005c
mov dword [ebp - 0x14], 0x500051
mov dword [ebp - 0x10], 0x4d0043
mov dword [ebp - 0xc], 0x720067
nop dword [eax]
lea ecx, [edx + 0x7fffffe5]
test ecx, ecx
je 0x1003d1ee
movzx ecx, word [esi + eax]
test cx, cx
je 0x1003d1ee
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1003d1d0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret

Function at 0x1003d210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x28], 0x6f0043
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x28]
mov eax, 0x100d3a1c
mov dword [ebp - 0x24], 0x70006d
mov dword [ebp - 0x20], 0x740075
mov edx, 0x11
mov dword [ebp - 0x1c], 0x720065
sub esi, eax
mov dword [ebp - 0x18], 0x5f005a
mov dword [ebp - 0x14], 0x4e0043
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
nop
lea ecx, [edx + 0x7fffffed]
test ecx, ecx
je 0x1003d28e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1003d28e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1003d270
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret
Function at 0x1003f170
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8290
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100d10d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x1003f223
push dword [ebp - 0x18]
call fcn.10074610
mov esi, eax
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x14]
add ecx, ecx
push ecx
call fcn.10074610
add esp, 8
mov edi, eax
mov dword [ebp - 0x20], edi
test esi, esi
je 0x1003f280
test edi, edi
je 0x1003f280
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x1003f280
mov ebx, 1
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x1003f242
test edi, edi
je 0x1003f24f
push edi
call fcn.1007460b
add esp, 4
test ebx, ebx
jne 0x1003f262
test esi, esi
je 0x1003f267
push esi
call fcn.1007460b
add esp, 4
jmp 0x1003f267
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor eax, eax
test ebx, ebx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
call fcn.1006d540
int3
Function at 0x1003f800
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100cb720
push 0x1006e600
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x100d10d4]
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 - 0x254], eax
xor ebx, ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x250], 0xffffffff
mov dword [ebp - 4], ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x250], edi
cmp edi, 0xffffffff
je 0x1003f8d1
push 0x22c
push ebx
lea eax, [ebp - 0x248]
push eax
call fcn.1006e460
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1003f8d1
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop
push dword [ebp - 0x254]
lea eax, [ebp - 0x224]
push eax
call esi
test eax, eax
je 0x1003f8c6
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1003f8a0
jmp 0x1003f8d1
mov ebx, 1
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.1003f907
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 - 0x1c]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret
Function at 0x1003f920
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a81ab
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.1006e460
add esp, 0xc
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x2b0]
push 0x20119
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x4f0053
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x94], 0x540046
mov dword [ebp - 0x90], 0x410057
mov dword [ebp - 0x8c], 0x450052
mov dword [ebp - 0x88], 0x4d005c
mov dword [ebp - 0x84], 0x630069
mov dword [ebp - 0x80], 0x6f0072
mov dword [ebp - 0x7c], 0x6f0073
mov dword [ebp - 0x78], 0x740066
mov dword [ebp - 0x74], 0x57005c
mov dword [ebp - 0x70], 0x6e0069
mov dword [ebp - 0x6c], 0x6f0064
mov dword [ebp - 0x68], 0x730077
mov dword [ebp - 0x64], 0x43005c
mov dword [ebp - 0x60], 0x720075
mov dword [ebp - 0x5c], 0x650072
mov dword [ebp - 0x58], 0x74006e
mov dword [ebp - 0x54], 0x650056
mov dword [ebp - 0x50], 0x730072
mov dword [ebp - 0x4c], 0x6f0069
mov dword [ebp - 0x48], 0x5c006e
mov dword [ebp - 0x44], 0x6e0055
mov dword [ebp - 0x40], 0x6e0069
mov dword [ebp - 0x3c], 0x740073
mov dword [ebp - 0x38], 0x6c0061
mov dword [ebp - 0x34], 0x5c006c
mov dword [ebp - 0x30], 0x750048
mov dword [ebp - 0x2c], 0x72006f
mov dword [ebp - 0x28], 0x6e006f
mov dword [ebp - 0x24], 0x530067
mov dword [ebp - 0x20], 0x730079
mov dword [ebp - 0x1c], 0x690064
mov dword [ebp - 0x18], 0x670061
call fcn.10029270
mov edi, dword [ebp - 0x2b0]
test eax, eax
jne 0x1003fb0a
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 0x208
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x2b4]
push eax
push 0
push str.UninstallString
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003fb0a
mov eax, dword [ebp - 0x2b4]
cmp eax, 1
je 0x1003faef
cmp eax, 2
jne 0x1003fb0a
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x1003fb50
test al, 1
jne 0x1003fb0a
shr eax, 1
cmp word [ebp + eax*2 - 0x2a2], 0
je 0x1003fb59
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1003fb28
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2b0], 0
mov eax, esi
mov dword [ebp - 0x2ac], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebp - 0x2a0], ax
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
jmp 0x1003fb0c
Function at 0x1003ffd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8422
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1006e460
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100d352c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x21d]
call fcn.1003d3e0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10040177
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x10040192
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 1
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x1004019c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10025710
test al, al
jne 0x100400f7
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100400d5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10014ae0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.1002aa70
add esp, 8
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x21c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10040135
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x10040151
js 0x100401a6
cmp word [eax], 0x36
jb 0x10040151
mov edi, 1
jmp 0x10040153
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10040175
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000d6a0
push 0x80004005
call fcn.1000d6a0
push 0x80070057
call fcn.1000d6a0
int3
Function at 0x100403a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10040411
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x100403df
cmp eax, 2
jne 0x100403fb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x1004040b
test ecx, ecx
je 0x10040406
test cl, 1
jne 0x100403fb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1004040b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10040460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8513
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], 0
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x100405dc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 1
cmp edi, reloc.WS2_32.dll_accept
jne 0x1004053d
push dword [ebp - 0x21c]
lea eax, [ebp - 0x21c]
push ebx
push edi
push eax
call fcn.1003f2e0
add esp, 0x10
mov dword [ebp - 4], 2
mov ecx, esi
push eax
call fcn.1001a9d0
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100405be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100405be
cmp edi, reloc.WS2_32.dll_bind
jne 0x100405be
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1006e460
add esp, 0xc
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x21c]
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100405a0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10014ae0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000d6a0
int3
Function at 0x100460c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor al, al
push edi
xor edi, edi
test esi, esi
je 0x10046187
push ebx
mov ecx, dword [ebp + 8]
mov dl, byte [edi + ecx]
xor dl, al
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
movzx ecx, cl
xor al, 0x8c
and bl, 1
movzx eax, al
cmove eax, ecx
inc edi
cmp edi, esi
jb 0x100460d5
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x10046d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x23c]
push 0x208
push 0
push eax
mov esi, ecx
call fcn.1006e460
add esp, 0xc
lea eax, [ebp - 0x23c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
dec eax
cmp eax, 0x102
ja 0x10046e6e
mov ecx, esi
call fcn.10047150
mov dword [ebp - 0x34], 0x790053
test eax, eax
jne 0x10046dfc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0x740073
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x2c], 0x6d0065
push eax
push edi
mov dword [ebp - 0x28], 0x320033
mov dword [ebp - 0x24], 0x6e005c
mov dword [ebp - 0x20], 0x6f0074
mov dword [ebp - 0x1c], 0x6b0073
mov dword [ebp - 0x18], 0x6e0072
mov dword [ebp - 0x14], 0x2e006c
mov dword [ebp - 0x10], 0x780065
mov dword [ebp - 0xc], 0x65
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov dword [ebp - 0x30], 0x4e0073
mov word [ebp - 8], ax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x2c], 0x740061
push eax
push edi
mov dword [ebp - 0x28], 0x760069
mov dword [ebp - 0x24], 0x5c0065
mov dword [ebp - 0x20], 0x74006e
mov dword [ebp - 0x1c], 0x73006f
mov dword [ebp - 0x18], 0x72006b
mov dword [ebp - 0x14], 0x6c006e
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
xor ecx, ebp
pop esi
call fcn.10061eb3
mov esp, ebp
pop ebp
ret 4