joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4399d4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x58
mov edi, dword [esp + 0x78]
test eax, eax
je 0x439b98
mov ebx, dword [eax + 0x44]
test edx, edx
je 0x439b91
mov esi, dword [edx + 0x44]
mov eax, ecx
cdq
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, edi
cdq
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x14], ecx
mov edi, dword [ebx + 0x8c]
mov dword [esp + 0x18], edi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x30], eax
lea eax, [esp + 4]
call fcn.00406570
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov byte [esi + 0xa8], 1
movsx ecx, word [ebx + 0xa2]
cmp ecx, 0x100
je 0x439b0c
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
movsx ecx, word [ebx + 0xa2]
movsx edi, word [esi + 0xa2]
mov dword [esp + 0x54], edi
cmp dword [esp + 0x4c], 0
jle 0x439b02
xor edi, edi
mov ebp, ebx
mov ebx, ecx
jmp 0x439aa1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x40]
add ecx, ecx
add ecx, ecx
add ecx, dword [esi + 0xc0]
imul edx, dword [esi + 0x88]
add edx, edx
add edx, edx
add ecx, edx
mov edx, dword [esp + 0x38]
add edx, edx
add edx, edx
add edx, dword [ebp + 0xc0]
imul eax, dword [ebp + 0x88]
add eax, eax
add eax, eax
add edx, eax
mov eax, dword [esp + 0x48]
add eax, eax
add eax, eax
push eax
push ebx
mov eax, dword [esp + 0x5c]
push eax
push edx
push ecx
call dword [0x5b85c4]
add esp, 0x14
mov edx, dword [esp + 0x44]
inc edx
mov eax, dword [esp + 0x3c]
inc eax
inc edi
cmp edi, dword [esp + 0x4c]
jl 0x439a99
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
movsx ecx, word [esi + 0xa2]
cmp dword [esp + 0x4c], 0
jle 0x439b02
xor edi, edi
mov ebp, ecx
jmp 0x439b30
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x40]
add ecx, ecx
add ecx, ecx
add ecx, dword [esi + 0xc0]
imul edx, dword [esi + 0x88]
add edx, edx
add edx, edx
add ecx, edx
mov edx, dword [esp + 0x38]
add edx, edx
add edx, edx
add edx, dword [ebx + 0xc0]
imul eax, dword [ebx + 0x88]
add eax, eax
add eax, eax
add edx, eax
mov eax, dword [esp + 0x48]
add eax, eax
add eax, eax
push eax
push ebp
push edx
push ecx
call dword [0x5b85c0]
add esp, 0x10
mov edx, dword [esp + 0x44]
inc edx
mov eax, dword [esp + 0x3c]
inc eax
inc edi
cmp edi, dword [esp + 0x4c]
jl 0x439b28
jmp 0x439b02
xor esi, esi
jmp 0x4399f5
xor ebx, ebx
jmp 0x4399ea
Function at 0x43a461
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x4c
mov ebp, eax
test ebp, ebp
je 0x43a6ae
mov ebx, dword [ebp + 0x44]
movsx ecx, cl
test ecx, ecx
je 0x43a47e
mov ebp, edx
mov edx, dword [ebp + 0x44]
mov dword [esp + 0x3c], edx
mov eax, ebp
call fcn.00410628
mov edi, dword [esp + 0x6c]
neg edi
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0x74]
neg ecx
mov esi, dword [ebx + 0x88]
mov edx, dword [esp + 0x70]
lea edx, [edx + esi - 1]
mov dword [esp + 0x44], edx
mov eax, dword [ebx + 0x8c]
mov esi, dword [esp + 0x78]
lea esi, [esi + eax - 1]
mov dword [esp + 0x38], esi
sub edx, edi
lea edi, [edx + 1]
mov dword [esp + 0x48], edi
sub esi, ecx
inc esi
test edi, edi
jle 0x43a5dd
test esi, esi
jle 0x43a5dd
lea eax, [edx*4 + 4]
cmp edi, 0x2000
jg 0x43a671
imul eax, esi
lea edx, [eax + edx*4 + 8]
push edx
mov dword [esp + 0x38], ecx
call fcn.0046ef5c
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x30], eax
mov edx, eax
test edx, edx
je 0x43a636
mov edx, esi
imul edx, dword [esp + 0x48]
add edx, edx
add edx, edx
push dword [0x59b750]
push edx
mov edi, dword [esp + 0x38]
push edi
mov dword [esp + 0x40], ecx
call dword [0x5b8568]
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x6c]
test edx, edx
jle 0x43a5fc
mov edx, dword [esp + 0x3c]
mov byte [edx + 0xa8], 1
mov edx, dword [esp + 0x30]
test edx, edx
je 0x43a5ef
mov dword [esp + 0xc], ecx
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x8c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x30]
mov edx, dword [ebx + 0xc0]
mov ecx, dword [esp + 0x40]
call fcn.0043a6c4
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
call fcn.00434218
mov eax, ebp
call fcn.00410628
xor eax, eax
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x879424
push 0x8782b0
call fcn.00409114
add esp, 8
mov eax, 0xffffffff
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x70]
test edx, edx
jg 0x43a549
mov edx, dword [esp + 0x74]
test edx, edx
jg 0x43a549
mov edx, dword [esp + 0x78]
test edx, edx
jg 0x43a549
movzx edx, byte [ebx + 0xa8]
mov edi, dword [esp + 0x3c]
mov byte [edi + 0xa8], dl
jmp 0x43a554
push esi
mov edx, edi
push edx
push 0
push 0x879400
push 0x8782b0
mov dword [esp + 0x48], ecx
call fcn.00423904
mov ecx, dword [esp + 0x48]
push 0
push 1
push 0x1965e
mov dword [esp + 0x54], ecx
call fcn.0046bfe0
mov ecx, dword [esp + 0x54]
add esp, 0x20
jmp 0x43a515
push esi
mov edx, edi
push edx
push 0x8793d8
push 0x8782b0
mov dword [esp + 0x44], ecx
call fcn.00409114
mov ecx, dword [esp + 0x44]
push 1
push 0x186aa
mov dword [esp + 0x4c], ecx
call fcn.0046c03c
mov ecx, dword [esp + 0x4c]
add esp, 0x18
xor edx, edx
mov dword [esp + 0x30], edx
jmp 0x43a515
xor ebx, ebx
jmp 0x43a475
Function at 0x43ebac
Capabilities:
Create directory

Disassembly:
sub esp, 0x214
mov edx, eax
movsx ecx, byte [edx]
test ecx, ecx
je 0x43ebf2
xor ecx, ecx
movsx eax, byte [edx]
mov dword [esp + 0x210], ebx
mov dword [esp + 0x20c], esi
mov esi, edx
mov ebx, ecx
cmp eax, 0x5c
je 0x43ebfb
mov byte [esp + ebx], al
movsx eax, byte [ebx + esi + 1]
inc ebx
test eax, eax
jne 0x43ebd2
mov ebx, dword [esp + 0x210]
mov esi, dword [esp + 0x20c]
xor eax, eax
add esp, 0x214
ret
push ebx
push esi
call fcn.00471657
add esp, 8
test eax, eax
je 0x43ec0f
movsx eax, byte [ebx + esi]
jmp 0x43ebd7
xor eax, eax
mov byte [esp + ebx], al
lea edx, [esp]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movsx eax, byte [ebx + esi]
jmp 0x43ebd7

Function at 0x440570
Capabilities:
Get file attributes

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x440586
cmp eax, 0xffffffff
je 0x440586
mov eax, 1
ret
xor eax, eax
ret
Function at 0x440848
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 1
push edx
push dword [eax]
call fcn.00470b8e
movsx eax, byte [esp + 0xc]
add esp, 0x10
ret
Function at 0x44b49c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push ebx
sub esp, 8
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
xor edx, edx
mov dword [esp], edx
mov dword [esp + 4], 1
mov byte [ebx], dl
lea eax, [esp]
push eax
push 0xf003f
push edx
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44b4df
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
ret
lea edx, [esp + 4]
lea eax, [esp + 0x24]
push eax
push ebx
push edx
push 0
push ebp
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44b506
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
ret
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
pop ebx
pop ebp
ret
Function at 0x44db4c
Capabilities:
Create directory

Disassembly:
push edi
push esi
sub esp, 0x20c
mov ecx, eax
lea esi, [esp]
mov edi, 0x660d60
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x44db5e
lea edi, [esp]
mov edx, ecx
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x44db77
lea eax, [esp]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0x20c
pop esi
pop edi
ret
Function at 0x45134c
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 8
mov dword [esp], eax
xor ecx, ecx
xor ecx, edx
cmp edx, 4
jl 0x451385
imul ebp, dword [eax], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x45135f
cmp edx, 3
je 0x451396
cmp edx, 2
je 0x45139f
cmp edx, 1
je 0x4513a8
jmp 0x4513b3
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov edx, ecx
shr edx, 0xd
xor ecx, edx
imul edx, ecx, 0x5bd1e995
mov eax, edx
shr eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x18
mov eax, dword [ecx*4 + 0x7d1c20]
mov ecx, dword [0x8727f0]
mov dword [esp + 4], ecx
cmp eax, ecx
jge 0x45142a
mov ecx, dword [0x8727f4]
mov ebx, eax
mov ebp, edx
mov esi, dword [ecx + ebx*4]
cmp ebp, dword [esi + 4]
jne 0x451421
mov edi, dword [esi]
mov esi, dword [esp]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x451418
or dl, dl
je 0x451414
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x451418
add edi, 2
add esi, 2
or dl, dl
jne 0x4513f8
xor eax, eax
jmp 0x45141d
sbb eax, eax
or eax, 1
test eax, eax
je 0x451437
inc ebx
mov esi, dword [esp + 4]
cmp ebx, esi
jl 0x4513eb
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x458760
Capabilities:
Encode data using xor

Disassembly:
push edi
push ebp
sub esp, 0x48
mov edi, edx
mov ebp, eax
mov byte [esp + 0xc], 1
lea eax, [esp + 0x10]
mov edx, edi
mov ecx, 1
call fcn.0040bcdd
test eax, eax
jne 0x458884
mov ebp, dword [ebp + 0x44]
mov eax, ebp
call fcn.0043b154
push 0x24
call fcn.00403564
pop ecx
mov edx, eax
mov dword [ebp + 0x108], edx
test edx, edx
je 0x458870
mov eax, dword [esp + 0x14]
mov dword [edx + 0x14], eax
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov ebp, dword [eax + 0xc]
mov dword [edx + 4], ebp
mov edi, dword [eax + 0x10]
mov dword [edx + 8], edi
mov ebp, dword [eax + 0x14]
mov dword [edx + 0xc], ebp
mov ebp, dword [eax + 0x18]
mov dword [edx + 0x10], ebp
lea ebp, [eax + 0x20]
mov dword [edx + 0x18], ebp
lea ebp, [ecx + ecx]
add ebp, ebp
lea ebp, [eax + ebp + 0x20]
mov dword [edx + 0x1c], ebp
lea ebp, [ecx + ecx]
add ebp, ebp
add ebp, ebp
lea ebp, [eax + ebp + 0x20]
mov dword [edx + 0x20], ebp
test ecx, ecx
jle 0x458868
xor eax, eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov ecx, dword [edx + 0x1c]
lea ebx, [eax + eax]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
jle 0x458828
xor ebp, ebp
mov esi, dword [edx + 0x14]
mov edi, dword [edx + 0x18]
add esi, dword [edi + ebx*2]
mov ecx, ebp
and ecx, 0xf
add ecx, 0x10
xor byte [esi + ebp], cl
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx + ebx*2]
inc ebp
cmp ebp, ecx
jl 0x458809
mov ebp, dword [edx + 0x20]
cmp dword [ebp + ebx*2], 0
jle 0x45885b
xor ebp, ebp
jmp 0x45883c
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx + ebx*2]
mov esi, dword [edx + 0x14]
mov edi, dword [edx + 0x18]
add esi, dword [edi + ebx*2]
add esi, ecx
mov ecx, ebp
and ecx, 0xf
add ecx, 0x10
xor byte [esi + ebp], cl
mov ecx, dword [edx + 0x20]
inc ebp
cmp ebp, dword [ecx + ebx*2]
jl 0x458836
inc eax
cmp eax, dword [edx]
jl 0x4587fa
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
xor eax, eax
add esp, 0x48
pop ebp
pop edi
ret
push 1
push 0x186aa
call fcn.0046c03c
xor eax, eax
add esp, 0x50
pop ebp
pop edi
ret
push edi
push 1
push 0x1964a
call fcn.0046bfb0
mov eax, 0xffffffff
add esp, 0x54
pop ebp
pop edi
ret
Function at 0x45a71d
Capabilities:
Enumerate files on windows

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x5c8
mov ebp, edx
mov ebx, eax
movsx ecx, cl
test ecx, ecx
je 0x45a77e
lea esi, [esp + 8]
mov edi, 0x660d60
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x45a73b
lea edi, [esp + 8]
mov edx, ebx
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x45a755
lea edi, [esp + 8]
mov edx, 0x879e94
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x45a772
jmp 0x45a7ab
lea esi, [esp + 8]
mov edi, ebx
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x45a784
lea edi, [esp + 8]
mov edx, 0x879e94
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x45a7a1
lea esi, [esp + 0x408]
mov edi, 0x879444
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x45a7b7
lea edi, [esp + 0x408]
mov edx, ebp
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x45a7d4
lea ecx, [esp + 8]
lea eax, [esp + 0x488]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x45a922
cmp byte [esp + 0x4b4], 0x2e
je 0x45a948
mov ecx, dword [esp + 0x488]
and ecx, 0x10
cmp ecx, 0x10
mov ebx, 0
sete bl
test ebx, ebx
jne 0x45a84a
movsx ecx, byte [ebp]
test ecx, ecx
je 0x45a85e
lea eax, [esp + 0x4b4]
lea edx, [esp + 0x408]
call fcn.00440adc
movsx ecx, al
test ecx, ecx
jne 0x45a85e
jmp 0x45a904
mov ecx, dword [esp + 0x5e4]
or ecx, dword [esp + 0x5e8]
je 0x45a904
lea edi, [esp + 0x4b4]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x45a877
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x45a86f
mov edi, eax
lea ecx, [edi + 2]
push ecx
call fcn.0046ef5c
mov edx, eax
mov eax, dword [0x8721f8]
mov ecx, dword [0x8721f4]
mov dword [ecx + eax*4], edx
mov edx, dword [0x8721f8]
mov eax, dword [0x8721f4]
lea ecx, [esp + 0x4b8]
push edi
push ecx
push dword [eax + edx*4]
call dword [0x5b856c]
add esp, 0x10
mov eax, dword [0x8721f8]
mov ecx, dword [0x8721f4]
mov ecx, dword [ecx + eax*4]
mov byte [edi + ecx], 0
test ebx, ebx
je 0x45a8ef
mov ebx, dword [0x8721f8]
mov ecx, dword [0x8721f4]
mov ecx, dword [ecx + ebx*4]
mov byte [edi + ecx], 0x2f
mov ebx, dword [0x8721f8]
mov ecx, dword [0x8721f4]
mov ecx, dword [ecx + ebx*4]
mov byte [edi + ecx + 1], 0
mov ecx, dword [0x8721f8]
inc ecx
mov dword [0x8721f8], ecx
cmp ecx, 0x2000
je 0x45a92f
lea ecx, [esp + 0x488]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45a7fc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
add esp, 0x5c8
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x2000
push 0x878bc4
push 0x8782b0
call fcn.00409114
add esp, 0xc
jmp 0x45a91b
movsx ecx, byte [esp + 0x4b5]
test ecx, ecx
je 0x45a904
cmp ecx, 0x2e
jne 0x45a80a
movsx ecx, byte [esp + 0x4b6]
test ecx, ecx
je 0x45a904
jmp 0x45a80a
Function at 0x45c024
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 4
push edx
push dword [eax]
call fcn.00470b8e
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x45c0e0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push esi
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
lea ecx, [esp]
push ecx
push 0xf003f
push eax
push ebx
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45c10f
mov eax, 0xffffffff
pop ecx
pop ebx
pop esi
ret
push esi
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x45c130
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
pop ecx
pop ebx
pop esi
ret
push ebx
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x45c152
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
pop ecx
pop ebx
pop esi
ret
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ecx
pop ebx
pop esi
ret

Function at 0x45c168
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
xor edx, edx
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
lea edx, [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0x18
ret

Function at 0x45c1b0
Capabilities:
Delete registry value

Disassembly:
push ebp
push esi
mov ebp, edx
mov edx, eax
xor eax, eax
mov dword [esp], eax
lea ecx, [esp]
push ecx
push 0xf003f
push eax
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45c1dd
mov eax, 0xffffffff
pop ecx
pop ebp
ret
push ebp
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x45c1fd
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
pop ecx
pop ebp
ret
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ecx
pop ebp
ret
Function at 0x45c4d8
Capabilities:
Get common file path

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x28
mov edi, ecx
mov ebp, edx
mov esi, eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov byte [esi], bl
lea ebx, [esp + 0x24]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x45c5c5
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx]
push 0x209
push ebx
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
je 0x45c5c5
lea eax, [esp + 0x20]
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x45c5ba
mov dword [esp], edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x4593e4
mov dword [esp + 0x18], ebp
lea edx, [esp]
push edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov ebp, eax
test ebp, ebp
je 0x45c58d
push ebx
push ebp
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x45c582
mov edi, ebx
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x45c578
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
push ebp
push edx
call dword [ecx + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
push dword [esp + 0x20]
push edx
call dword [ecx + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
push ebx
push edx
call dword [ecx + 0x14]
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
add esp, 0x28
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
push ebx
push edx
call dword [ecx + 0x14]
mov eax, 1
add esp, 0x28
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x45ceb0
Capabilities:
Get file attributes

Disassembly:
push esi
push ebp
push ebx
push esi
mov ebp, eax
cmp dword [0x872710], 0
je 0x45ceca
push 0x668040
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x87230c], 0
jbe 0x45ceff
xor ebx, ebx
mov edx, dword [0x872310]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x45ceef
push eax
call fcn.0046f4ee
pop ecx
mov edx, dword [0x872310]
mov dword [edx + ebx*4], 0
inc ebx
cmp ebx, dword [0x87230c]
jb 0x45ced5
mov edx, dword [0x872310]
test edx, edx
je 0x45cf10
push edx
call fcn.0046f4ee
pop ecx
xor edx, edx
mov dword [0x872310], edx
push edx
push edx
push 0xffffffffffffffff
push ebp
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov ebx, eax
mov edx, 0x10000
cmp ebx, 0x10000
jbe 0x45cf34
mov ebx, edx
mov dword [0x87230c], ebx
lea ecx, [ebx + ebx]
add ecx, ecx
push ecx
call fcn.0046ef5c
pop ecx
mov dword [0x872310], eax
test ebx, ebx
jbe 0x45cf76
xor edx, edx
mov ebx, eax
mov esi, edx
jmp 0x45cf5d
mov ebx, dword [0x872310]
push 0x209
call fcn.0046ef5c
pop ecx
mov dword [ebx + esi*4], eax
mov ebx, dword [0x87230c]
inc esi
cmp esi, ebx
jb 0x45cf57
test ebx, ebx
jbe 0x45cfd7
xor ebx, ebx
mov dword [esp], edi
mov eax, dword [0x872310]
push 0x209
push dword [eax + ebx*4]
push ebx
push ebp
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov eax, dword [0x872310]
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
cmp eax, 0x10
jne 0x45cfcb
mov eax, dword [0x872310]
mov edi, dword [eax + ebx*4]
mov edx, 0x878338
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x45cfc1
inc ebx
cmp ebx, dword [0x87230c]
jb 0x45cf7f
mov edi, dword [esp]
push ebp
call dword [sym.imp.SHELL32.dll_DragFinish]
cmp dword [0x872710], 0
je 0x45cff2
push 0x668040
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ecx
pop ebx
pop ebp
pop esi
ret
Function at 0x4645d8
Capabilities:
Read file on windows

Disassembly:
push edi
push ebx
sub esp, 0x24
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x4645f1
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x4645e9
mov ebx, eax
inc ebx
push ebx
call fcn.0046ef5c
pop ecx
mov ecx, dword [0x872560]
mov edx, dword [0x87255c]
mov dword [edx + ecx*4], eax
mov edx, dword [0x87255c]
mov ecx, dword [0x872560]
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x46474d
push ebx
push edi
push edx
call dword [0x5b856c]
add esp, 0xc
mov ebx, dword [0x872560]
mov ecx, dword [0x87255c]
lea eax, [esp + 8]
mov edx, dword [ecx + ebx*4]
call fcn.004647c0
movsx eax, byte [esp + 0x10]
test eax, eax
je 0x464728
lea eax, [esp + 0x20]
push 4
push eax
push dword [esp + 0x10]
call fcn.00470b8e
add esp, 0xc
lea eax, [esp + 8]
call fcn.0045c024
mov edi, eax
lea eax, [esp + 8]
call fcn.0045c024
mov ebx, eax
lea eax, [esp + 8]
call fcn.00464850
mov edx, dword [esp + 0x20]
cmp edx, 0x465059
jne 0x4646c6
cmp edi, 0x22b
je 0x4646a0
cmp edi, 0xea
jl 0x464703
mov edx, dword [0x872564]
add edx, ebx
mov dword [0x872564], edx
cmp edx, 0x30d40
jge 0x4646e7
mov eax, dword [0x872560]
inc eax
mov dword [0x872560], eax
cmp eax, 0x64
jge 0x4646ce
xor eax, eax
add esp, 0x24
pop ebx
pop edi
ret
push 0x64
push 1
push 0x196c2
call fcn.0046bfe0
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
push 0x30d40
push 1
push 0x196cc
call fcn.0046bfe0
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x872560]
mov eax, dword [0x87255c]
push dword [eax + edx*4]
push 1
push 0x196b8
call fcn.0046bfe0
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x872560]
mov eax, dword [0x87255c]
push dword [eax + edx*4]
push 1
push 0xdbfb0
call fcn.0046bfe0
mov eax, 0xfffffffe
add esp, 0x30
pop ebx
pop edi
ret
push 1
push 0x186aa
call fcn.0046c03c
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop edi
ret

Function at 0x46483c
Capabilities:
Read file on windows

Disassembly:
push ecx
push edx
push dword [eax]
call fcn.00470b8e
add esp, 0xc
ret