joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ffd0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4316
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x672014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
sub esp, 8
lea ecx, [ebp - 0x194]
call fcn.00415530
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x184]
push dword [ebp - 0x38]
call fcn.00415650
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x194]
call fcn.004153f0
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x420049
mov edx, dword [edx]
test edx, edx
jne 0x420051
xor ecx, ecx
jmp 0x420065
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420056
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00401fc3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00407420
cmp dword [ebp - 0x38], 1
seta al
mov byte [edi + 4], al
call fcn.004207c0
call fcn.005df340
sub esp, 8
lea ecx, [ebp - 0xe4]
mov esi, eax
call fcn.00420a00
push esi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.00420ae0
mov edx, str._MHz
mov ecx, eax
call fcn.00412d50
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00420900
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4200d5
mov eax, dword [eax]
push eax
lea ecx, [edi + 8]
call fcn.0044b1e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00407420
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.00420920
mov byte [ebp - 4], 5
mov dword [ebp - 0x94], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x94], vtable.std::ios_base.0
call fcn.005b72e0
add esp, 4
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 7
call fcn.00415410
mov byte [ebp - 4], 8
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005b72e0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov al, 1
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.005b5208
mov esp, ebp
pop ebp
ret
Function at 0x4207c0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
xorps xmm0, xmm0
lea eax, [esp + 0x14]
push edi
push eax
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x4207fa
xorps xmm0, xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
call esi
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
adc dword [esp + 0x14], eax
rdtsc
mov edi, eax
mov ebx, edx
nop dword [eax]
lea eax, [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x14]
jb 0x420820
ja 0x42083d
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x10]
jb 0x420820
rdtsc
mov ecx, eax
call fcn.005df690
cvtsd2ss xmm0, xmm0
mov edx, ebx
mov ecx, edi
movss dword [esp + 0x10], xmm0
call fcn.005df690
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
pop edi
pop esi
pop ebx
movss xmm0, dword [esp + 4]
subss xmm0, xmm1
divss xmm0, dword [0x63d150]
mov esp, ebp
pop ebp
ret
Function at 0x4260e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4be2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 1
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
je 0x426184
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0x10
test ecx, ecx
je 0x42615b
mov byte [ebp - 4], 0x10
push dword [ebp + 8]
call fcn.00426570
mov dword [ebp - 4], 0x18
mov dword [ebp - 4], 0xffffffff
add dword [esi + 4], 0xc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0x1b
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xffffffff
cmp ebx, 0x1555555
jne 0x4261b8
call fcn.004089d0
lea edi, [ebx + 1]
mov dword [ebp - 4], 0x28
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 4], 0xffffffff
mov edx, ecx
shr edx, 1
mov eax, 0x1555555
sub eax, edx
cmp ecx, eax
ja 0x4261f9
lea edi, [edx + ecx]
lea eax, [ebx + 1]
cmp edi, eax
cmovb edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.00426430
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0x38
mov byte [ebp - 4], 0x3a
mov byte [ebp - 4], 0x39
mov byte [ebp - 4], 0x37
lea ecx, [ebx + ebx*2]
shl ecx, 6
add ecx, eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 0x3b
mov byte [ebp - 4], 0x3c
mov byte [ebp - 4], 0x37
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0x3d
je 0x426256
mov byte [ebp - 4], 0x3e
mov byte [ebp - 4], 0x3d
push dword [ebp + 8]
call fcn.00426570
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x37
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0x41
mov byte [ebp - 4], 0x40
mov byte [ebp - 4], 0x3f
mov byte [ebp - 4], 0x44
mov byte [ebp - 4], 0x43
mov byte [ebp - 4], 0x42
mov byte [ebp - 4], 0x37
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov byte [ebp - 4], 0x46
mov byte [ebp - 4], 0x45
mov byte [ebp - 4], 0x37
mov byte [ebp + 8], 0
push ecx
mov dword [ebp - 0x28], esp
push dword [ebp + 8]
push ecx
push eax
call fcn.004264b0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
push edi
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00426330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x426570
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4cb1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.004460d0
lea eax, [edi + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 8]
call fcn.004460d0
lea eax, [edi + 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x10]
call fcn.004460d0
lea eax, [edi + 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x18]
call fcn.004460d0
lea eax, [edi + 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x20]
call fcn.00467d60
lea eax, [edi + 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x28]
call fcn.00467d60
lea eax, [edi + 0x30]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x30]
call fcn.004460d0
lea eax, [edi + 0x38]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x38]
call fcn.00467d60
lea eax, [edi + 0x40]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x40]
call fcn.00467d60
lea ecx, [esi + 0x48]
lea edx, [edi + 0x48]
mov dword [ecx], vtable.srl::Size.0
cmp ecx, edx
je 0x426642
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esi + 0x58]
lea edx, [edi + 0x58]
mov dword [ecx], vtable.srl::Size.0
cmp ecx, edx
je 0x42665e
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esi + 0x68]
lea edx, [edi + 0x68]
mov dword [ecx], vtable.srl::Size.0
cmp ecx, edx
je 0x42667a
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
lea eax, [edi + 0x78]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [esi + 0x78]
call fcn.0045a850
mov dword [esi + 0x94], vtable.srl::Exists.0
movzx eax, byte [edi + 0x98]
mov byte [esi + 0x98], al
mov dword [esi + 0x9c], vtable.srl::Exists.0
movzx eax, byte [edi + 0xa0]
mov byte [esi + 0xa0], al
mov dword [esi + 0xa4], vtable.srl::Exists.0
movzx eax, byte [edi + 0xa8]
mov byte [esi + 0xa8], al
mov dword [esi + 0xac], vtable.srl::Exists.0
movzx eax, byte [edi + 0xb0]
mov byte [esi + 0xb0], al
mov dword [esi + 0xb4], vtable.srl::Exists.0
movzx eax, byte [edi + 0xb8]
mov byte [esi + 0xb8], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42e1d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5950
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 1
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
je 0x42e26c
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebx + 4]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x42e243
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x88
mov esi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], 0x17
mov dword [ebp - 4], 0xffffffff
add dword [ebx + 4], 0x220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0x1a
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
mov eax, 0x78787879
imul ecx
sar edx, 8
mov edi, edx
shr edi, 0x1f
add edi, edx
mov dword [ebp - 4], 0xffffffff
cmp edi, 0x787878
jne 0x42e29d
call fcn.004089d0
lea esi, [edi + 1]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0x27
mov ecx, dword [ebx + 8]
sub ecx, dword [ebx]
mov eax, 0x78787879
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 4], 0xffffffff
mov edx, ecx
shr edx, 1
mov eax, 0x787878
sub eax, edx
cmp ecx, eax
ja 0x42e2e1
lea esi, [edx + ecx]
lea eax, [edi + 1]
cmp esi, eax
cmovb esi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.0042e460
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0x37
mov byte [ebp - 4], 0x39
mov byte [ebp - 4], 0x38
mov byte [ebp - 4], 0x3a
mov byte [ebp - 4], 0x3b
mov byte [ebp - 4], 0x36
imul edi, edi, 0x220
add edi, ecx
je 0x42e332
mov byte [ebp - 4], 0x3c
mov byte [ebp - 4], 0x36
mov ecx, 0x88
mov esi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov ecx, eax
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0x3f
mov byte [ebp - 4], 0x3e
mov byte [ebp - 4], 0x3d
mov byte [ebp - 4], 0x42
mov byte [ebp - 4], 0x41
mov byte [ebp - 4], 0x40
mov byte [ebp - 4], 0x36
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov byte [ebp - 4], 0x44
mov byte [ebp - 4], 0x43
mov byte [ebp - 4], 0x36
sub eax, edx
push eax
push edx
push ecx
call fcn.005b86c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
mov ecx, ebx
call fcn.0042e3b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x430dc0
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5c9b
mov eax, dword fs:[0]
push eax
mov eax, 0x146c
call fcn.005b5ca0
mov eax, dword [0x672014]
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 eax, edx
mov dword [ebp - 0x1474], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebx], 0
mov dword [eax], 0
lea eax, [ebp - 0x1460]
push 0x1450
push eax
mov dword [ebp - 0x1478], ecx
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x430e34
xor al, al
jmp 0x430f74
lea eax, [ebp - 0x1460]
push eax
lea ecx, [ebp - 0x1464]
call fcn.0040d490
push ecx
lea ecx, [ebp - 0x1464]
mov dword [ebp - 4], 0
call fcn.00435120
push eax
lea ecx, [ebp - 0x1464]
call fcn.00410290
push 0xd
push 0x638364
lea ecx, [ebp - 0x1464]
call fcn.004048d3
lea eax, [ebp - 0x1470]
push eax
push dword [ebp - 0x1464]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
push esi
call fcn.0046f3d6
add esp, 4
mov edi, eax
push edi
push esi
push dword [ebp - 0x1470]
push dword [ebp - 0x1464]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x430f1b
lea eax, [ebp - 0x1468]
mov dword [ebp - 0x146c], 0
push eax
lea eax, [ebp - 0x146c]
mov dword [ebp - 0x1468], 0
push eax
push 0x638e20
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x430f0e
cmp dword [ebp - 0x1468], 0
je 0x430f0e
mov ecx, dword [ebp - 0x146c]
mov edx, dword [ebp - 0x1474]
movzx eax, word [ecx + 0x12]
mov dword [ebx], eax
movzx eax, word [ecx + 0x10]
mov dword [edx], eax
movzx eax, word [ecx + 0x16]
mov ecx, dword [ebp - 0x1478]
mov dword [ecx], eax
push edi
call fcn.0046f3d1
add esp, 4
mov bl, 1
jmp 0x430f26
push edi
call fcn.0046f3d1
add esp, 4
xor bl, bl
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x1464]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x430f72
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x430f6e
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x430f6e
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x430f72
mov ecx, edx
call esi
mov al, bl
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.005b5208
mov esp, ebp
pop ebp
ret
Function at 0x4342c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6508
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebp - 0x10]
add eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push str.version
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x434482
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x434326
cmp eax, 2
jne 0x434482
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
je 0x434482
push ecx
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.00434e40
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x20]
mov ecx, esi
push eax
push ebx
push str.version
call fcn.00435c20
test eax, eax
jne 0x43440f
mov ecx, ebx
mov byte [ebp - 4], al
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434370
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, edi
call fcn.004075f5
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4343fb
mov eax, dword [ebp - 0x18]
sub eax, ebx
sar eax, 1
cmp eax, 0x7fffffff
jbe 0x4343a6
call fcn.005bcb11
add eax, eax
cmp eax, 0x1000
jb 0x4343dd
test bl, 0x1f
je 0x4343b9
call fcn.005bcb11
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x4343c5
call fcn.005bcb11
sub ebx, eax
cmp ebx, 4
jae 0x4343d1
call fcn.005bcb11
cmp ebx, 0x23
jbe 0x4343db
call fcn.005bcb11
mov ebx, eax
push ebx
call fcn.0046f3d1
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov al, 1
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 dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x434482
mov eax, dword [ebp - 0x18]
sub eax, ebx
sar eax, 1
cmp eax, 0x7fffffff
jbe 0x43442d
call fcn.005bcb11
add eax, eax
cmp eax, 0x1000
jb 0x434464
test bl, 0x1f
je 0x434440
call fcn.005bcb11
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x43444c
call fcn.005bcb11
sub ebx, eax
cmp ebx, 4
jae 0x434458
call fcn.005bcb11
cmp ebx, 0x23
jbe 0x434462
call fcn.005bcb11
mov ebx, eax
push ebx
call fcn.0046f3d1
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
xor al, 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
Function at 0x4344a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6538
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x18], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.install
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43450a
cmp dword [ebp - 0x14], 4
jne 0x434513
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xd
jne 0x4346c2
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push str.install
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4346c2
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x43454c
cmp eax, 2
jne 0x4346c2
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x14], eax
je 0x4346c2
push ecx
inc eax
lea ecx, [ebp - 0x24]
push eax
call fcn.00434e40
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x24]
mov ecx, esi
push eax
push ebx
push str.install
call fcn.00435c20
test eax, eax
jne 0x43464f
mov byte [ebp - 4], al
mov ecx, 0x638d28
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4345b8
test dx, dx
je 0x4345b4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4345b8
add eax, 4
add ecx, 4
test dx, dx
jne 0x434592
xor ecx, ecx
jmp 0x4345bd
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x18]
sete al
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x43463c
mov eax, dword [ebp - 0x1c]
sub eax, ebx
sar eax, 1
cmp eax, 0x7fffffff
jbe 0x4345e7
call fcn.005bcb11
add eax, eax
cmp eax, 0x1000
jb 0x43461e
test bl, 0x1f
je 0x4345fa
call fcn.005bcb11
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x434606
call fcn.005bcb11
sub ebx, eax
cmp ebx, 4
jae 0x434612
call fcn.005bcb11
cmp ebx, 0x23
jbe 0x43461c
call fcn.005bcb11
mov ebx, eax
push ebx
call fcn.0046f3d1
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4346c2
mov eax, dword [ebp - 0x1c]
sub eax, ebx
sar eax, 1
cmp eax, 0x7fffffff
jbe 0x43466d
call fcn.005bcb11
add eax, eax
cmp eax, 0x1000
jb 0x4346a4
test bl, 0x1f
je 0x434680
call fcn.005bcb11
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x43468c
call fcn.005bcb11
sub ebx, eax
cmp ebx, 4
jae 0x434698
call fcn.005bcb11
cmp ebx, 0x23
jbe 0x4346a2
call fcn.005bcb11
mov ebx, eax
push ebx
call fcn.0046f3d1
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4352d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6660
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 1
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
je 0x435342
mov dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
mov ecx, esi
call fcn.004358c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 8
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0xffffffff
cmp ebx, 0xaaaaaaa
jne 0x435376
call fcn.004089d0
lea edi, [ebx + 1]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0x15
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 4], 0xffffffff
mov edx, ecx
shr edx, 1
mov eax, 0xaaaaaaa
sub eax, edx
cmp ecx, eax
ja 0x4353ba
lea edi, [edx + ecx]
lea eax, [ebx + 1]
cmp edi, eax
cmovb edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.00435850
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0x25
mov byte [ebp - 4], 0x27
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 0x24
push dword [ebp + 8]
lea eax, [ebx + ebx*2]
lea eax, [ecx + eax*8]
push eax
call fcn.00435970
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0x2a
mov byte [ebp - 4], 0x29
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x2d
mov byte [ebp - 4], 0x2c
mov byte [ebp - 4], 0x2b
mov byte [ebp - 4], 0x24
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov byte [ebp - 4], 0x2f
mov byte [ebp - 4], 0x2e
mov byte [ebp - 4], 0x24
mov byte [ebp + 8], 0
push ecx
mov dword [ebp - 0x28], esp
push dword [ebp + 8]
push ecx
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00435a10
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
push edi
push dword [ebp - 0x20]
push ebx
mov ecx, esi
call fcn.00435660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x435c20
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 0x435c91
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x435c5f
cmp eax, 2
jne 0x435c7b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x435c8b
test ecx, ecx
je 0x435c86
test cl, 1
jne 0x435c7b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x435c8b
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 0x43dad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4110
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x3c], 1
je 0x43db63
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x43db0d
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
add edx, ecx
jmp 0x43db17
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax]
add edx, dword [ecx]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
sub edx, eax
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x1000
jb 0x43db5a
test al, 0x1f
je 0x43db36
call fcn.005bcb11
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x43db42
call fcn.005bcb11
sub eax, ecx
cmp eax, 4
jae 0x43db4e
call fcn.005bcb11
cmp eax, 0x23
jbe 0x43db58
call fcn.005bcb11
mov eax, ecx
push eax
call fcn.0046f3d1
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [esi + 0x3c], 0xfffffffe
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret