joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb34a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0xb5b010]
push edi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x4ec035b
nop
push eax
call 0x774e5da0
nop
mov ebx, eax
push 0xb649e8
mov dword [ebp - 4], ebx
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
mov byte [ebx + edi], 0
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0xb34b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
call 0x75e797f0
nop
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0xb649e8
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0xb34b06
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
push 0xb649e8
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x4ec0361
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xb36ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0xb36f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
nop
call 0x75e78cf0
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0xb36fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0xb36fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0xb36f91
mov ecx, dword [ebx]
push edi
push pe_nt_image_headers32
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
call 0x75e78cf0
nop
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0xb36fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0xb36fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0xb36fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.00d690f4]
push eax
call dword [fcn.00d69088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0xb36f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00b37590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x102daf0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0xd690e0]
test esi, esi
jne 0x102db08
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x102db01
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x102db01
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x102db6a
jmp 0x102db50
mov eax, dword [ebx + edi*4]
mov ecx, dword [0xd68bf0]
add eax, esi
call fcn.0102b610
test eax, eax
je 0x102db73
inc edi
cmp edi, dword [ebp - 4]
jb 0x102db50
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40118b
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2008
call fcn.00401360
mov eax, dword [ebp + 0xc]
mov ecx, 0
mov dword [eax], ecx
mov eax, dword [ebp + 8]
push eax
mov eax, 0x2000
push eax
mov eax, 1
push eax
lea eax, [ebp - 0x2000]
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
mov dword [ebp - 0x2004], eax
mov eax, dword [ebp - 0x2004]
cmp eax, 0
jne 0x401209
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll_ferror
add esp, 4
test eax, eax
je 0x401204
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov ecx, 0x402045
push ecx
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
jmp 0x401245
jmp 0x40123b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2004]
push edx
lea edx, [ebp - 0x2000]
push edx
mov edx, dword [ecx]
push edx
mov dword [ebp - 0x2008], eax
call fcn.00401251
add esp, 0xc
mov ecx, dword [ebp - 0x2008]
mov dword [ecx], eax
jmp 0x40119f
mov eax, 0
jmp 0x40124f
mov eax, 0xffffffff
jmp 0x40124f
leave
ret

Function at 0x401251
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
nop
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jae 0x4012c7
jmp 0x401292
mov eax, dword [ebp - 0xc]
mov ecx, eax
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x401272
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add ecx, edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx]
xor edx, eax
and edx, 0xff
shl edx, 2
mov eax, 0x40205c
add eax, edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
xor ecx, edx
mov dword [ebp - 4], ecx
jmp 0x401285
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
jmp 0x4012d2
leave
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x4172a0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x417428
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x4172ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4172d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4172c0
mov eax, 1
add ebx, ebx
jne 0x4172e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4172d8
jne 0x4172f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4172d8
xor ecx, ecx
sub eax, 3
jb 0x417308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41737a
mov ebp, eax
add ebx, ebx
jne 0x417313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417344
inc ecx
add ebx, ebx
jne 0x417330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417325
jne 0x417341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417355
jmp 0x4172c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417364
add edi, ecx
jmp 0x4172c6
pop esi
mov edi, esi
mov ecx, 0x817
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417382
cmp byte [edi], 1
jne 0x417382
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x417387
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4173f6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x170b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1713c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4173b4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x17140]
or eax, eax
je 0x4173f0
mov dword [ebx], eax
add ebx, 4
jmp 0x4173d1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x417427
cmp al, 0xef
ja 0x41741a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4173fc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x417409
popal
jmp 0x40eff4
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x769a0fb3
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x116604c2
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x42243a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fdc30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041fc75
mov dword [ebp - 0x14], eax
cmp dword [0x4ff7b8], edi
jne 0x42252b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4224b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42260b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42260b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42260b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4ff7b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4ff7bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4ff7c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ff7c8], eax
test eax, eax
je 0x422528
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ff7c4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x422550
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x422543
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x422565
push 4
pop eax
jmp 0x42260d
cmp dword [ebp - 0x14], edi
je 0x422565
push dword [0x4ff7b8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42254a
mov eax, dword [0x4ff7c4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4225c3
cmp dword [0x4ff7c8], esi
je 0x4225c3
push eax
call ebx
push dword [0x4ff7c8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4225c3
test eax, eax
je 0x4225c3
call ecx
test eax, eax
je 0x4225b8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4225b8
test byte [ebp - 8], 1
jne 0x4225c3
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4225f3
mov eax, dword [0x4ff7bc]
cmp eax, esi
je 0x4225f0
push eax
call ebx
test eax, eax
je 0x4225f0
call eax
mov edi, eax
test edi, edi
je 0x4225f0
mov eax, dword [0x4ff7c0]
cmp eax, esi
je 0x4225f0
push eax
call ebx
test eax, eax
je 0x4225f0
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4ff7b8]
call ebx
test eax, eax
je 0x42260b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x42260d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420c23
leave
ret
Function at 0x404d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ee4a
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4958b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 1
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00405240
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00405240
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00405220
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00405220
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x404f10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46eeb4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4958b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
lea ecx, [ebp - 0x14]
call fcn.004051f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
call fcn.004053b0
test eax, eax
je 0x404f75
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405270
mov eax, dword [ebp - 0x18]
jmp 0x404fd1
lea ecx, [ebp - 0x24]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0x404aa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 0
jne 0x404fb8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405270
mov eax, dword [ebp - 0x1c]
jmp 0x404fd1
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405270
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x425f00
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x425f3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47ee60
call fcn.004172e0
add esp, 8
xor eax, eax
jmp 0x425fb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x217
je 0x425f67
cmp dword [ebp - 8], 0x3e5
je 0x425f5b
jmp 0x425f74
mov eax, dword [ebp - 4]
mov dword [eax + 4], 1
jmp 0x425f8c
mov ecx, dword [ebp - 4]
add ecx, 0x40
call fcn.00405390
jmp 0x425f8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CastingStation__PipeService::ConnectToNewClient_failed_with__d._n
call fcn.004172e0
add esp, 8
xor eax, eax
jmp 0x425fb2
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x425f9e
mov dword [ebp - 0xc], 0
jmp 0x425fa5
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x42b3d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push 0x47fd58
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42b43b
mov dword [ebp - 0x14], 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b43b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x42bf70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push 0x47fd58
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42bfdb
mov dword [ebp - 0x14], 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42bfdb
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x432cf4
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
sub eax, 0xb460
call 0x432bf2
add byte [edi + 0x41], cl
inc ebp
cmp eax, 0x83423932
les eax, [eax + ebx*2]
mov dword [ebp - 0x10], 1
push edx
push ebx
add esp, 4
sub edx, 0x15e1a
xor edx, 0x466
pop edx
push edx
add edx, 0x2ab8
xor edx, 0x96d8
pop edx
push ecx
push eax
add esp, 4
or ecx, 0x15b05
xor ecx, 0x12c0e
pop ecx
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
sub edx, ecx
mov dword [ebp - 0x14], edx
push edx
push edx
add esp, 4
xor edx, 0x1433c
or edx, 0xcec8
pop edx
push edx
push edi
add esp, 4
and edx, 0xe483
pop edx
push edx
push edx
add esp, 4
add edx, 0x5b42
pop edx
push eax
sub eax, 0x1533
pop eax
push esi
xor esi, 0x14a4e
pop esi
push edi
jmp 0x432c9e
or edi, 0x15150
or edi, 0xd2ee
xor edi, 0x1034a
pop edi
push eax
and eax, 0x17769
and eax, 0x65fc
pop eax
mov dword [ebp - 0x2c], 1
push ecx
or ecx, 0x8595
call 0x432cdd
add byte [ebp + 0x50], cl
xor al, 0x4a
cmp ecx, dword [ecx + 0x4b]
cmp dh, byte [esi]
inc ecx
add esp, 4
sub ecx, 0x5c0c
call 0x432cf4
add byte [esi + 0x50], al
inc esi
dec esi
dec eax
cmp eax, 0xc483444e
add al, 0x59
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x432ed9
Function at 0x437134
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
add ecx, 0x101fd
call fcn.00437134
add byte [edi + 0x4b], cl
cmp dword [ecx + 0x40], ecx
dec ebp
inc ecx
cmp cl, byte [edx - 0x7d]
add esp, 4
jmp 0x43713d
inc edi
cmp al, byte [esi + 0x4e]
add esp, 4
jmp 0x43713d
sub ecx, 0x50b1
pop ecx
push edx
push edi
add esp, 4
and edx, 0xac4
pop edx
lea edx, [ebp - 0x16cc]
mov dword [ebp - 0xc28], edx
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc24], ecx
xor edx, edx
mov word [ebp - 0x1fc], dx
xor eax, eax
mov word [ebp - 0x104], ax
push ecx
push edx
add esp, 4
add ecx, 0x8ee4
sub ecx, 0x593a
pop ecx
push edx
call 0x43719f
add byte [ecx*2 + 0x353a5040], dh
aas
dec edi
dec ebp
add esp, 4
or edx, 0xe797
sub edx, 0x12c91
pop edx
mov ecx, dword [ebp - 0xc24]
mov dx, word [ecx]
mov word [ebp - 0xf82], dx
mov eax, dword [ebp - 0xc24]
add eax, 2
mov dword [ebp - 0xc24], eax
mov cx, word [ebp - 0xf82]
mov word [ebp - 0x1fc], cx
mov edx, dword [ebp - 0xc28]
mov ax, word [edx]
mov word [ebp - 0xf84], ax
mov ecx, dword [ebp - 0xc28]
add ecx, 2
mov dword [ebp - 0xc28], ecx
mov dx, word [ebp - 0xf84]
mov word [ebp - 0x104], dx
push ecx
add ecx, 0x180a8
call 0x43721d
add byte [edx], dh
xor dh, byte [esi]
cmp byte ss:[esi], dh
inc ebp
add esp, 4
pop ecx
push esi
add esi, 0x5b47
xor esi, 0x144c8
pop esi
push esi
push ecx
add esp, 4
sub esi, 0x4c47
pop esi
movzx eax, word [ebp - 0x104]
test eax, eax
jne 0x43725e
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
sub ecx, edx
mov dword [ebp - 0x14e4], ecx
jmp 0x4372c1
movzx eax, word [ebp - 0x1fc]
movzx ecx, word [ebp - 0x104]
cmp eax, ecx
je 0x43717d
movzx edx, word [ebp - 0x1fc]
xor edx, 0x20
movzx eax, word [ebp - 0x104]
cmp edx, eax
je 0x43717d
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
cmp ecx, edx
jge 0x4372ab
mov dword [ebp - 0x14e0], 0xffffffff
jmp 0x4372b5
mov dword [ebp - 0x14e0], 1
mov eax, dword [ebp - 0x14e0]
mov dword [ebp - 0x14e4], eax
cmp dword [ebp - 0x14e4], 0
jne 0x43730a
push edi
push esi
add esp, 4
sub edi, 0xda6d
add edi, 0xa4c0
add edi, 0x1ac1
pop edi
push ebx
and ebx, 0x11e27
and ebx, 0x14751
sub ebx, 0x7107
and ebx, 0x3c66
pop ebx
mov ecx, dword [ebp - 0x4d8]
mov dword [ebp - 0x6ec], ecx
jmp 0x437372
push edx
push esi
add esp, 4
xor edx, 0x3272
jmp 0x43731e
or edx, 0x115ea
jmp 0x43732d
pop edx
push ebx
sub ebx, 0x15edc
sub ebx, 0x84f6
pop ebx
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
cmp ecx, dword [ebp - 0xc2c]
je 0x437368
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x30], 0
jne 0x43711e
mov dword [ebp - 0x6ec], 0