joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e32f
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x424188
call fcn.00416db0
xor esi, esi
cmp dword [0x4287e8], esi
jne 0x41e373
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41e35e
mov dword [0x4287e8], edi
jmp 0x41e373
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x41e373
mov dword [0x4287e8], 2
mov eax, dword [0x4287e8]
cmp eax, 2
je 0x41e454
cmp eax, esi
je 0x41e454
cmp eax, 1
jne 0x41e3b8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x41e3a1
mov eax, dword [0x42872c]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x41e3bf
xor eax, eax
jmp 0x41e466
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.004149d0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x41e3f5
cmp edi, esi
jne 0x41e410
lea eax, [ebx + ebx]
push eax
call fcn.004133e5
pop ecx
mov edi, eax
cmp edi, esi
je 0x41e3b8
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41e443
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x41e42d
push esi
push esi
jmp 0x41e433
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x41e44f
push edi
call fcn.00412c27
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x41e466
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.00416deb
ret
Function at 0x41e7e7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x429804]
push edi
jae 0x41e9be
mov eax, esi
sar eax, 5
lea edi, [eax*4 + 0x429820]
mov eax, dword [edi]
and esi, 0x1f
shl esi, 3
add eax, esi
mov dl, byte [eax + 4]
test dl, 1
je 0x41e9be
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
je 0x41e892
test dl, 2
jne 0x41e892
test dl, 0x48
je 0x41e85c
cmp byte [eax + 5], 0xa
je 0x41e85c
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea ecx, [ebx + 1]
mov dword [ebp - 0xc], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41e8a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
cmp eax, ecx
jne 0x41e88d
mov dword [0x428438], ecx
jmp 0x41e9c5
cmp eax, 0x6d
jne 0x41e899
xor eax, eax
jmp 0x41e9d2
push eax
call fcn.0041a14e
pop ecx
jmp 0x41e9cf
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi]
add dword [ebp - 0xc], eax
test byte [ecx + esi + 4], 0x80
je 0x41e9b9
test eax, eax
je 0x41e8cc
cmp byte [ebx], 0xa
jne 0x41e8cc
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x41e8d5
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jae 0x41e9b3
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x1a
je 0x41e9a3
cmp al, 0xd
je 0x41e907
mov byte [ebx], al
inc ebx
inc dword [ebp - 8]
jmp 0x41e995
dec ecx
cmp dword [ebp - 8], ecx
jae 0x41e921
mov eax, dword [ebp - 8]
inc eax
cmp byte [eax], 0xa
jne 0x41e91c
add dword [ebp - 8], 2
jmp 0x41e975
mov dword [ebp - 8], eax
jmp 0x41e991
inc dword [ebp - 8]
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41e949
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41e991
cmp dword [ebp - 0x10], 0
je 0x41e991
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x41e96a
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x41e975
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x41e994
cmp ebx, dword [ebp + 0xc]
jne 0x41e97a
cmp byte [ebp - 1], 0xa
jne 0x41e97a
mov byte [ebx], 0xa
jmp 0x41e994
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041e5e2
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41e995
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], ecx
jb 0x41e8eb
jmp 0x41e9b3
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x41e9b3
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
jmp 0x41e9d2
and dword [0x428438], 0
mov dword [0x428434], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41fbc6
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x41fbdf
or eax, 0xffffffff
jmp 0x41fc40
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x41fc3c
push 0x3d
push esi
call fcn.0041366a
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x41fc3c
cmp esi, eax
je 0x41fc3c
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x428460]
sete cl
cmp eax, dword [0x428464]
mov dword [ebp - 4], ecx
jne 0x41fc22
mov edi, eax
call fcn.0041fb65
mov dword [0x428460], eax
cmp eax, ebx
jne 0x41fc7b
cmp dword [ebp + 0xc], ebx
je 0x41fc44
cmp dword [0x428468], ebx
je 0x41fc44
call fcn.0041f30c
test eax, eax
je 0x41fc7b
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x41fc4d
xor eax, eax
jmp 0x41fc3f
push 4
call fcn.004133e5
cmp eax, ebx
pop ecx
mov dword [0x428460], eax
je 0x41fc3c
mov dword [eax], ebx
cmp dword [0x428468], ebx
jne 0x41fc7b
push 4
call fcn.004133e5
cmp eax, ebx
pop ecx
mov dword [0x428468], eax
je 0x41fc3c
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x428460]
sub edi, esi
push esi
call fcn.0041fb18
mov edi, eax
test edi, edi
pop ecx
jl 0x41fce2
cmp dword [ebx], 0
je 0x41fce2
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.00412c27
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x41fcc2
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x41fd23
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x41fcb9
mov eax, edi
shl eax, 2
push eax
push dword [0x428460]
call fcn.00416dfc
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x41fd23
jmp 0x41fd1e
cmp dword [ebp - 4], 0
jne 0x41fd8a
test edi, edi
jge 0x41fcf2
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x428460]
call fcn.00416dfc
test eax, eax
pop ecx
pop ecx
je 0x41fc3c
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x428460], eax
cmp dword [ebp + 0xc], 0
je 0x41fd75
push esi
call fcn.00415bf0
inc eax
inc eax
push eax
call fcn.004133e5
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x41fd75
push esi
push edi
call fcn.00419630
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x41fd6e
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.00412c27
pop ecx
cmp dword [ebp - 4], 0
je 0x41fd82
push esi
call fcn.00412c27
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x41fc3f
push esi
call fcn.00412c27
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x41fc49
Function at 0x4022c2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x14], 1
jne 0x4022e1
mov dword [ebp + 0x14], 0
jmp 0x4022fe
cmp dword [ebp + 0x14], 2
jne 0x4022f7
mov dword [ebp + 0x14], 7
jmp 0x4022fe
mov dword [ebp + 0x14], 1
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push 0x405229
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x2098340
push 0
xor eax, eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
cmp dword [ebp - 4], esp
je 0x402343
push 0xff
push 0x4012dcd
push 6
call fcn.004023d4
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jne 0x40235f
mov eax, 0
jmp 0x402369
mov eax, 1
jmp 0x402369
mov esp, ebp
pop ebp
ret 0x14

Function at 0x402bd0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x402c62
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x402c54
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x402c4c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x402c15
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x4031b0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret
Function at 0x56d960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12b000]
push edi
jmp 0x56d97a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56d981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d970
mov eax, 1
add ebx, ebx
jne 0x56d993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56d9a4
jne 0x56d9c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d9c3
dec eax
add ebx, ebx
jne 0x56d9b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56d988
add ebx, ebx
jne 0x56d9bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56da15
xor ecx, ecx
sub eax, 3
jb 0x56d9db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56da4a
sar eax, 1
mov ebp, eax
jmp 0x56d9e6
add ebx, ebx
jne 0x56d9e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d9b4
inc ecx
add ebx, ebx
jne 0x56d9f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d9b4
add ebx, ebx
jne 0x56da01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56d9f6
jne 0x56da12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56d9f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56da34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56da26
jmp 0x56d976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56da34
add edi, ecx
jmp 0x56d976
pop esi
mov edi, esi
mov ecx, 0x135c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56da52
cmp byte [edi], 0x11
jne 0x56da52
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 al, bl
loop 0x56da57
lea edi, [esi + 0x168000]
mov eax, dword [edi]
or eax, eax
je 0x56dacf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19350c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x193674]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56da84
mov ecx, edi
jns 0x56dab3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x193678]
or eax, eax
je 0x56dac9
mov dword [ebx], eax
add ebx, 4
jmp 0x56daa1
call dword [esi + 0x193688]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x56db00
cmp al, 0xef
ja 0x56daf3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x56dad5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x56dae2
mov ebp, dword [esi + 0x19367c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x56db34
sub esp, 0xffffff80
jmp 0x41a6d7
Function at 0x404350
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov byte [ebp - 1], 0
push ebx
lea ecx, [eax + 0x210]
mov dword [ebp - 0x10], eax
push esi
mov esi, dword [ecx]
push edi
mov dword [ebp - 0x14], ecx
cmp esi, dword [eax + 0x214]
je 0x40444f
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add ecx, 0xa8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edi
push ecx
call ebx
push 0x6097d0
call ebx
sub edi, 0xffffff80
push edi
call ebx
push 0x6097d0
call ebx
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x28]
push eax
call ebx
push 0x6097d0
call ebx
push dword [ebp - 8]
call ebx
push 0x6097d0
call ebx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x4043e7
test cl, cl
je 0x4043e3
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x4043e7
add eax, 2
add edi, 2
test cl, cl
jne 0x4043c7
xor eax, eax
jmp 0x4043ec
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 8]
test eax, eax
jne 0x404429
mov edx, dword [ebp + 8]
mov ecx, edi
lea eax, [edx + 0x28]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x404420
test dl, dl
je 0x40441c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x404420
add eax, 2
add ecx, 2
test dl, dl
jne 0x404400
xor eax, eax
jmp 0x404425
sbb eax, eax
or eax, 1
test eax, eax
je 0x40444b
mov eax, dword [ebp - 0x10]
add esi, 0x1b0
add edi, 0x1b0
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x40444f
mov ecx, dword [ebp - 0xc]
jmp 0x404391
mov byte [ebp - 1], 1
call fcn.0048c270
test al, al
je 0x404472
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
call fcn.0048c0b0
test al, al
je 0x40448c
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.0048bbe0
test al, al
je 0x4044a7
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
cmp byte [ebp - 1], 0
jne 0x4044df
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0xa8]
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4044c0
sub edx, esi
je 0x4044df
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004054d0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4053e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x11c], edi
mov eax, dword [edi + 0x210]
mov dword [edi + 0x214], eax
call fcn.0048bbe0
test al, al
je 0x405438
push edi
pop ecx
push esi
push ebx
push edi
push ebp
push ebp
push esp
pop eax
pop edi
pop ecx
pop ebp
pop ecx
pop esp
push esi
pop eax
pop ebp
push ebp
push ebp
push eax
pop edi
push edx
push eax
push eax
pop ebp
push ebx
pop edx
push ebp
pop esi
mov edi, dword [ebp - 0x11c]
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.005d4960
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x405477
mov ecx, edi
call fcn.00404a10
jmp 0x405493
xor esi, esi
nop dword [eax]
test ebx, ebx
jne 0x405493
mov ecx, edi
call fcn.004048b0
inc esi
mov ebx, eax
cmp esi, 0xa
jl 0x405480
mov ecx, dword [edi + 0x214]
mov eax, 0x4bda12f7
sub ecx, dword [edi + 0x210]
imul ecx
mov ecx, dword [ebp - 4]
sar edx, 7
xor ecx, ebp
pop edi
mov eax, edx
shr eax, 0x1f
pop esi
add eax, edx
pop ebx
call fcn.005caa5c
mov esp, ebp
pop ebp
ret
Function at 0x4079f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov byte [esi + 0x89], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x407a34
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00409d30
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x407a50
Capabilities:
Hash data with md5

Disassembly:
mov byte [ecx + 0x89], 0
mov eax, ecx
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x409e70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.0048bd30
test al, al
je 0x409e98
pop esi
pop ecx
pop edi
push ebx
pop ecx
push edi
push eax
pop edi
push ebp
push edi
push eax
pop eax
push esp
push edx
push ebx
pop eax
pop edi
push ebp
pop ebp
push ecx
pop edx
call fcn.0048c430
test al, al
je 0x409eb4
push esp
pop esp
push edi
pop ecx
pop ebp
push esp
push esp
pop eax
push esi
push esi
push ebp
pop esp
pop ebx
pop ebx
push edi
pop esp
push esp
pop edi
push edx
call fcn.0048bf60
test al, al
je 0x409edb
push edx
push edi
pop eax
pop esp
push edi
pop ebx
pop esi
pop ebp
push esi
pop edi
push esp
push ecx
pop eax
push eax
push ecx
push ebp
push ecx
push ebp
pop esp
push esp
pop edx
pop esp
pop ebp
pop eax
pop esp
pop ebx
pop esi
push edi
push edi
pop ebp
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
pop edi
sete cl
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a370
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x18], ax
xorps xmm0, xmm0
mov word [ebp - 6], ax
lea eax, [ebp - 0x284]
push eax
mov dword [ebp - 0x6a4], 0
movups xmmword [ebp - 0x16], xmm0
call fcn.005d4960
add esp, 0xc
lea eax, [ebp - 0x284]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 3
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005dde6f
push 0x208
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.005d4960
push 0x208
lea eax, [ebp - 0x48c]
push 0
push eax
call fcn.005d4960
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], 0
push 0
push eax
mov dword [ebp - 0x6a0], 0
mov dword [ebp - 0x69c], 0
call fcn.005d4960
add esp, 0x30
lea eax, [ebp - 0x48c]
push 0x104
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push 0x104
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x40a481
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.004056a0
add esp, 0xc
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x7c], 0
jne 0x40a49c
xor eax, eax
jmp 0x40a4ab
lea eax, [ebp - 0x7c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a4a2
sub eax, edx
push eax
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00408c90
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005caa5c
mov esp, ebp
pop ebp
ret 4
Function at 0x40b620
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
mov eax, dword [0x69def4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.00407550
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.004075c0
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x40b6a0
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b71d
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf013f
jmp 0x40b6c7
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b71d
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x609b1c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40b6ea
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40b71d
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x38]
call fcn.004075a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40bf80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x69def4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x104
call fcn.00407550
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.004075c0
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x40c003
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c074
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf013f
jmp 0x40c02a
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c074
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x609b1c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40c04d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40c074
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.004075a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8