joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4101bd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esi], eax
mov ecx, dword [ecx]
cmp ecx, dword [ebp + 0x10]
je 0x41031b
mov eax, ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
inc ebx
mov edi, 0x3ff
mov ecx, eax
cmp dword [esi], edx
je 0x41031b
mov edx, dword [ebp + 8]
movzx ecx, word [eax]
mov eax, ecx
mov byte [ebp + 0x23], 0
movzx edx, word [edx]
cmp bx, dx
jae 0x41023b
lea eax, [ecx + 0x2400]
cmp ax, di
ja 0x41032a
mov eax, edx
lea ebx, [ecx - 0xdc00]
shl eax, 0xa
or ebx, eax
mov cl, byte [ebp + 0x23]
cmp ebx, 0x80
jae 0x410258
mov dl, bl
xor edi, edi
jmp 0x410288
mov ebx, eax
lea eax, [ecx + 0x2800]
cmp ax, di
ja 0x41022a
add ebx, 0xffff2840
mov cl, 1
shl ebx, 0xa
mov byte [ebp + 0x23], cl
jmp 0x41022d
mov edx, ebx
cmp ebx, 0x800
jae 0x41026d
shr edx, 6
xor edi, edi
or dl, 0xc0
inc edi
jmp 0x410288
cmp ebx, 0x10000
jae 0x41027f
shr edx, 0xc
or dl, 0xe0
push 2
jmp 0x410287
shr edx, 0x12
or dl, 0xf0
push 3
pop edi
movzx eax, cl
mov ecx, dword [ebp - 4]
xor eax, 1
add eax, eax
cmp edi, 3
cmovb eax, edi
mov dword [ebp - 8], eax
inc eax
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [esi]
cmp eax, dword [ebp + 0x18]
jl 0x41031b
mov eax, ecx
mov ecx, dword [ebp + 0x14]
add eax, 2
cmp byte [ebp + 0x23], 0
mov dword [ecx], eax
jne 0x4102bf
cmp edi, 3
jae 0x4102ca
mov eax, dword [esi]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp - 8]
jmp 0x4102cd
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4102f2
imul ecx, edi, 6
sub ecx, 6
mov edx, ebx
dec eax
shr edx, cl
mov dword [ebp + 0x18], eax
and dl, 0x3f
mov eax, dword [esi]
or dl, 0x80
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp + 0x18]
test eax, eax
jg 0x4102d4
xor ecx, ecx
shr ebx, 0xa
inc ecx
movzx eax, bx
cmp byte [ebp + 0x23], 0
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, ecx
mov dword [ebp - 4], eax
cmp ecx, dword [ebp + 0x10]
jne 0x4101e5
xor eax, eax
cmp dword [ebp + 0xc], ecx
sete al
pop edi
pop esi
pop ebx
leave
ret 0x1c
push 2
pop eax
jmp 0x410323

Function at 0x417547
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd372
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x574158]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi], vtable.acu::error::Exception.0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
lea eax, [esi + 0x34]
mov dword [esi + 0x2c], ecx
push 2
push eax
mov dword [esi + 0x30], 0xf
call fcn.004636e3
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret 0x10
Function at 0x433062
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x574158]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x4330bf
cmp byte [esi + 0x3e], bl
je 0x4330bf
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
cmp di, ax
je 0x4330f8
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, ebx
je 0x4330d0
sub eax, 1
je 0x4330d3
dec eax
sub eax, 1
jne 0x4330f8
mov byte [esi + 0x3e], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ca20
leave
ret
mov byte [esi + 0x3e], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4330f0
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004b4dec
add esp, 0x10
cmp edi, eax
jne 0x4330f8
cmp byte [esi + 0x3e], bl
sete al
jmp 0x4330c1
xor al, al
jmp 0x4330c1

Function at 0x4347f9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x574158]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
mov esi, ecx
cmp bx, di
jne 0x434822
xor eax, eax
jmp 0x4348f0
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x43484e
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x43484e
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x4348f0
cmp dword [esi + 0x4c], 0
je 0x4348ed
mov ecx, esi
call fcn.00433baa
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43487a
push dword [esi + 0x4c]
push edi
call fcn.004305c2
pop ecx
pop ecx
test al, al
je 0x4348ed
movzx ebx, di
jmp 0x4348ed
movzx eax, di
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x4348bb
sub eax, 1
je 0x4348bb
dec eax
sub eax, 1
jne 0x4348ed
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x43486a
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x4348de
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.004b4dec
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x4348ed
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x34], eax
mov ax, di
jne 0x4348f0
mov ax, bx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ca20
leave
ret 4
Function at 0x44bde0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5047d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x574158]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.boost::program_options::error_with_option_name.0
mov eax, dword [edi + 0x4c]
mov dword [ebp - 4], 0
cmp eax, 0x10
jb 0x44be28
inc eax
lea ecx, [edi + 0x38]
push eax
push dword [edi + 0x38]
call fcn.0044d640
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0xf
mov byte [edi + 0x38], 0
mov eax, dword [edi + 0x34]
mov dword [ebp - 4], 1
cmp eax, 0x10
jb 0x44be56
inc eax
lea ecx, [edi + 0x20]
push eax
push dword [edi + 0x20]
call fcn.0044d640
lea esi, [edi + 0x18]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov ecx, esi
mov byte [edi + 0x20], 0
mov eax, dword [esi]
push dword [eax + 4]
push esi
call fcn.00448bf0
push 0x58
push dword [esi]
call fcn.0049c467
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x10]
add esp, 8
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00427a76
push 0x40
push dword [esi]
call fcn.0049c467
lea eax, [edi + 4]
mov dword [ebp - 4], 4
push eax
mov dword [edi], vtable.std::exception.0
call fcn.004a6262
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x462600
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5079ed
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x574158]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
push 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.00462d24
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push 0x511860
push eax
call fcn.00464023
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
call fcn.004641b2
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
push eax
call fcn.0046406e
add esp, 0x10
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4626e0
push eax
call fcn.004b1a07
add esp, 4
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4626fb
push eax
call fcn.004b1a07
add esp, 4
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x462716
push eax
call fcn.004b1a07
add esp, 4
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x462731
push eax
call fcn.004b1a07
add esp, 4
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x46274c
push eax
call fcn.004b1a07
add esp, 4
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x462767
push eax
call fcn.004b1a07
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
call fcn.00462d8b
mov dword [esi], vtable.boost::program_options::detail::utf8_codecvt_facet.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47fe23
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
je 0x47fe32
pop ebp
jmp fcn.0047fe41
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
push eax
call fcn.0047fdd1
pop ecx
pop ebp
ret

Function at 0x480077
Capabilities:
Get session user name

Disassembly:
push 0x40
mov eax, 0x50a941
call fcn.0049ca93
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x44], esi
inc ecx
xor ebx, ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x28], ebx
push 7
mov eax, ebx
xor edi, edi
pop edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], di
mov dword [ebp - 4], ecx
mov edi, ebx
cmp ecx, eax
ja 0x4800c3
cmp edx, 8
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x4800cf
sub ecx, eax
push ebx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040fac9
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push dword [ebp + 0xc]
call sub.SspiCli.dll_GetUserNameExW
cmp al, 1
je 0x480108
test edi, edi
jne 0x480108
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xea
jne 0x480108
mov ecx, dword [ebp - 0x48]
inc edi
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x4800aa
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0047ffde
push eax
mov ecx, esi
mov byte [ebp - 4], 2
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0040ce85
lea ecx, [ebp - 0x40]
call fcn.0040dd63
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x48016d
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], ecx
cmp eax, 0x1000
jb 0x480164
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040cd82
mov eax, dword [ebp - 0x4c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
push eax
push ecx
call fcn.0049c467
pop ecx
pop ecx
mov eax, esi
call fcn.0049ca42
ret

Function at 0x482ec5
Capabilities:
Delete registry key

Disassembly:
push 0xac
mov eax, 0x50ae60
call fcn.0049caff
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp + 0xc]
push edx
mov ebx, dword [eax]
call fcn.00401488
cmp dword [eax + 0x14], 8
jb 0x482eef
mov eax, dword [eax]
xor esi, esi
push esi
push ebx
push esi
push dword [ebp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyTransactedW]
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.0040dd89
cmp edi, 2
je 0x482f93
test edi, edi
jne 0x482f9b
jmp 0x482f93
call fcn.0049ca51
ret 0xc
push 0x477
push 0x538eac
push edi
push 4
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], esi
call fcn.00417547
push 0x5581cc
lea eax, [ebp - 0xa8]
push eax
call fcn.004a6281
int3
Function at 0x482fcd
Capabilities:
Delete registry key

Disassembly:
push 0xac
mov eax, 0x50ae8a
call fcn.0049caff
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00401488
cmp dword [eax + 0x14], 8
jb 0x482ff2
mov eax, dword [eax]
push 0
push dword [ebp + 0xc]
push eax
push dword [esi]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0040dd89
cmp esi, 2
je 0x483093
test esi, esi
jne 0x48309b
jmp 0x483093
call fcn.0049ca51
ret 8
and dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
push 0x457
push 0x538eac
push esi
push 4
call fcn.00417547
push 0x5581cc
lea eax, [ebp - 0xa8]
push eax
call fcn.004a6281
int3

Function at 0x483b5a
Capabilities:
Delete registry value

Disassembly:
push 0xac
mov eax, 0x50afd6
call fcn.0049caff
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xac], ebx
test eax, eax
je 0x483b8e
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401488
inc ebx
cmp dword [eax + 0x14], 8
jb 0x483b90
mov eax, dword [eax]
jmp 0x483b90
xor eax, eax
push eax
push dword [esi]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov esi, eax
test bl, 1
je 0x483ba8
lea ecx, [ebp - 0x2c]
call fcn.0040dd89
cmp esi, 2
je 0x483c31
test esi, esi
jne 0x483c39
jmp 0x483c31
call fcn.0049ca51
ret 4
and dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
push 0x43c
push 0x538eac
push esi
push 4
call fcn.00417547
push 0x5581cc
lea eax, [ebp - 0xa8]
push eax
call fcn.004a6281
int3
Function at 0x484518
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xe4
mov eax, 0x50b1a7
call fcn.0049caff
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xa4], eax
xor ebx, ebx
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], ebx
call fcn.0048a5c4
xor eax, eax
mov dword [ebp - 4], ebx
mov dl, bl
mov dword [ebp - 0xc8], ebx
inc eax
mov byte [ebp - 0x99], dl
mov edi, ebx
mov dword [ebp - 0xb8], eax
mov esi, ebx
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc4], esi
mov ecx, ebx
mov byte [ebp - 4], al
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xa0], 2
cmp dword [ebp - 0xa0], 0
jle 0x4846dd
lea ecx, [ebp - 0xa9]
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.004815b2
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x4845db
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401488
or dword [ebp - 0xa8], 1
cmp dword [eax + 0x14], 8
jb 0x4845dd
mov eax, dword [eax]
jmp 0x4845dd
mov eax, ebx
mov edi, dword [ebp - 0xcc]
lea ecx, [ebp - 0xb8]
push ecx
push edi
lea ecx, [ebp - 0xbc]
push ecx
push ebx
push eax
mov eax, dword [ebp - 0xb0]
push dword [eax]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0xa8]
test al, 1
je 0x48461f
and eax, 0xfffffffe
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xa8], eax
call fcn.0040dd89
cmp esi, 0xea
je 0x4846ba
test esi, esi
jne 0x48477a
jmp 0x4846b0
mov dl, 1
mov byte [ebp - 0x99], dl
jmp 0x4846c0
mov dl, byte [ebp - 0x99]
dec dword [ebp - 0xa0]
mov eax, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xbc]
jmp 0x484597
test dl, dl
je 0x48470d
push eax
push edi
push ecx
lea ecx, [ebp - 0x34]
call fcn.0048a59b
mov ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0xf0], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0xec]
call fcn.00486cbb
lea ecx, [ebp - 0x30]
call fcn.0040d0b2
mov ebx, dword [ebp - 0xc0]
lea eax, [ebp - 0xf0]
push eax
mov ecx, ebx
call fcn.0048239e
test edi, edi
je 0x484765
sub esi, edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], esi
cmp esi, 0x1000
jb 0x48475c
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040cd82
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xa4]
pop ecx
pop ecx
push esi
push edi
call fcn.0049c467
pop ecx
pop ecx
lea ecx, [ebp - 0xec]
call fcn.0040d0b2
mov eax, ebx
call fcn.0049ca51
ret 8
push 0x6b2
push 0x538eac
push esi
push 4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.00417547
push 0x5581cc
lea eax, [ebp - 0x98]
push eax
call fcn.004a6281
int3
Function at 0x4848f8
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xac
mov eax, 0x50b1fb
call fcn.0049caff
mov edi, ecx
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, esi
mov dword [ebp - 0xac], ebx
test eax, eax
je 0x48492e
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401488
inc ebx
cmp dword [eax + 0x14], 8
jb 0x484930
mov eax, dword [eax]
jmp 0x484930
mov eax, esi
push esi
push esi
push esi
push esi
push eax
push dword [edi]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edi, eax
test bl, 1
je 0x48494c
lea ecx, [ebp - 0x2c]
call fcn.0040dd89
mov ecx, edi
sub ecx, esi
je 0x4849ec
dec ecx
sub ecx, 1
je 0x4849ec
sub ecx, 0xe8
je 0x4849ec
test edi, edi
jne 0x4849fa
jmp 0x4849ec
cmp edi, 2
setne al
call fcn.0049ca51
ret 4
push 0x70a
push 0x538eac
push edi
push 4
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], esi
call fcn.00417547
push 0x5581cc
lea eax, [ebp - 0xa8]
push eax
call fcn.004a6281
int3
Function at 0x4893f6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x134
mov eax, 0x50b75d
call fcn.0049caff
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x11c]
xor ebx, ebx
mov dword [ebp - 0x110], eax
push ebx
push ebx
push ecx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
inc esi
mov dword [ebp - 0x110], eax
push ebx
mov ecx, eax
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x11c], esi
call fcn.00488f8c
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x489700
jmp 0x4894d3
add dword [ebp - 0x118], 2
mov dword [ebp - 0x2c], ebx
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 3
push eax
call fcn.0048925b
pop ecx
pop ecx
push ebx
push dword [ebp - 0x118]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x130], ebx
call fcn.004109de
cmp dword [ebp - 0x18], 8
lea edi, [ebp - 0x2c]
mov ecx, dword [ebp - 0x110]
cmovae edi, dword [ebp - 0x2c]
call fcn.00488f8c
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
push ecx
push esi
lea ecx, [ebp - 0x130]
push ecx
push ebx
lea ecx, [ebp - 0x118]
push ecx
push edi
push dword [ebp + 0x10]
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
xorps xmm0, xmm0
mov ecx, ebx
movlpd qword [ebp - 0x128], xmm0
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 5
test eax, eax
jne 0x48966a
push ebx
push dword [ebp - 0x118]
lea ecx, [ebp - 0x2c]
call fcn.004109de
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x110], esi
push eax
lea ecx, [ebp - 0x44]
call fcn.0047ffde
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x130]
push ecx
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00489215
add esp, 0x14
lea ecx, [ebp - 0x128]
push eax
call fcn.00489301
mov ecx, dword [ebp - 0x13c]
test ecx, ecx
je 0x4895e9
call fcn.0040d04b
lea ecx, [ebp - 0x44]
call fcn.0040dd63
mov ecx, dword [ebp - 0x124]
mov ebx, dword [ebp - 0x128]
mov edi, dword [ebp - 0x12c]
mov dword [edi], ebx
mov dword [edi + 4], ecx
test esi, esi
je 0x489613
push esi
call fcn.0049ce1a
pop ecx
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x489662
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x110], ecx
cmp eax, 0x1000
jb 0x489659
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0040cd82
mov eax, dword [ebp - 0x120]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x110]
push eax
push ecx
call fcn.0049c467
pop ecx
pop ecx
mov eax, edi
call fcn.0049ca51
ret
cmp eax, 0x103
je 0x4895fd
push 0x51
push 0x5391c0
push eax
push 4
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 7
call fcn.00417547
push 0x5581cc
lea eax, [ebp - 0x10c]
jmp 0x489723
push 0x26
push 0x5391c0
push eax
push 4
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], ebx
call fcn.00417547
push 0x5581cc
lea eax, [ebp - 0xa8]
push eax
call fcn.004a6281
int3
Function at 0x48ea62
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x50c4ee
call fcn.0049ca60
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.0048eb31
xor ebx, ebx
lea edi, [esi + 4]
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push 0x48eada
push ebx
push ebx
call fcn.004d1156
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x48eaa8
mov eax, esi
call fcn.0049ca2e
ret 4
push 6
mov dword [edi], ebx
call fcn.00463aba
int3

Function at 0x48f317
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x50c679
call fcn.0049ca60
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.0048f3be
xor ebx, ebx
lea edi, [esi + 4]
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push 0x48f367
push ebx
push ebx
call fcn.004d1156
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x48f35d
mov eax, esi
call fcn.0049ca2e
ret 4
push 6
mov dword [edi], ebx
call fcn.00463aba
int3

Function at 0x49397b
Capabilities:
Create process on windows

Disassembly:
push 0xe4
mov eax, 0x50cfd4
call fcn.0049caff
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe8], eax
mov eax, 0x52ee50
cmovne eax, ecx
mov ecx, edi
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0041042e
lea ecx, [ebp - 0x44]
xor esi, esi
push ecx
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00426310
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
push ecx
push eax
push ecx
push ecx
mov eax, esp
mov dword [eax], 0x539e10
mov dword [eax + 4], 5
lea eax, [ebp - 0x2c]
push eax
call fcn.00492231
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x493a01
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x493a09
mov edi, dword [edi]
push dword [ebp - 0xe8]
push dword [ebp - 0xdc]
push ebx
push esi
push esi
push esi
push esi
push esi
push eax
push edi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0040dd89
lea ecx, [ebp - 0x44]
call fcn.0040dd89
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040dd89
test esi, esi
je 0x493ac3
jmp 0x493abd
call fcn.0049ca51
ret
push 0x352
push 0x539d24
mov dword [ebp - 4], 2
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
push 4
lea ecx, [ebp - 0xd8]
call fcn.00417547
push 0x5581cc
lea eax, [ebp - 0xd8]
push eax
call fcn.004a6281
int3