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

Disassembly:
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], ecx
jmp 0x4072e2

Function at 0x407070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x778]
mov ecx, dword [ebp - 0x3a4]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x19f4], ecx
mov edx, dword [ebp - 0x778]
mov eax, dword [ebp - 0x3a4]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x19f8], eax
mov ecx, dword [ebp - 0x778]
mov edx, dword [ebp - 0x3a4]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x19fc], edx
mov dword [ebp - 0x77c], 0
jmp 0x4070ca
mov eax, dword [ebp - 0x77c]
add eax, 1
mov dword [ebp - 0x77c], eax
mov ecx, dword [ebp - 0x778]
mov edx, dword [ebp - 0x77c]
cmp edx, dword [ecx + 0x18]
jae 0x4072d6
mov eax, dword [ebp - 0x77c]
mov ecx, dword [ebp - 0x19f4]
mov edx, dword [ebp - 0x3a4]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x780], edx
mov eax, dword [ebp - 0x77c]
mov ecx, dword [ebp - 0x19f8]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x19fc]
mov ecx, dword [ebp - 0x3a4]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x1a00], ecx
invalid
Function at 0x4076ce
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop esi
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
mov dword [ebp - 0x51c], ecx
mov edx, dword [ebp - 0x51c]
cmp edx, dword [ebp - 0xce0]
je 0x4076fe
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x4074c9
mov dword [ebp - 0x2fc], 0
Function at 0x41ee80
Capabilities:
Encode data using xor

Disassembly:
pushal
push ebp
or ebp, 0x6b
sub al, 3
add bl, byte [ebp - 0x7b]
mov edi, 0x101f206
add dh, byte [edi + 0x11]
leave
xchg dword [edx], esi
inc dword [ecx]
add dword [edx], eax
add al, byte [edx]
add ch, bl
bound eax, qword [edx + eax]
add cl, byte [ebp + 0x1f2068f]
add dword [ebx + 0x1fd0e8f], ecx
add dword [ebp + 0x52], edx
test esi, eax
push es
or ebp, 0x28
cli
add al, byte [edx]
add ebp, 0x7c
mov bl, 2
add ch, ch
add eax, 0x5d344f41
push esp
pop ecx
test esi, eax
push es
sub esp, 0x6c
dec edi
add al, byte [edx]
in eax, dx
or dword [esi], esi
dec ecx
Function at 0x4254b0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x4f776d
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
mov edi, dword [esp + 0x314]
mov eax, dword [esp + 0x310]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x44], eax
call fcn.00416450
xor ebp, ebp
mov dword [esp + 0x308], ebp
lea esi, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0041dba0
push 1
lea edx, [esp + 0x1c]
push edi
push edx
mov dword [esp + 0x24], ebp
call dword [0x4ff4f4]
mov ebx, dword [esp + 0x24]
add esp, 0xc
cmp ebx, ebp
je 0x425602
test byte [ebx + 0xc], 0x10
jne 0x42558f
mov eax, dword [ebx + 0x10]
push 1
push ebp
push ebp
push eax
call fcn.004f08d0
mov ecx, dword [ebx + 0x14]
mov edi, edx
mov esi, eax
xor edx, edx
add esi, ecx
push 0x104
push 0x104
lea ecx, [esp + 0x28]
adc edi, edx
call dword [0x4fff30]
push eax
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_StrFormatKBSizeW]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call dword [0x4ffef8]
mov ebx, dword [esp + 0x18]
lea esi, [esp + 0x24]
mov eax, ebx
call fcn.0041dc20
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
push 0x2b0
lea ecx, [esp + 0x4c]
push ebp
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], ebp
call fcn.004f0a6a
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push 0x410
push 0x2b4
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4255f4
lea edx, [esp + 0x258]
push edx
lea ecx, [esp + 0x2c]
call dword [0x4fff04]
mov eax, dword [esp + 0x18]
push eax
call dword [0x4ff4f0]
add esp, 4
mov ebx, dword [esp + 0x40]
lea ecx, [esp + 0x314]
push ecx
add ebx, 0x8a5c
call fcn.0042e2c0
mov esi, eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call dword [0x4ffefc]
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 4]
call dword [0x4ffefc]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 8]
call dword [0x4ffefc]
lea edx, [esp + 0x28]
push edx
lea ecx, [esi + 0xc]
call dword [0x4ffefc]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x1c], edx
mov dword [esp + 0x308], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.004164d0
mov eax, 1
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.004efe2a
add esp, 0x2f8
ret 8
Function at 0x4267e0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push 0xffffffffffffffff
push 0x4f16a2
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call dword [0x4fff58]
xor ebx, ebx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x18]
call dword [0x4fff58]
mov byte [esp + 0x48], 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004289e0
test eax, eax
je 0x426908
push ebx
push 0x5c
lea ecx, [esp + 0x1c]
call dword [0x4ffb80]
cmp eax, 0xffffffff
je 0x426862
mov dword [esp + 0x1c], 2
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea edx, [esp + 0x34]
push edx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call dword [0x4ff50c]
add esp, 0x10
lea ecx, [esp + 0x2c]
push ecx
call edi
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x34]
mov dword [esi + 0x8530], edx
mov eax, dword [esi + 0x8530]
imul eax, eax, 0x3e8
mov dword [esi + 0x8530], eax
mov eax, dword [esi + 0x8530]
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
cdq
push ecx
push edx
push eax
call fcn.004f09c0
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push ebx
push ebx
push 0x858
push edx
mov dword [esi + 0x8530], eax
call edi
mov eax, dword [esi + 0x20]
push ebx
push ebx
push 0x85b
push eax
mov dword [esi + 0x85e0], ebx
mov dword [esi + 0x85e8], ebx
call edi
mov byte [esp + 0x48], bl
lea ecx, [esp + 0x18]
call dword [0x4fff34]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret

Function at 0x42dfe0
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, eax
cmp dword [edi + 0x85a0], 0
jne 0x42e08a
mov eax, dword [edi + 0x85cc]
push ebx
push ebp
push esi
push eax
call dword [0x4ff500]
add esp, 4
push 0
push 0
push 4
push 0
push edi
push 0x425260
call fcn.004ef612
mov ebp, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
test esi, esi
je 0x42e04b
push 2
push 0
push 0
lea eax, [edi + 0x85a0]
push eax
call ebx
mov ecx, dword [esi + 0x2c]
push eax
push ecx
call ebx
push eax
call ebp
mov edx, dword [esi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
push 0
push 4
push 0
push edi
push 0x426480
call fcn.004ef612
mov esi, eax
test esi, esi
je 0x42e087
push 2
push 0
push 0
add edi, 0x85a4
push edi
call ebx
push eax
mov eax, dword [esi + 0x2c]
push eax
call ebx
push eax
call ebp
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x434340
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3513
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x52e028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov ebx, edx
cmp dword [ebx + 0x48], 0
jne 0x434389
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
test edi, edi
je 0x434375
mov dword [ebp - 4], 0
push 0x400
lea ecx, [ebp - 0x40]
call fcn.004ef438
mov byte [ebp - 4], 1
push 0
push 0x1000
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
call fcn.004ef420
mov byte [ebp - 4], 2
lea esi, [ebp - 0x88]
mov eax, edi
call fcn.00436a70
mov ecx, esi
call fcn.004ef42c
lea ecx, [ebp - 0x40]
call fcn.004ef43e
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x40]
call fcn.004ef444
mov esi, eax
mov edi, dword [edi]
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0x14]
push ecx
push esi
push 3
push edi
push eax
mov edx, dword [ebx + 0x48]
push edx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, eax
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x40]
call fcn.004ef432
push esi
call dword [0x4ff3c4]
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004ef426
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004ef41a
mov dword [ebp - 4], 0xffffffff
xor eax, eax
test edi, edi
sete 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
Function at 0x4359f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f73f4
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28c]
mov esi, ecx
lea ecx, [esp + 0x18]
call dword [0x4fff58]
xor ebx, ebx
mov dword [esp + 0x284], ebx
push esi
lea ecx, [esp + 0x1c]
call dword [0x4fff04]
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
je 0x435b52
push 0x505714
lea ecx, [esp + 0x1c]
call dword [0x4ffad4]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
mov edi, 0x500abc
call fcn.00407070
add esp, 8
mov byte [esp + 0x284], 1
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov byte [esp + 0x284], bl
lea ecx, [esp + 0x1c]
call dword [0x4fff34]
cmp esi, 0xffffffff
je 0x435b52
test byte [esp + 0x24], 0x10
jne 0x435b1f
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x435b1f
push 0x500ea8
push eax
call dword [0x4ff3b4]
add esp, 8
test eax, eax
jne 0x435b1f
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edi, [esp + 0x58]
call fcn.00407070
add esp, 8
mov byte [esp + 0x284], 2
mov eax, dword [eax]
lea ebx, [esp + 0x38]
mov ecx, eax
mov edi, ebp
call fcn.00432810
mov byte [esp + 0x284], 0
lea ecx, [esp + 0x20]
call dword [0x4fff34]
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435ab7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x284], 0xffffffff
lea ecx, [esp + 0x18]
call dword [0x4fff34]
mov eax, 1
jmp 0x435b69
mov dword [esp + 0x284], 0xffffffff
lea ecx, [esp + 0x18]
call dword [0x4fff34]
xor eax, eax
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004efe2a
add esp, 0x274
ret
Function at 0x436240
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f1453
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0x100
call dword [0x4fff58]
mov dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call dword [0x4fff30]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
lea edx, [esp + 0x20]
push edx
push esi
push edi
push ebp
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
call dword [0x4ffef8]
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x4362e1
cmp eax, 2
je 0x4362e1
mov esi, dword [esp + 0x34]
push 0
mov ecx, esi
call dword [0x4fff2c]
jmp 0x436327
cmp dword [esp + 0x20], 0xea
jne 0x436316
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call dword [0x4fff30]
push eax
lea edx, [esp + 0x20]
push edx
push esi
push edi
push ebp
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call dword [0x4ffef8]
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [0x4fff00]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x10]
call dword [0x4fff34]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x437f00
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
movzx ebp, word [eax]
mov ecx, 0x76c
push edi
cmp bp, cx
jae 0x437f29
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, esi
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xa]
movzx edi, word [eax + 8]
movzx ebx, word [eax + 6]
movzx eax, word [eax + 2]
push eax
movzx eax, bp
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00437e30
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
pop ebp
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, esi
pop ebx
add esp, 0x10
ret
Function at 0x441300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb908
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
push ecx
xor edi, edi
push eax
mov dword [esi], vtable.CGridLayout.0
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esi + 0x2c]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push edx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.0043b940
mov dword [esp + 0x1c], edi
lea eax, [esi + 0x44]
push eax
call fcn.0043b940
mov eax, 1
mov byte [esp + 0x1c], al
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x64], eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
lea eax, [esi + 0xac]
push eax
mov dword [esi + 0x84], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], ebx
call fcn.00403d00
mov byte [esp + 0x1c], 2
push edi
push ebx
mov ecx, esi
call fcn.00442ef0
mov eax, dword [esi + 0x5c]
call fcn.00441830
cmp ebp, edi
je 0x4413ff
mov eax, dword [ebp + 4]
mov ebp, dword [ebp]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0x14
Function at 0x4475e0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x570
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x56c], eax
push esi
test edx, edx
je 0x44764d
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447600
sub eax, esi
sar eax, 1
je 0x44764d
push 0x301
push 0x2b4
lea eax, [esp + 0x2c4]
push eax
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
neg eax
sbb eax, eax
and eax, dword [esp + 0x2bc]
pop esi
mov ecx, dword [esp + 0x56c]
xor ecx, esp
call fcn.004efe2a
add esp, 0x570
ret
lea ecx, [esp + 4]
push ecx
push 0x11
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test edi, edi
je 0x447690
mov eax, dword [esp + 4]
push 0x309
push 0x2b4
lea edx, [esp + 0x10]
push edx
push 0
push eax
call esi
test eax, eax
je 0x447690
mov ecx, dword [esp + 8]
mov dword [edi], ecx
mov eax, dword [esp + 4]
push 0x309
push 0x2b4
lea edx, [esp + 0x10]
push edx
push 0
push eax
call esi
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x570]
mov eax, esi
neg eax
sbb eax, eax
and eax, dword [esp + 8]
pop esi
xor ecx, esp
call fcn.004efe2a
add esp, 0x570
ret

Function at 0x447740
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4f2d51
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
test esi, esi
je 0x447837
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447776
sub eax, edx
sar eax, 1
je 0x447837
lea ecx, [esp + 0xc]
call dword [0x4fff58]
mov dword [esp + 0x30], 0
push esi
lea eax, [esp + 0x10]
push 0x509dc8
push eax
call dword [0x4ffacc]
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.004ef3f0
mov byte [esp + 0x30], 1
mov ecx, dword [esp + 0xc]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.004ef3fc
test eax, eax
je 0x447803
lea ecx, [esp + 0x10]
call fcn.004ef402
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [edx + 0x40]
push 0x10
lea ecx, [esp + 0x14]
call eax
test eax, eax
je 0x4477ff
lea ecx, [esp + 0x10]
call fcn.004ef40e
test eax, eax
jne 0x4477ff
inc edi
test esi, esi
jne 0x4477d3
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x10]
call fcn.004ef3f6
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call dword [0x4fff34]
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, 1
lea edx, [ecx + 0x1f]
test eax, ecx
je 0x44784a
inc edi
rol ecx, 1
sub edx, 1
jne 0x447845
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x447a20
Capabilities:
Get common file path
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x4f1143
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x2c0], eax
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
lea eax, [esp + 4]
push eax
push 0x11
mov dword [esp + 0x10], 0
push 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 4]
push 0x208
push 0x2b4
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [0x4fff2c]
mov dword [esp + 0x2d0], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.004efe2a
add esp, 0x2d0
ret

Function at 0x447af0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x4f2cd3
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x2d0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
test edx, edx
je 0x447b78
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447b40
sub eax, ebx
sar eax, 1
je 0x447b78
push 0x200
push 0x2b4
lea eax, [esp + 0x20]
push eax
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call dword [0x4fff2c]
jmp 0x447b7d
call fcn.00447a20
mov dword [esp + 0x2d8], 0
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x2d0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.004efe2a
add esp, 0x2d0
ret
Function at 0x44d400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb69d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 4], ecx
push eax
lea ecx, [esi + 0xc]
push ecx
mov dword [esi + 8], edx
call fcn.0044d4e0
xor eax, eax
mov dword [esp + 0x14], eax
mov byte [esi + 0x30], al
mov byte [esi + 0x31], al
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x458940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fc269
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
add dword [edi], 5
add dword [edi + 8], 0xfffffffb
push ebx
push esi
mov ecx, ebp
call fcn.004587a0
mov ecx, dword [ebp + 0x20]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0xc]
push eax
push ebx
push 0x105f
push ecx
mov dword [esp + 0x1c], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
and eax, 3
sub eax, 0
je 0x4589ea
sub eax, 1
je 0x4589e3
sub eax, 1
jne 0x4589ea
lea ebx, [eax + 1]
jmp 0x4589ec
mov ebx, 2
jmp 0x4589ec
xor ebx, ebx
mov eax, dword [ebp + 0x88]
test eax, eax
je 0x458a12
mov edx, dword [ebp + 0x8c]
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push 0
push ecx
push edx
push 1
call eax
add esp, 0x14
jmp 0x458a14
xor eax, eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x54]
push ecx
lea ecx, [esp + 0x54]
mov ebp, eax
call dword [0x4fff2c]
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
or ebx, 0x8024
push ebx
push edi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x50]
call dword [0x4fff34]
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push ebp
mov ecx, esi
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x38
ret 0x10