joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41848d
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push 0x240
mov eax, 0x45c582
call fcn.0043eda8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x248], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea edi, [ebp + 0xc]
call fcn.00408d39
mov ecx, dword [ebp - 0x22c]
push 0x464e5c
call fcn.0040151f
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x248], esi
call fcn.0040151f
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push ebx
push dword [ebp - 0x230]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
jne 0x4186a9
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x224], ebx
je 0x4186a9
mov dword [ebp - 0x228], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x228]
mov dword [ebp - 0x224], 0x104
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
mov dword [ebp - 0x23c], eax
jne 0x41868d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.0040151f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.004088aa
mov byte [ebp - 4], 4
lea eax, [ebp - 0x234]
push eax
push 0xf003f
push ebx
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call esi
cmp eax, ebx
jne 0x41866f
push ecx
mov ecx, esp
mov dword [ebp - 0x244], esp
push str.DisplayName
call fcn.0040151f
mov byte [ebp - 4], 5
push dword [ebp - 0x234]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x24c]
call fcn.004183f2
pop ecx
pop ecx
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x220]
call fcn.00401af1
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.004088d4
lea edi, [ebp - 0x220]
call fcn.00408d39
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0040440a
test eax, eax
jne 0x41866f
push ecx
mov ecx, esp
mov dword [ebp - 0x244], esp
push str.UninstallString
call fcn.0040151f
mov byte [ebp - 4], 7
push dword [ebp - 0x234]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x240]
call fcn.004183f2
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x22c]
push eax
call fcn.00401adc
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.004088d4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.004088d4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.004088d4
inc dword [ebp - 0x228]
cmp dword [ebp - 0x23c], ebx
mov dword [ebp - 0x224], 0x104
je 0x41853f
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.004088d4
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.004088d4
mov eax, dword [ebp - 0x22c]
call fcn.0043ee2b
ret
Function at 0x418bff
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push 0x220
mov eax, 0x45b60f
call fcn.0043eda8
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], edi
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, ebx
call fcn.004088aa
mov dword [ebp - 0x228], esi
call fcn.00418303
test al, al
je 0x418d24
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00401af1
push str.SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x224]
call fcn.0040151f
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x21c]
push eax
push 0x20119
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x21c], edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x418d04
lea ecx, [ebp - 0x220]
call fcn.00409065
cmp eax, edi
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
jne 0x418d04
push str.ProgramFilesDir
lea eax, [ebp - 0x220]
push eax
lea esi, [ebp - 0x21c]
lea edi, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x104
call fcn.004126e6
test eax, eax
jne 0x418d04
mov eax, edi
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040151f
mov byte [ebp - 4], 4
push dword [eax]
push str._ProgramFiles_
push ebx
call fcn.0040d098
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
call fcn.004088d4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.00409065
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.004088d4
xor edi, edi
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
je 0x418d36
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x418d58
mov esi, dword [ebp + 8]
mov eax, 0x3fff
push eax
push eax
mov ecx, ebx
call fcn.0040d2b4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004053df
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004088d4
mov eax, ebx
call fcn.0043ee2b
ret
Function at 0x4194ea
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x64
mov eax, 0x45cfc6
call fcn.0043ed3f
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x41950d
mov eax, 0x80070057
jmp 0x419645
lea eax, [ebp - 0x14]
push eax
call fcn.00418eb4
pop ecx
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
cmp eax, ebx
mov byte [ebp - 0xd], bl
jne 0x41954d
lea edi, [ebp - 0x1c]
mov byte [ebp - 0xd], 1
call fcn.004193b6
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00401af1
mov byte [ebp - 4], bl
mov ecx, edi
call fcn.004088d4
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], ebx
je 0x419614
movzx ecx, byte [ebp - 0xd]
mov eax, dword [esi]
push ecx
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00419460
mov byte [ebp - 4], 2
push 0x40
lea eax, [ebp - 0x6c]
push ebx
push eax
mov dword [ebp - 0x70], 0x44
call fcn.0043ee50
add esp, 0x1c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x44], 1
mov word [ebp - 0x40], 3
call fcn.004088aa
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00417fe9
pop ecx
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040d1e2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4195e0
xor esi, esi
jmp 0x4195eb
call fcn.00403116
mov esi, eax
cmp esi, ebx
jl 0x4195fb
push dword [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x2c]
call edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004088d4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.004088d4
jmp 0x419637
mov esi, dword [esi]
push 3
push ebx
push ebx
push esi
push 0x468808
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x419630
xor esi, esi
jmp 0x419637
call fcn.0040907c
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004088d4
mov eax, esi
call fcn.0043ee17
ret
Function at 0x41aee6
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41af02
and dword [esi], eax
and dword [esi + 4], eax
jmp 0x41af78
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
push eax
mov dword [ebp - 8], eax
call fcn.004299ce
xor ebx, ebx
cmp eax, ebx
pop ecx
mov dword [ebp - 0xc], eax
jne 0x41af25
mov dword [esi], ebx
jmp 0x41af75
push eax
push dword [ebp - 8]
xor edi, edi
push dword [ebp - 0x10]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41af6a
and dword [ebp - 8], ebx
and dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x465398
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 4], 0x34
jb 0x41af6a
mov eax, dword [ebp - 8]
test eax, eax
je 0x41af6a
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov ebx, ecx
push dword [ebp - 0xc]
call fcn.004299c9
pop ecx
mov dword [esi], edi
mov dword [esi + 4], ebx
pop edi
mov eax, esi
pop ebx
leave
ret

Function at 0x41b6c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x38], 0
mov dl, byte [eax + 0x34]
push ebx
push esi
mov dword [ebp - 4], 0
mov ebx, 1
jle 0x41b70b
movzx esi, dl
push edi
nop
mov ecx, dword [eax + 0x260]
mov edi, ecx
shr edi, 0x18
shl ecx, 8
xor edi, esi
xor ecx, dword [edi*4 + 0x47bec0]
mov dword [eax + 0x260], ecx
mov ecx, dword [ebp - 4]
add ecx, ebx
cmp ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
jl 0x41b6e0
pop edi
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x41b799
sub ecx, ebx
je 0x41b77b
sub ecx, ebx
je 0x41b76f
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cbb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov ebx, eax
je 0x41cbc4
mov dword [edi], 0
test esi, esi
je 0x41cd19
cmp dword [ebp + 0xc], 0
mov dword [esi + 0x13c4], 0
je 0x41cd19
test ebx, ebx
jl 0x41cd19
cmp byte [esi + 0x1390], 0
jne 0x41cc0b
test edi, edi
je 0x41cbfb
mov dword [edi], 0xffffffff
pop edi
mov dword [esi + 0x13c4], 0xffffffff
pop ebx
pop ebp
ret 8
mov eax, dword [esi]
push eax
call fcn.0043e4a0
add esp, 4
test eax, eax
je 0x41cc34
test edi, edi
je 0x41cc24
mov dword [edi], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop ebx
pop ebp
ret 8
test ebx, ebx
jne 0x41cc52
test edi, edi
je 0x41cc42
mov dword [edi], 0
pop edi
mov dword [esi + 0x13c4], 0
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x1398], ebx
lea eax, [esi + 0x1394]
lea ebx, [esi + 4]
xor edx, edx
mov dword [eax], ecx
mov dword [esi + 0x13a8], 0x1388
mov dword [esi + 0x13a4], ebx
call fcn.0041bb10
cmp eax, 1
jne 0x41ccea
mov eax, dword [esi + 0x13a8]
cmp eax, 0x1388
jae 0x41ccbb
mov edx, dword [esi]
push edx
mov edi, 0x1388
sub edi, eax
push edi
push 1
push ebx
call fcn.0043cdd3
add esp, 0x10
cmp edi, eax
jne 0x41ccfc
mov eax, dword [esi]
push eax
call fcn.0043e4a0
add esp, 4
test eax, eax
jne 0x41ccfc
mov edi, dword [ebp + 8]
cmp dword [esi + 0x1398], 0
je 0x41cc38
mov dword [esi + 0x13a8], 0x1388
xor edx, edx
lea eax, [esi + 0x1394]
mov dword [esi + 0x13a4], ebx
call fcn.0041bb10
cmp eax, 1
je 0x41cc82
test edi, edi
je 0x41ccf0
mov dword [edi], eax
pop edi
mov dword [esi + 0x13c4], eax
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x41cd09
mov dword [eax], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop ebx
pop ebp
ret 8
test edi, edi
je 0x41cd23
mov dword [edi], 0xfffffffe
test esi, esi
je 0x41cd31
mov dword [esi + 0x13c4], 0xfffffffe
pop edi
pop ebx
pop ebp
ret 8
Function at 0x41cd50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
test edi, edi
jne 0x41cd68
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ceac
mov dword [eax], edi
pop ebp
ret 4
cmp byte [edi + 0x1390], 0
jne 0x41cd8c
mov eax, dword [ebp + 8]
test eax, eax
je 0x41cd7e
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop ebp
ret 4
mov eax, dword [edi]
push eax
call fcn.0043e4a0
add esp, 4
test eax, eax
je 0x41cdb6
mov eax, dword [ebp + 8]
test eax, eax
je 0x41cda8
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop ebp
ret 4
cmp dword [edi + 0x13c4], 0
push ebx
push esi
jne 0x41ce27
lea eax, [edi + 4]
mov dword [edi + 0x13a4], eax
mov esi, 0x1388
mov edx, 2
lea eax, [edi + 0x1394]
mov dword [edi + 0x13a8], esi
call fcn.0041bb10
mov ebx, eax
cmp ebx, 3
je 0x41cdf1
cmp ebx, 4
jne 0x41ce6a
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x41ce22
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
lea eax, [edi + 4]
push 1
push eax
call fcn.0043cdd3
add esp, 0x10
cmp esi, eax
jne 0x41ce4d
mov edx, dword [edi]
push edx
call fcn.0043e4a0
add esp, 4
test eax, eax
jne 0x41ce4d
cmp ebx, 4
jne 0x41cdc1
mov eax, dword [edi]
push eax
call fcn.0043e4a0
add esp, 4
test eax, eax
jne 0x41ce7f
mov ecx, dword [edi]
push ecx
call fcn.0043dc1a
mov edx, dword [edi]
push edx
call fcn.0043e4a0
add esp, 8
test eax, eax
je 0x41ce7f
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ce5a
mov dword [eax], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
pop ebx
pop ebp
ret 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ce73
mov dword [eax], ebx
pop esi
mov dword [edi + 0x13c4], ebx
pop ebx
pop ebp
ret 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ce8c
mov dword [eax], 0
lea esi, [edi + 0x1394]
mov dword [edi + 0x13c4], 0
call fcn.0041bbf0
push edi
call fcn.0043b47d
add esp, 4
pop esi
pop ebx
pop ebp
ret 4
Function at 0x41d000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
cmp ebx, edx
je 0x41d00f
mov dword [ebx], edx
cmp edi, edx
je 0x41d1dd
cmp eax, edx
mov dword [edi + 0x13c4], edx
je 0x41d1dd
mov ecx, dword [ebp + 0xc]
cmp ecx, edx
jl 0x41d1dd
cmp byte [edi + 0x1390], dl
je 0x41d053
cmp ebx, edx
je 0x41d042
mov dword [ebx], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
xor eax, eax
pop ebx
pop ebp
ret 8
cmp ecx, edx
jne 0x41d06a
cmp ebx, edx
je 0x41d05d
mov dword [ebx], edx
mov dword [edi + 0x13c4], edx
xor eax, eax
pop ebx
pop ebp
ret 8
mov dword [edi + 0x13a4], eax
mov eax, dword [edi]
push esi
push eax
mov dword [edi + 0x13a8], ecx
call fcn.0043e4a0
add esp, 4
test eax, eax
jne 0x41d131
lea ebx, [ebx]
cmp dword [edi + 0x1398], 0
jne 0x41d0e1
mov esi, dword [edi]
call fcn.0041caa0
test al, al
jne 0x41d0e1
mov ecx, dword [edi]
push ecx
push 0x1388
lea esi, [edi + 4]
push 1
push esi
call fcn.0043e307
mov edx, dword [edi]
push edx
mov ebx, eax
call fcn.0043e4a0
add esp, 0x14
test eax, eax
jne 0x41d171
mov dword [edi + 0x138c], ebx
mov dword [edi + 0x1398], ebx
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1394], esi
lea eax, [edi + 0x1394]
call fcn.0041c8c0
test eax, eax
jne 0x41d14d
mov esi, dword [edi]
call fcn.0041caa0
test al, al
je 0x41d111
cmp dword [edi + 0x1398], 0
jne 0x41d111
cmp dword [edi + 0x13a8], 0
ja 0x41d1a4
cmp dword [edi + 0x13a8], 0
je 0x41d1c0
mov eax, dword [edi]
push eax
call fcn.0043e4a0
add esp, 4
test eax, eax
je 0x41d090
test ebx, ebx
je 0x41d13b
mov dword [ebx], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
xor eax, eax
pop ebx
pop ebp
ret 8
cmp eax, 4
jne 0x41d190
test ebx, ebx
je 0x41d158
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [edi + 0x13a8]
pop esi
mov dword [edi + 0x13c4], 4
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d13b
mov dword [eax], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
xor eax, eax
pop ebx
pop ebp
ret 8
test ebx, ebx
je 0x41d196
mov dword [ebx], eax
pop esi
mov dword [edi + 0x13c4], eax
xor eax, eax
pop ebx
pop ebp
ret 8
test ebx, ebx
je 0x41d1ae
mov dword [ebx], 0xfffffff9
pop esi
mov dword [edi + 0x13c4], 0xfffffff9
xor eax, eax
pop ebx
pop ebp
ret 8
test ebx, ebx
je 0x41d1ca
mov dword [ebx], 0
mov eax, dword [ebp + 0xc]
pop esi
mov dword [edi + 0x13c4], 0
pop ebx
pop ebp
ret 8
cmp ebx, edx
je 0x41d1e7
mov dword [ebx], 0xfffffffe
cmp edi, edx
je 0x41d1f5
mov dword [edi + 0x13c4], 0xfffffffe
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x4234a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x44]
cmp ebx, 0x2710
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x24]
push edi
mov edi, dword [esi + 0x268]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], edi
jge 0x4234e2
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edi
push ebx
push edx
push eax
mov eax, ecx
jmp 0x4235b0
lea ecx, [ebx + 0x22]
test cl, 1
je 0x4234ed
add ecx, 1
add ecx, edx
cmp eax, 1
mov dword [ebp - 8], ecx
jge 0x4234fe
mov eax, 1
jmp 0x423508
cmp eax, 0x64
jle 0x423508
mov eax, 0x64
lea ecx, [eax - 1]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 8]
mov eax, ecx
imul eax, ebx
push edi
mov edi, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
push edx
mov edx, dword [esi + 0x24]
push eax
lea ecx, [ebp - 4]
call fcn.00422cd0
mov edi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, 3
jl 0x423582
test ebx, ebx
mov dword [ebp - 8], 1
je 0x423555
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 4]
sub esp, 8
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fidiv dword [ebp - 8]
fstp qword [esp]
push ebx
push eax
push str._______d_work___d_block__ratio__5.2f_n
call fcn.0043e4cf
add eax, 0x40
push eax
call fcn.0043e322
add esp, 0x18
cmp dword [ebp - 4], 0
jge 0x4235b8
cmp edi, 2
jl 0x4235a3
push str.____too_repetitive__using_fallback_sorting_algorithm_n
call fcn.0043e4cf
add eax, 0x40
push eax
call fcn.0043e322
add esp, 8
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [ebp - 0xc]
push edi
push ebx
push ecx
push edx
call fcn.00421f60
add esp, 0x10
or ecx, 0xffffffff
xor eax, eax
cmp dword [esi + 0x44], eax
mov dword [esi + 0x1c], ecx
jle 0x4235db
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax*4], 0
je 0x4235d8
add eax, 1
cmp eax, dword [esi + 0x44]
jl 0x4235c5
jmp 0x4235db
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], ecx
jne 0x4235ea
mov esi, 0x3eb
jmp 0x41b430
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423ea0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
cmp byte [eax + 0x29], 0
je 0x423eba
mov eax, 1
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
xor edi, edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call ebx
cmp eax, edi
jne 0x423ef2
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], ecx
cmp eax, edi
push esi
mov esi, eax
jne 0x424012
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.InstallerData
push ecx
mov dword [ebp - 0xc], edi
call ebx
test eax, eax
jne 0x423f27
mov edi, dword [ebp - 0xc]
test eax, eax
mov esi, eax
jne 0x424007
lea edx, [ebp + 0xc]
push edx
call fcn.00409209
push 0x7fff
lea eax, [ebp + 0xc]
push eax
call fcn.004091d1
test al, al
jne 0x423f7a
lea ecx, [ebp + 0xc]
push ecx
call fcn.0040281a
test edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x423f62
push edi
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x423f6c
push eax
call esi
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
cmp byte [edx + 0x28], 0
jne 0x423fec
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x10], 0x7fff
mov ecx, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push ecx
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x423fec
mov edx, dword [ebp + 0xc]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x423f90
call fcn.0040907c
mov esi, eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040281a
test edi, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x423fd7
push edi
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x424029
push eax
call ebx
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
call fcn.00424990
test eax, eax
jne 0x424037
lea ecx, [ebp + 0xc]
push ecx
call fcn.0040281a
test edi, edi
je 0x424012
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.0040907c
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x424029
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push ecx
mov ebx, eax
call fcn.00424b10
cmp dword [ebx + 0xc], 0
mov dword [ebp + 8], eax
je 0x424073
mov esi, dword [ebx + 4]
test esi, esi
mov ebx, dword [ebx]
je 0x42407b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x424085
cmp dword [ebp + 8], 0
jne 0x424034
jmp 0x423ffe
push 0x80004005
call fcn.004017d6
mov eax, esi
jmp 0x423fba
Function at 0x4253a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
push 0
push eax
push ecx
push 2
push 0
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
jne 0x4253da
call fcn.00403116
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
push 0
push ecx
mov dword [esi + 0x10], 0
mov edx, dword [esi + 0x10]
push edx
mov dword [esi + 4], ecx
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
push ecx
push 4
push eax
mov dword [esi + 0x18], 4
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
mov dword [esi], eax
jne 0x42542e
call fcn.00403116
mov edx, dword [esi + 8]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x425a80
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a918
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x47a030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x64], ebx
jne 0x425b47
mov esi, 1
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.00425840
cmp dword [eax + 0x10], ebx
je 0x425afc
cmp dword [eax + 4], ebx
je 0x425ae3
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], ebx
jmp 0x425afc
cmp dword [eax + 8], ebx
je 0x425afc
mov esi, 3
mov dword [ebp - 0x14], esi
mov edi, dword [eax + 8]
mov dword [ebp - 0x18], edi
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
push 0
push ebx
push edi
push esi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
test eax, eax
jne 0x425b36
call fcn.00403116
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
mov byte [ebp - 4], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4