joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485930
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e5558
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x485969
inc eax
mov dword [esi + 0x10], eax
jmp 0x485a7c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x48597d
mov eax, 0xffffffc7
jmp 0x485a7e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x48598e
cmp dword [esi + 8], eax
jne 0x48597d
cmp dword [esi + 8], eax
jne 0x4859a7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4859a7
mov eax, 0xffffffc7
jmp 0x485a7e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4859bb
push eax
mov ecx, ebx
call fcn.00485160
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0044e070
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4859ec
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0044e090
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004848d0
test eax, eax
mov dword [esp + 0x38], eax
je 0x485a1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x699448
call fcn.0044e270
mov eax, dword [esp + 0x38]
jmp 0x485a7e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00485790
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x485a63
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004857b0
mov esi, eax
test esi, esi
jne 0x485a93
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00485790
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x485a35
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x699448
call fcn.0044e270
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x699448
call fcn.0044e270
mov eax, esi
jmp 0x485a7e
Function at 0x48eb10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e5b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [fcn.004e9644]
push 0
lea ecx, [esp + 0x20]
call fcn.004dd7c9
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0048e4b0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004dd6f7
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004d9fba
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004d9fba
push 1
push 0
push 0
mov ecx, esi
call fcn.004d9f62
push 1
push 0
push 1
mov ecx, esi
call fcn.004d9f62
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004dd83b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x48ec90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e5ba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004dd7c9
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0048e4b0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004dd6f7
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [fcn.004e9644]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x48ed54
cmp dword [esp + 0x40], 1
jne 0x48ed52
cmp ecx, eax
jge 0x48ed54
mov eax, ecx
cmp eax, 0xc8
jge 0x48ed60
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0048eb10
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [fcn.004e9640]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004dd83b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x48f4d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e5c13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d83d6
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x6a0b58
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x69cd10
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [fcn.004e919c]
push eax
mov ecx, edi
call fcn.004dda71
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004df136
test eax, eax
je 0x48f5ec
mov ecx, dword [esp + 0x3c]
call fcn.004dda9e
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.004e9664]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x48f5b0
push edi
mov ecx, esi
call fcn.004db104
mov ecx, esi
call fcn.0048f750
cmp dword [esp + 0x38], 1
jne 0x48f5e5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004db23f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x492020
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x492053
push esi
call fcn.00495130
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x49204c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4920d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4920c2
mov eax, dword [esi + 8]
test eax, eax
je 0x492077
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4920be
cmp eax, 2
je 0x4920c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x49206a
cmp eax, 3
je 0x49209d
cmp eax, 1
jne 0x49206a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x49206a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x49206a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00492100
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4920e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00492100
add esp, 4
pop esi
ret
Function at 0x4af7c0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e6f50
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4af967
mov ecx, dword [0x6bdc5c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4af8bc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004ae4e0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004d6eaa
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004d6dbd
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x6bafcc
call fcn.004d6e2b
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004ae8a0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004d6eaa
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004d6dbd
lea ecx, [esp + 0xc]
call fcn.004d7285
mov ecx, dword [esp + 0xc]
push 0x6bba0c
push ecx
call fcn.004c58a4
add esp, 8
test eax, eax
je 0x4af8e4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4af81d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004d6dbd
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004d6dbd
jmp 0x4af96b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004af560
test eax, eax
push 0
je 0x4af94f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004adc00
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4af935
cmp eax, 0x64
jg 0x4af923
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [fcn.004e93a4]
mov esi, eax
jmp 0x4af8c0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [fcn.004e93a4]
mov esi, eax
jmp 0x4af8c0
cmp eax, 0x64
jge 0x4af8bc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [fcn.004e93a4]
mov esi, eax
jmp 0x4af8c0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004adc00
mov esi, eax
jmp 0x4af8c0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4af975
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4c1ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004c1850
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004c18d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004c18d0
lea ecx, [esi + 0xc]
call fcn.004d6d48
lea ecx, [esi + 0x10]
call fcn.004d6d48
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004c2e60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004c2e60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004c2e60
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004d6dbd
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d6dbd
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x403059
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x417124]
sub esi, dword [0x40b090]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x423f8c], eax
jle 0x4031c3
push dword [0x41f134]
call fcn.00403207
push ebx
push ebx
push dword [0x40b090]
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41f130], esi
mov dword [0x417120], ebx
mov ebp, 0x40b120
mov eax, dword [0x417128]
mov edi, 0x4000
sub eax, dword [0x41f134]
cmp eax, edi
jg 0x4030ce
mov edi, eax
mov esi, 0x413120
push edi
push esi
call fcn.004031d5
test eax, eax
je 0x4031b5
add dword [0x41f134], edi
mov dword [0x40b0b0], esi
mov dword [0x40b0b4], edi
cmp dword [0x423f90], ebx
je 0x403125
cmp dword [0x424020], ebx
jne 0x403125
mov eax, dword [0x41f130]
push ebx
sub eax, dword [0x417124]
sub eax, dword [esp + 0x1c]
add eax, dword [0x40b090]
mov dword [0x417120], eax
call fcn.00402be9
pop ecx
mov ecx, 0x40b098
mov dword [0x40b0b8], ebp
mov dword [0x40b0bc], 0x8000
call fcn.00406184
test eax, eax
jl 0x4031be
mov esi, dword [0x40b0b8]
sub esi, ebp
je 0x40317f
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4031ba
cmp esi, dword [esp + 0x10]
jne 0x4031ba
add dword [0x40b090], esi
cmp dword [0x40b0b4], ebx
jne 0x4030f4
jmp 0x40318b
cmp dword [0x40b0b4], ebx
jne 0x4031be
cmp edi, ebx
je 0x4031be
mov eax, dword [0x417124]
mov ecx, eax
sub ecx, dword [0x40b090]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x4030b8
push ebx
push ebx
push eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4031c3
or eax, 0xffffffff
jmp 0x4031cd
push 0xfffffffffffffffe
jmp 0x4031c0
push 0xfffffffffffffffd
pop eax
jmp 0x4031cd
push 1
call fcn.00402be9
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x40324f
Capabilities:
Check os version

Disassembly:
sub esp, 0x180
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x8001
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], str.Error_writing_temporary_file._Make_sure_your_temp_folder_is_valid.
xor esi, esi
mov byte [esp + 0x18], 0x20
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x403296
push ebx
call fcn.00406087
cmp eax, ebx
je 0x403296
push 0xc00
call eax
jmp 0x40964d
Function at 0x624b73
Capabilities:
Hash data with md5

Disassembly:
lea esp, [esp + 4]
jmp 0x624ba8
mov dword [eax + 4], 0
pushal
lea esp, [esp + 0xf]
mov word [esp + 2], dx
jmp 0x624bc8
lea esp, [esp + 1]
jmp 0x624c1f
lea esp, [esp + 0x1c]
mov dword [eax + 0xc], 0xefcdab89
jmp 0x624c33
pop word [esp + 0x13]
lea esp, [esp + 2]
jmp 0x624be8
lea esp, [esp + 0x10]
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
pushal
jmp 0x624c06
mov dword [eax + 0x10], reloc.RASAPI32.dll_RasHangUpA
pushal
mov byte [esp + 3], bh
pop word [esp + 0x19]
mov dword [esp + 7], esi
jmp 0x624d02
lea esp, [esp + 2]
lea esp, [esp + 0x1c]
mov dword [eax + 0x14], 0x10325476
push esp
mov byte [esp], bh
jmp 0x624cc0

Function at 0x79a7b6
Capabilities:
Parse pe header

Disassembly:
pop word [esp]
push esp
call fcn.0079a7f2
mov esp, 0x44b5d23c

Function at 0x79a7ec
Capabilities:
Parse pe header

Disassembly:
call 0x79a7ec
pop dword [esp + 2]
lea esp, [esp + 7]
mov byte [esp], bh
lea esp, [esp + 1]
jmp 0x79a7d5
mov dword [esp + 0x4c], ebp
call fcn.0079a7b6
imul ebp, esi, 0x16f61b7c
jns 0x79a7e9
xchg ebx, eax
test byte [0x54f146ed], 0xe9
js 0x79a7ef
in eax, dx
inc esi
int1
push esp
jmp 0x79a76a
invalid
invalid

Function at 0x79a7f2
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.007990c3
pop word [esp + 3]
mov dword [esp + 0x50], esi
push edx
jmp 0x79a97c
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x79a93c
lea esp, [esp + 0x50]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x79a844
push eax
jmp 0x7990be
mov dword [esp], esi
mov dword [esp], eax
push word [esp + 3]
mov word [esp], di
lea esp, [esp + 2]
mov dword [esp + 0x50], edi
jmp 0x79a86d
Function at 0x402450
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x548a1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], 0
push eax
push 0xcc
call fcn.00533a30
mov ecx, dword [0x5b5ecc]
lea edi, [esi + 0x5c]
mov dword [edi], ecx
mov edx, dword [0x5b5ecc]
lea ecx, [esi + 0x60]
mov dword [ecx], edx
mov eax, dword [0x5b5ecc]
lea ebx, [esi + 0x64]
mov dword [ebx], eax
mov edx, dword [0x5b5ecc]
lea ebp, [esi + 0x6c]
mov dword [ebp], edx
lea eax, [esp + 0x30]
mov byte [esp + 0x1c], 5
push eax
mov dword [esi], method.CDialog.virtual_0
call fcn.00537c3d
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.00537c3d
lea edx, [esp + 0x2c]
mov ecx, edi
push edx
call fcn.00537c3d
mov eax, dword [esp + 0x34]
push 0x5bb3b8
and eax, 0xff
mov ecx, ebp
mov dword [esi + 0x68], eax
call fcn.00537c3d
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 7
call fcn.00537b04
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 6
call fcn.00537b04
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x402468
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x548a1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], 0
push eax
push 0xcc
call fcn.00533a30
mov ecx, dword [0x5b5ecc]
lea edi, [esi + 0x5c]
mov dword [edi], ecx
mov edx, dword [0x5b5ecc]
lea ecx, [esi + 0x60]
mov dword [ecx], edx
mov eax, dword [0x5b5ecc]
lea ebx, [esi + 0x64]
mov dword [ebx], eax
mov edx, dword [0x5b5ecc]
lea ebp, [esi + 0x6c]
mov dword [ebp], edx
lea eax, [esp + 0x30]
mov byte [esp + 0x1c], 5
push eax
mov dword [esi], method.CDialog.virtual_0
call fcn.00537c3d
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.00537c3d
lea edx, [esp + 0x2c]
mov ecx, edi
push edx
call fcn.00537c3d
mov eax, dword [esp + 0x34]
push 0x5bb3b8
and eax, 0xff
mov ecx, ebp
mov dword [esi + 0x68], eax
call fcn.00537c3d
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 7
call fcn.00537b04
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 6
call fcn.00537b04
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x405840
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x78]
push ebx
push ebx
push 0x1009
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x98]
cmp ebx, dword [eax + 0x1c]
jge 0x4059c6
mov ecx, dword [0x5b5ecc]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0x18]
lea ebx, [ebx + ebx*8]
shl ebx, 2
mov byte [ebp - 4], 1
mov ecx, dword [edx + ebx + 4]
mov edx, dword [eax + 4]
push ecx
push edx
lea eax, [ebp - 0x18]
push 0x598050
push eax
call fcn.0053091a
mov edx, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [esi + 0x5c]
push 0
push 0
push 0
push 0
push edx
push edi
push 1
call fcn.00531c86
inc edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edi
mov ecx, 0x58
xor eax, eax
lea edi, [ebp - 0x1a8]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x98]
push 0x4411
lea edx, [ebp - 0x1a8]
push 0x160
mov ecx, dword [eax + 0x18]
push edx
push 0x80
mov eax, dword [ecx + ebx]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esi + 0x78]
mov eax, dword [ebp - 0x1a4]
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0x1006
push edx
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + ebx + 8]
test eax, eax
mov eax, 0x5bad8c
jne 0x405963
mov eax, 0x5bad88
mov eax, dword [eax]
lea ecx, [esi + 0x5c]
push eax
push 1
push edi
call fcn.00531d81
mov edx, dword [esi + 0x98]
mov eax, dword [edx + 0x18]
mov ebx, dword [eax + ebx]
push ebx
lea ebx, [esi + 0x5c]
push 2
push edi
mov ecx, ebx
call fcn.00531d81
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0
push 0
push 0
push 4
push 0
push edi
mov ecx, ebx
call fcn.00531d08
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x14], eax
mov ebx, eax
jmp 0x405881
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405ca0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5490bb
push eax
mov dword fs:[0], esp
sub esp, 0x118
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x14], edi
je 0x405db8
mov eax, dword [esi + 8]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], edi
jle 0x405db8
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ebx, ebx
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
mov eax, dword [eax + ebx + 4]
push edx
push edi
push 0xf003f
push edi
push 0x5ba440
push edi
push eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x405d4a
lea ecx, [esp + 0x20]
call fcn.00459300
push 1
push str.Cannot_open__create__registry_subkey_during_CBrowsersIntegration::Save__._r_n
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], edi
call fcn.004593e0
lea ecx, [esp + 0x20]
mov dword [esp + 0x130], 0xffffffff
call fcn.004593d0
jmp 0x405d90
mov ecx, dword [esi + 4]
xor eax, eax
mov edx, dword [ecx + ebx]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push eax
push 0x5983d0
push edx
call ebp
mov eax, dword [esi + 4]
lea edx, [esp + 0x18]
push 4
push edx
mov ecx, dword [eax + ebx + 8]
mov eax, dword [esp + 0x18]
push 4
push 0
push 0x5983cc
push eax
mov dword [esp + 0x30], ecx
call ebp
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
inc eax
add ebx, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x405ce7
mov eax, dword [esp + 0x10]
pop ebp
cmp eax, edi
pop ebx
je 0x405db8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x124
ret
Function at 0x407f20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp]
push esi
xor esi, esi
push eax
mov eax, dword [ecx + 0x14]
push 1
push esi
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407f75
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.found
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407f75
mov esi, dword [esp + 8]
mov eax, dword [esp + 4]
test eax, eax
je 0x407f84
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4