joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404889
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4048aa
jl 0x4048a1
test edi, edi
jne 0x4048aa
xor eax, eax
xor edx, edx
jmp 0x40496b
cmp dword [ebx + 0x38], 0
je 0x4048bf
push eax
push edi
push dword [ebp + 8]
call fcn.00404971
jmp 0x40496b
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x404906
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x404906
cmp eax, edi
jb 0x4048e0
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00407940
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40490c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x404960
mov ecx, ebx
call fcn.004040d8
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40494b
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040e023
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x404960
jmp 0x40491e
test edx, edx
je 0x404960
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040e023
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x407723
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407762
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407762
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407762
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407762
cmp dword [ecx + 0x74], 0xe
jbe 0x407762
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4137e1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4269b8
push 0x4269b0
push str.FlsAlloc
push 0x1e
call fcn.004136ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x413815
push dword [ebp + 8]
mov ecx, esi
call dword [0x423128]
call esi
jmp 0x41381b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41385f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4269c8
push 0x4269c0
push str.FlsGetValue
push 0x20
call fcn.004136ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x413896
push dword [ebp + 8]
mov ecx, esi
call dword [0x423128]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x416642
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004162e4

Function at 0x41664d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416473

Function at 0x416a47
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407890
mov eax, dword [0x42e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00414d76
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x416a89
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x416be5
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004219d0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47b3e8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00417c17
mov ecx, dword [esi*4 + 0x47b3e8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x416bde
cmp eax, dword [edi + ecx + 0x24]
jne 0x416bde
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x416bde
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00417c17
add esp, 0x14
test edx, edx
jl 0x416bde
jg 0x416b54
test eax, eax
jb 0x416bde
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x416bde
jl 0x416b6e
cmp dword [ebp - 0x1008], eax
ja 0x416bde
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x416b8c
test ebx, ebx
je 0x416bc5
cmp ecx, edi
jae 0x416bc5
mov al, byte [ecx]
cmp al, 0xd
jne 0x416ba6
lea eax, [edi - 1]
cmp ecx, eax
jae 0x416bb2
cmp byte [ecx + 1], 0xa
jne 0x416bb2
inc ecx
jmp 0x416bb2
movzx eax, al
movsx eax, byte [eax + 0x42e308]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x416b8c
cmp edx, ebx
jne 0x416b8c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x416be3
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040693b
leave
ret
Function at 0x4170b5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47b3e8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4170f5
cmp byte [ebx], 0xa
jne 0x4170f5
or byte [eax + edi + 0x28], 4
jmp 0x4170fa
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4171f8
mov al, byte [edx]
cmp al, 0x1a
je 0x4171da
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x417129
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41714e
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x417158
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41710b
jmp 0x4171f8
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4171d5
cmp dword [ebp - 0xc], 0
je 0x4171d5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47b3e8]
test byte [eax + edi + 0x28], 0x48
je 0x4171af
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41719a
mov byte [esi], dl
jmp 0x4171ab
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47b3e8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4171f8
cmp byte [ebp - 1], 0xa
jne 0x4171be
cmp esi, ebx
jne 0x4171be
mov byte [esi], 0xa
jmp 0x4171f7
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00417c35
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4171f8
mov byte [esi], 0xd
jmp 0x4171f7
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47b3e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4171f4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4171f8
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x417201
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47b3e8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417244
cmp word [esi], dx
jne 0x417244
or byte [edi + eax + 0x28], 4
jmp 0x417249
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41739c
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41737c
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41728b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4172c1
cmp eax, edx
jae 0x4172cd
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x417263
jmp 0x41739c
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417378
cmp dword [ebp - 0x14], 0
je 0x417378
mov eax, dword [ebx*4 + 0x47b3e8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x417350
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x417319
mov word [esi], cx
jmp 0x41734c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47b3e8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47b3e8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47b3e8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41739c
pop ebx
cmp word [ebp - 4], bx
jne 0x417361
cmp esi, dword [ebp + 0xc]
jne 0x417361
mov word [esi], bx
jmp 0x417399
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00417c35
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41739c
push 0xd
jmp 0x417395
mov ecx, dword [ebx*4 + 0x47b3e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x417393
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41739c
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x419f2e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x419f79
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041a0cd
test al, al
jne 0x419f73
sub edx, 2
cmp edx, edi
jne 0x419f59
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x419f9b
lea eax, [edi + 2]
cmp edx, eax
je 0x419f9b
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00419e7a
add esp, 0x10
jmp 0x41a095
push esi
lea ecx, [ebp - 0x255]
call fcn.0041a0cd
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x419fde
push dword [ebp - 0x25c]
jmp 0x419f8b
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41a01b
cmp word [ebp - 0x226], 0
je 0x41a03c
cmp word [ebp - 0x226], ax
jne 0x41a01b
cmp word [ebp - 0x224], 0
je 0x41a03c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00419e7a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41a088
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x419ff5
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41a070
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41a095
push 0x419caa
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041f8b0
add esp, 0x10
jmp 0x41a065
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040693b
leave
ret

Function at 0x4217d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4217fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4217fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41a9e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x65afd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x50], 0
push esi
lea esi, [ebx + 4]
push edi
jne 0x41aa05
xor edi, edi
jmp 0x41aa97
cmp dword [esi + 0x38], 0
je 0x41aa7c
cmp byte [esi + 0x3d], 0
je 0x41aa7c
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x41aa23
xor al, al
jmp 0x41aa7e
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41aa4e
sub eax, 1
je 0x41aa52
sub eax, 2
je 0x41aa7c
xor al, al
jmp 0x41aa7e
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41aa73
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005b4df5
add esp, 0x10
cmp edi, eax
je 0x41aa73
xor al, al
jmp 0x41aa7e
cmp byte [esi + 0x3d], 0
sete al
jmp 0x41aa7e
mov al, 1
push dword [esi + 0x4c]
xor edi, edi
test al, al
cmovne edi, esi
call fcn.005b500f
xor ecx, ecx
add esp, 4
test eax, eax
cmovne edi, ecx
mov byte [esi + 0x48], 0
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea ecx, [esi + 8]
mov byte [esi + 0x3d], 0
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
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 [0x665820]
mov dword [esi + 0x40], eax
mov eax, dword [0x665824]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x44], eax
mov dword [esi + 0x38], 0
test edi, edi
jne 0x41ab38
mov eax, dword [ebx]
push edi
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, ebx
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00412620
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a8a56
mov esp, ebp
pop ebp
ret
Function at 0x41dc80
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 0x41dcba
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 0x41dce0
ja 0x41dcfd
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x10]
jb 0x41dce0
rdtsc
mov ecx, eax
call fcn.005d2c20
cvtsd2ss xmm0, xmm0
mov edx, ebx
mov ecx, edi
movss dword [esp + 0x10], xmm0
call fcn.005d2c20
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
pop edi
pop esi
pop ebx
movss xmm0, dword [esp + 4]
subss xmm0, xmm1
divss xmm0, dword [0x62f818]
mov esp, ebp
pop ebp
ret
Function at 0x421500
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7531
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x65afd4]
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.00442fb0
lea eax, [edi + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 8]
call fcn.00442fb0
lea eax, [edi + 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x10]
call fcn.00442fb0
lea eax, [edi + 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x18]
call fcn.00442fb0
lea eax, [edi + 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x20]
call fcn.0045ade0
lea eax, [edi + 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x28]
call fcn.0045ade0
lea eax, [edi + 0x30]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x30]
call fcn.00442fb0
lea eax, [edi + 0x38]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x38]
call fcn.0045ade0
lea eax, [edi + 0x40]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x40]
call fcn.0045ade0
lea ecx, [esi + 0x48]
lea edx, [edi + 0x48]
mov dword [ecx], vtable.srl::Size.0
cmp ecx, edx
je 0x4215d2
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 0x4215ee
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 0x42160a
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.00453480
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 0x42e480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8888
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x65afd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 4
push eax
push 0
push str.install
push dword [edi]
call esi
test eax, eax
jne 0x42e4eb
cmp dword [ebp - 0x10], 4
jne 0x42e4f4
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
cmp eax, 0xd
jne 0x42e654
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push str.install
push dword [edi]
call esi
test eax, eax
jne 0x42e654
mov eax, dword [ebp - 0x10]
cmp eax, 1
je 0x42e529
cmp eax, 2
jne 0x42e654
mov eax, dword [ebp - 0x14]
shr eax, 1
mov dword [ebp - 0x10], eax
je 0x42e654
push ecx
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.0042f0c0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x20]
mov ecx, edi
push eax
push esi
push str.install
call fcn.0042f990
test eax, eax
jne 0x42e608
mov ecx, 0x62aff8
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e596
test dx, dx
je 0x42e592
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e596
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e570
xor ecx, ecx
jmp 0x42e59b
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
sete al
mov dword [ebx], eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42e5f4
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42e5d5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e668
push ecx
push esi
call fcn.005a8d24
add esp, 8
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 esi, esi
je 0x42e654
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42e635
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e66d
push ecx
push esi
call fcn.005a8d24
add esp, 8
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
call fcn.005b0079
call fcn.005b0079
int3
Function at 0x42fa50
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8a34
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x65afd4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x84], vtable.srl::Size.0
movlpd qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x94], vtable.srl::Size.0
movlpd qword [ebp - 0x8c], xmm0
mov dword [ebp - 0xa4], vtable.srl::Size.0
movlpd qword [ebp - 0x9c], xmm0
mov byte [ebp - 4], 3
push str.kernel32.dll
mov dword [ebp - 0x74], 0x40
mov dword [ebp - 0x34], 0x20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42fbcc
sub esp, 8
lea ecx, [ebp - 0x2b8]
call fcn.00413c70
sub esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x208]
call fcn.00413c70
sub esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call fcn.00413c70
push str.GlobalMemoryStatusEx
push esi
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42fb63
lea ecx, [ebp - 0x74]
push ecx
call eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
jmp 0x42fba0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x158]
call fcn.004138a0
lea ecx, [ebp - 0x208]
call fcn.004138a0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 3
call fcn.004138a0
mov eax, dword [0x66558c]
test eax, eax
jne 0x42fc01
push 0x78
call fcn.00462143
add esp, 4
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x42fbf6
mov ecx, eax
call fcn.0040d790
jmp 0x42fbf8
xor eax, eax
mov byte [ebp - 4], 3
mov dword [0x66558c], eax
lea esi, [eax + 0x64]
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x11597
call fcn.00418130
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
push 0x116d5
call fcn.00418130
lea eax, [ebp - 0xa4]
mov ecx, esi
push eax
push 0x116d6
call fcn.00418130
push 0x626018
push 0x11606
mov ecx, esi
call fcn.00418410
push 0x626018
push 0x11607
mov ecx, esi
call fcn.00418410
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a8a56
mov esp, ebp
pop ebp
ret