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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a036
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100b52f8]
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
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1005fb60
add esp, 0xc
mov dword [ebp - 0x224], 0x208
mov dword [ebp - 0x228], 1
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x10026f41
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x220]
push str.5c317c3c_41c7_4958_a68f_125d084b4d59
mov dword [ebp - 0x220], eax
call fcn.10009430
test al, al
jne 0x10026e0c
push 0x24
push str.5c317c3c_41c7_4958_a68f_125d084b4d59
lea ecx, [ebp - 0x220]
call fcn.1000cfa0
mov dword [ebp - 4], 0
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x10026f4b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x21c]
push str.sHipdrcE6s5Y3Wv2DV5GAt4emSMgigbtKbJNgXpWbI8l9ifDdQxlQtyi5NhGlOyxdqTVvzYZc
mov dword [ebp - 0x21c], eax
call fcn.10009430
test al, al
jne 0x10026e56
push 0x4c
push str.sHipdrcE6s5Y3Wv2DV5GAt4emSMgigbtKbJNgXpWbI8l9ifDdQxlQtyi5NhGlOyxdqTVvzYZc
lea ecx, [ebp - 0x21c]
call fcn.1000cfa0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.100542b0
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push 0x10090c68
push dword [eax]
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x22c]
test eax, eax
sete bl
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10026ec3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10026ee0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10026f02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x10026f15
cmp dword [ebp - 0x224], 2
mov eax, 1
cmova esi, eax
push esi
push str.is_virtual_machine:__d
call fcn.1001f5a0
add esp, 8
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.10053047
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002fe0
push 0x80004005
call fcn.10002fe0
int3
Function at 0x10026fa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a068
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100b52f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x100270e5
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x100270e5
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x100270e5
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x1002713c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
push edi
push 0x800
push 0x800
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.100234f0
push eax
push dword [ebp + 0x18]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push dword [esi - 8]
push esi
call fcn.10065f84
add esp, 8
test eax, eax
js 0x10027146
cmp eax, dword [esi - 8]
jg 0x10027146
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
cmp eax, 0x7ff
je 0x10027064
cmp eax, 0x7fe
jne 0x100270ae
push edi
push 0x1000
push 0x1000
lea ecx, [ebp + 0xc]
call fcn.100234f0
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp + 0xc]
push dword [esi - 8]
push esi
call fcn.10065f84
add esp, 8
test eax, eax
js 0x10027146
cmp eax, dword [esi - 8]
jg 0x10027146
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov edi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.10021d60
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100270d1
mov ecx, dword [esi]
push esi
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
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov edx, 0x10090c68
mov esi, dword [ebp + 8]
test eax, eax
cmovne edx, eax
xor eax, eax
mov ecx, edx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10027110
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.1001a290
mov eax, esi
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 0x80004005
call fcn.10002fe0
push 0x80070057
call fcn.10002fe0
int3
Function at 0x10027160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x100b52f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x810], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80c], edi
mov dword [ebp - 0x80c], ecx
test eax, eax
je 0x1002727e
test ebx, ebx
je 0x1002727e
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.1005fb60
add esp, 0xc
mov dword [ebp - 0x818], 1
mov dword [ebp - 0x814], 0x200000
mov dword [ebp - 0x808], 0
test esi, esi
je 0x100271fb
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100271e4
sub ecx, edx
mov eax, 0
sar ecx, 1
cmove esi, eax
cmp dword [ebp + 0x1c], 0
lea eax, [ebp - 0x808]
push eax
mov ecx, 0x20019
mov eax, 0x20119
cmove eax, ecx
push eax
push 0
push ebx
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002727e
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push esi
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x808]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1002727e
lea eax, [ebp - 0x804]
mov ecx, edi
push eax
call fcn.10021d60
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053047
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x80c]
mov edx, 0x10090c68
test eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
cmovne edx, eax
xor eax, eax
mov ecx, edx
mov word [edi], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100272a6
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.1001a290
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10053047
mov esp, ebp
pop ebp
ret

Function at 0x100272e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0
push 0
push 0x80
push 2
push 1
push 0x40000000
push dword [ebp + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.100230d0
mov edi, dword [ebp - 8]
test eax, eax
js 0x10027368
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10027328
mov eax, dword [eax]
push 0
lea edx, [ebp - 4]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10027346
call fcn.100230b0
mov esi, eax
test esi, esi
js 0x10027361
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x1002735f
call fcn.100230b0
mov esi, eax
not esi
shr esi, 0x1f
jmp 0x1002736a
xor esi, esi
not esi
shr esi, 0x1f
jmp 0x1002736a
xor esi, esi
test edi, edi
je 0x10027375
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002b7f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x1002b821
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1002b810
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x1002df40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
mov esi, ecx
push 0
push 0
push 1
mov eax, dword [esi + 0x1c]
push 1
push 0
push 0
push 0xcf0000
push eax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0xe0], eax
test eax, eax
jne 0x1002df78
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x1002dfa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1002e0aa
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1002dfc6
xor ecx, ecx
jmp 0x1002dfe0
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002dfd0
sub ecx, ebx
sar ecx, 1
pop ebx
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.1000cfa0
mov edi, dword [ebp + 8]
test edi, edi
je 0x1002e00e
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002dff6
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.1000cfa0
push dword [0x100b9118]
mov ecx, esi
call fcn.1002dec0
test ax, ax
jne 0x1002e035
push 0x100949f8
call fcn.1001f5a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
push dword [0x100b9118]
mov ecx, esi
call fcn.1002df40
test eax, eax
jne 0x1002e05b
push 0x10094a08
call fcn.1001f5a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
cmp dword [esi + 0x78], 0
mov dword [esi + 0x20], eax
jne 0x1002e085
push 0
push 0
push esi
push 0x1002ec80
push 0
push 0
call fcn.1006e800
add esp, 0x18
mov dword [esi + 0x78], eax
cmp dword [esi + 0xd8], 0
jne 0x1002e0aa
push 0
push 0
push esi
push 0x1002e280
push 0
push 0
call fcn.1006e800
add esp, 0x18
mov dword [esi + 0xd8], eax
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
Function at 0x1002e0c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1002e257
mov edx, dword [ebp + 0xc]
push ebx
push edi
test edx, edx
jne 0x1002e0e7
xor ecx, ecx
jmp 0x1002e0ff
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e0f0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.1000cfa0
mov edx, dword [ebp + 8]
test edx, edx
je 0x1002e12e
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e115
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 4]
call fcn.1001a290
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi]
sub ebx, 0x10
mov dword [ebp + 8], eax
lea edi, [eax - 0x10]
cmp edi, ebx
je 0x1002e1c6
cmp dword [ebx + 0xc], 0
jl 0x1002e1bb
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x1002e1bb
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x1002e169
cmp ecx, dword [edi]
jne 0x1002e169
lock inc dword [eax]
jmp 0x1002e19d
mov eax, dword [ecx]
lea edx, [edi + 4]
push 2
push dword [edx]
mov dword [ebp + 0xc], edx
call dword [eax]
mov edi, eax
test edi, edi
je 0x1002e261
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [ecx]
inc eax
push eax
push dword [ebp + 8]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10010ec0
add esp, 0x10
or eax, 0xffffffff
lea ecx, [ebx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1002e1b4
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [edi + 0x10]
mov dword [esi], eax
jmp 0x1002e1c6
push dword [eax - 0xc]
mov ecx, esi
push eax
call fcn.1000cfa0
push dword [0x100b9118]
mov ecx, esi
call fcn.1002dec0
pop edi
pop ebx
test ax, ax
jne 0x1002e1ee
push 0x100949f8
call fcn.1001f5a0
add esp, 4
xor eax, eax
pop esi
pop ebp
ret 8
push dword [0x100b9118]
mov ecx, esi
call fcn.1002df40
test eax, eax
jne 0x1002e213
push 0x10094a08
call fcn.1001f5a0
add esp, 4
xor eax, eax
pop esi
pop ebp
ret 8
cmp dword [esi + 0x78], 0
jne 0x1002e232
push 0
push 0
push esi
push 0x1002ec80
push 0
push 0
call fcn.1006e800
add esp, 0x18
mov dword [esi + 0x78], eax
cmp dword [esi + 0xd8], 0
jne 0x1002e257
push 0
push 0
push esi
push 0x1002e280
push 0
push 0
call fcn.1006e800
add esp, 0x18
mov dword [esi + 0xd8], eax
mov eax, 1
pop esi
pop ebp
ret 8
call fcn.1000d890
int3
Function at 0x10037e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b071
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b52f8]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [edi], 0
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x10038014
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
push eax
push 0xf003f
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037fd5
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10037fc7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10037fd5
add eax, 0x10
push 0x100b9261
push eax
mov dword [ebp - 0x20], eax
call fcn.10053b0c
mov esi, eax
add esp, 8
test esi, esi
je 0x10037fd5
push dword [ebp - 0x20]
push 0
push esi
call fcn.1005fb60
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10037f8a
push esi
call fcn.1005362e
add esp, 4
jmp 0x10037fd5
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037f90
sub ecx, edx
sar ecx, 1
je 0x10037fbe
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037fa6
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.1000cfa0
push esi
call fcn.1005362e
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10037fd5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10037ff4
mov ecx, dword [esi]
push esi
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10053047
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10002fe0
int3
Function at 0x10038020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100b52f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xc], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10038044
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x100380a6
lea eax, [esi*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 8]
inc ebx
test eax, eax
je 0x100380a6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100380c1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10053047
mov esp, ebp
pop ebp
ret 0x10

Function at 0x100385c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
test ecx, ecx
je 0x100385cf
pop ebp
jmp fcn.100393a0
xor eax, eax
pop ebp
ret 0xc
Function at 0x100396a0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b333
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x100b52f8]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x10039745
cmp word [esi], di
je 0x10039745
test eax, eax
je 0x10039701
cmp word [eax], di
je 0x10039701
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x10039745
jmp 0x10039740
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1005fb60
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x10039745
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x100397bc
mov eax, dword [ebx + 0x24]
test eax, eax
js 0x100397a7
lea esi, [ebx + 0x34]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x10039775
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
test eax, eax
js 0x10039796
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x100397dc
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test esi, esi
je 0x100397a7
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x100397bc
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor eax, eax
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.10053047
mov esp, ebp
pop ebp
ret 0x30
call fcn.1002fc6f
int3

Function at 0x1003a640
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x1003a655
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003a660
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1003c270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100b52f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
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 - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003c2fb
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x1003c2bd
cmp eax, 2
jne 0x1003c2d9
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x1003c2f5
test ecx, ecx
je 0x1003c2f0
test cl, 1
jne 0x1003c2d9
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1003c2f5
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053047
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10053047
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003f490
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008bb08
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100b52f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x1a
push eax
call fcn.1003ff60
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x1003f4f7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003f575
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov ecx, esi
push 1
push eax
call fcn.1003ff60
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1003f53b
mov ecx, eax
call fcn.1001a040
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1003f575
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f56b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f67d
push edx
push ecx
call fcn.10052cd6
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x1003f5a0
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x10090c68
mov word [edi], ax
call fcn.1001a290
jmp 0x1003f656
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x1003f682
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10006880
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10038f30
mov edx, dword [ebp - 0x48]
add esp, 8
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003f607
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
xor eax, eax
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003f622
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.1001a290
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003f656
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.10002c00
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.10053047
mov esp, ebp
pop ebp
ret 8
call fcn.10062c39
push 0x80004005
call fcn.10002fe0
int3