joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468bd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x468bfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x468bfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x402590
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
call dword [0x414db8]
mov esi, eax
test esi, esi
jne 0x4025aa
push 1
call dword [0x414dcc]
add esp, 4
mov al, byte [0x41460e]
test al, al
jne 0x40260e
push 0xbd00
push 0xe0
push 2
call dword [0x414dc4]
push 0xbd01
push 0x1f
push 3
call dword [0x414dc4]
lea eax, [esp + 0x22]
push eax
push 2
push 0xbd00
call dword [0x414dc0]
add esp, 0x24
lea eax, [esp + 0xa]
mov ecx, 2
mov dl, byte [eax]
xor dl, 0xfc
mov byte [eax], dl
inc eax
dec ecx
jne 0x4025f2
mov ax, word [esp + 0xa]
mov bl, ah
shl bl, 3
shr al, 5
or bl, al
jmp 0x402612
mov bl, byte [esp + 0xa]
test esi, esi
jne 0x402620
push esi
call dword [0x414dcc]
add esp, 4
mov al, bl
pop esi
pop ebx
pop ecx
ret

Function at 0x402c00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push edi
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xe0], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x44], eax
mov al, byte [esp + 0x24]
mov dword [esi + 0x48], ecx
xor cl, cl
test al, al
mov dword [esi + 0x40], edx
mov byte [esi + 0x4c], al
mov byte [esp + 0xc], cl
jbe 0x402c64
mov eax, dword [esp + 0xc]
and eax, 0xff
inc cl
mov byte [esp + 0xc], cl
mov edx, dword [esp + eax*8 + 0x28]
mov dword [esi + eax*8 + 0x50], edx
mov edx, dword [esp + eax*8 + 0x2c]
mov dword [esi + eax*8 + 0x54], edx
mov al, byte [esi + 0x4c]
cmp cl, al
jb 0x402c3e
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x14]
inc eax
cmp ecx, eax
jae 0x402c78
mov dword [esi + 0x104], ecx
jmp 0x402c7e
mov dword [esi + 0x104], eax
mov edi, dword [esi + 0x104]
mov ecx, dword [esi + 0x11c]
mov eax, edi
xor edx, edx
div ecx
mov dword [esi + 0x108], edi
test edx, edx
je 0x402caa
mov eax, edi
xor edx, edx
div ecx
inc eax
imul eax, ecx
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x44]
xor edx, edx
div ecx
imul eax, ecx
cmp dword [esi + 0xd4], eax
jae 0x402cc2
mov dword [esi + 0xd4], eax
mov eax, dword [esi + 0x104]
mov edi, 1
cmp eax, 0x100000
mov dword [esi + 0x10c], edi
ja 0x402ce2
mov dword [esi + 0xd8], edi
jmp 0x402d4b
cmp eax, 0x200000
ja 0x402cf5
mov dword [esi + 0xd8], 2
jmp 0x402d4b
cmp eax, 0x400000
ja 0x402d08
mov dword [esi + 0xd8], 4
jmp 0x402d4b
cmp eax, 0x800000
ja 0x402d1b
mov dword [esi + 0xd8], 8
jmp 0x402d4b
cmp eax, 0x1000000
ja 0x402d2e
mov dword [esi + 0xd8], 0x10
jmp 0x402d4b
cmp eax, 0x2000000
ja 0x402d41
mov dword [esi + 0xd8], 0x20
jmp 0x402d4b
mov dword [esi + 0xd8], 0x40
mov eax, dword [esi + 0x124]
test eax, eax
jne 0x402d6b
mov ecx, esi
call fcn.00403b40
mov eax, dword [esi + 0x20]
push edi
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
ret 0x9c

Function at 0x405c70
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x40c300
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x414e88]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x40c353
push str.PRf48PInfFile
push 0x838
push 0
push 4
push 0
push 0xffffffffffffffff
call esi
test eax, eax
mov dword [0x414e88], eax
jne 0x40c340
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
push 0x838
push 0
push 0
push 6
push eax
call edi
mov dword [0x414d94], eax
mov eax, dword [0x414e84]
test eax, eax
jne 0x40c39d
push str.PRf48PBufFile
push 0x1000000
push 0
push 4
push 0
push 0xffffffffffffffff
call esi
test eax, eax
mov dword [0x414e84], eax
jne 0x40c385
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
push 0x1000000
push 0
push 0
push 6
push eax
call edi
mov dword [0x414d9c], eax
mov dword [0x414d98], eax
pop edi
mov eax, 1
pop esi
ret
Function at 0x1008ded
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x10260d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
or dword [ebp - 0x224], 0xffffffff
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x228], eax
xor eax, eax
lea edi, [ebp - 0x210]
mov dword [ebp - 0x214], esi
stosd dword es:[edi], eax
lea edi, [ebp - 0x218]
push 0x206
mov dword [ebp - 0x21c], esi
stosd dword es:[edi], eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov ebx, ecx
mov dword [ebp - 0x220], esi
call sub.msvcrt.dll_memset
add esp, 0xc
cmp ebx, esi
je 0x1008f51
mov edi, dword [ebp - 0x228]
cmp edi, esi
je 0x1008f51
push ebx
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x1008f6d
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.01008b08
mov dword [ebp - 0x220], eax
cmp eax, esi
jne 0x1008f6d
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1008ea8
sub eax, edx
sar eax, 1
je 0x1008eca
lea eax, [ebp + eax*2 - 0x20e]
cmp word [eax], 0x5c
jne 0x1008eca
xor ecx, ecx
mov word [eax], cx
push esi
push esi
push 3
push esi
push 3
push 0x80
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1008f08
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jg 0x1008efc
mov dword [ebp - 0x220], eax
jmp 0x1008f6d
and eax, 0xffff
or eax, 0x80070000
jmp 0x1008ef4
push 4
push 8
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
cmp eax, esi
jle 0x1008f36
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x220], eax
cmp eax, esi
jne 0x1008f61
test byte [ebp - 0x210], 4
je 0x1008f61
mov dword [edi], 1
jmp 0x1008f61
mov ebx, dword [ebp - 0x224]
mov dword [ebp - 0x220], 0x80004003
cmp ebx, 0xffffffff
je 0x1008f6d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01010238
leave
ret 4

Function at 0x1008f89
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10260d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [ebp + 8]
push esi
push edi
mov esi, 0x1001430
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x1008fe6
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.01008ded
cmp dword [ebp - 0x1c], esi
jne 0x1008fe6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0101572d
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop edi
xor ecx, ebp
pop esi
call fcn.01010238
leave
ret 4
Function at 0x1008ffe
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10260d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
inc ebx
push eax
mov dword [ebp - 0x214], ebx
call sub.msvcrt.dll_memset
and dword [edi], 0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll__wgetcwd]
add esp, 0x14
test eax, eax
je 0x10090bb
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100905e
sub eax, edx
sar eax, 1
cmp eax, 3
jne 0x10090bb
push dword [ebp - 0x20c]
call dword [sym.imp.msvcrt.dll_iswalpha]
pop ecx
test eax, eax
je 0x10090bb
cmp word [ebp - 0x20a], 0x3a
jne 0x10090bb
cmp word [ebp - 0x208], 0x5c
jne 0x10090bb
push dword [ebp - 0x20c]
call dword [sym.imp.msvcrt.dll_towupper]
movzx esi, ax
pop ecx
push esi
call fcn.01008f89
test eax, eax
je 0x10090bb
lea ecx, [esi - 0x41]
mov esi, ebx
shl esi, cl
mov dword [edi], ebx
jmp 0x100910f
mov dword [ebp - 0x210], 0x41
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
mov esi, ebx
jmp 0x100910b
cmp word [ebp - 0x210], 0x5a
ja 0x100910f
test bl, 1
je 0x10090fd
push dword [ebp - 0x210]
call fcn.01008f89
test eax, eax
jne 0x10090fb
mov eax, dword [ebp - 0x214]
not eax
and esi, eax
jmp 0x10090fd
inc dword [edi]
shl dword [ebp - 0x214], 1
shr ebx, 1
inc dword [ebp - 0x210]
test ebx, ebx
jne 0x10090d1
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01010238
leave
ret
Function at 0x10095ef
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10260d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push 6
pop ecx
push esi
push esi
xor eax, eax
mov dword [ebp - 0x34], esi
lea edi, [ebp - 0x30]
push 1
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 2
mov dword [ebp - 0xc], esi
call edi
test eax, eax
jne 0x1009655
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x100964e
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x100977a
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
push ebx
lea ebx, [ebp - 0xc]
call fcn.01009463
mov ebx, eax
cmp ebx, esi
jne 0x1009786
lea eax, [ebp - 0x18]
push eax
lea esi, [ebp - 8]
call fcn.010086f6
mov ebx, eax
test ebx, ebx
jne 0x1009784
push 0x10014bc
lea edi, [ebp - 0x10]
call fcn.010088e0
mov ebx, eax
test ebx, ebx
jne 0x1009784
push dword [ebp - 0x10]
xor edi, edi
push edi
push 0x100951b
call dword [sym.imp.msvcrt.dll__beginthread]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
add esp, 0xc
jmp 0x10096e0
cmp eax, 0xffffffff
je 0x1009773
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
xor edi, edi
push edi
push edi
push edi
lea eax, [ebp - 0x34]
push eax
call esi
cmp eax, edi
jne 0x10096c1
xor esi, esi
mov edi, dword [ebp - 0xc]
call fcn.01008823
call fcn.01012d3e
push edi
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [0x1026610]
cmp eax, esi
je 0x1009711
push eax
call fcn.010121b4
mov eax, dword [0x1026614]
cmp eax, esi
je 0x100972f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [0x1026614], esi
mov eax, dword [0x102662c]
cmp eax, esi
je 0x1009745
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x102662c], esi
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x1009755
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], esi
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp ebx, esi
pop edi
setge al
pop esi
xor ecx, ebp
pop ebx
call fcn.01010238
leave
ret 0x10
mov ebx, 0x80004005
xor esi, esi
cmp ebx, esi
je 0x10096ef
jmp 0x1009786
xor esi, esi
push 0x10
push ebx
push esi
call fcn.01008d5c
jmp 0x10096ef

Function at 0x100b5f0
Capabilities:
Create process on windows

Disassembly:
push 1
xor eax, eax
push eax
push eax
push 0x1001648
push 0x100163c
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x100beab
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x10260d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push 0x2b0
lea eax, [ebp - 0x4c0]
push esi
push eax
mov dword [ebp - 0x4c4], esi
call sub.msvcrt.dll_memset
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x105
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x100bf4d
push 0x4101
push 0x2b4
lea eax, [ebp - 0x4c4]
push eax
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push esi
push 0x1109
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x4c0]
push edi
mov dword [0x102663c], eax
call fcn.0100be3f
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01010238
leave
ret

Function at 0x100c1ae
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10260d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x21c], eax
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
xor esi, esi
lea eax, [ebp - 0x20e]
push esi
push eax
mov edi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0xa
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], esi
call fcn.01008c0b
mov ebx, eax
cmp ebx, esi
jne 0x100c277
lea eax, [ebp - 0x218]
push eax
push 0x2719
call fcn.01008c0b
mov ebx, eax
cmp ebx, esi
jne 0x100c277
cmp dword [ebp + 8], esi
je 0x100c24c
push 4
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x100c24c
xor ebx, ebx
inc ebx
jmp 0x100c277
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
cmp ebx, esi
jne 0x100c277
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x210]
push eax
call fcn.0100c10e
mov ebx, eax
cmp dword [ebp - 0x214], esi
je 0x100c291
push dword [ebp - 0x214]
call fcn.0100fd2c
pop ecx
mov dword [ebp - 0x214], esi
cmp dword [ebp - 0x218], esi
je 0x100c2a5
push dword [ebp - 0x218]
call fcn.0100fd2c
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01010238
leave
ret 8
Function at 0x100d081
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4f8
mov eax, dword [0x10260d8]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x2b8], 0
push esi
push edi
push 0x2b0
lea eax, [ebp - 0x2b4]
mov ecx, 0x90
lea esi, [ebp + 8]
lea edi, [ebp - 0x4f8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x248]
mov edi, dword [ebp + 0x24c]
push 0
push eax
call sub.msvcrt.dll_memset
and dword [esi], 0
add esp, 0xc
xor eax, eax
push 0x4511
mov word [edi], ax
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x4f8]
lea eax, [ebp - 0x4c8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0xa4]
push eax
push dword [ebp + 0x250]
push edi
call fcn.01008b08
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi], eax
xor ecx, ebp
pop esi
call fcn.01010238
leave
ret 0x24c

Function at 0x100e3c9
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x10260d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 7
mov esi, ecx
pop ecx
xor eax, eax
xor ebx, ebx
lea edi, [ebp - 0x4d4]
push 0x1fe
mov dword [ebp - 0x4d8], ebx
rep stosd dword es:[edi], eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push ebx
push eax
mov dword [ebp - 0x4dc], esi
call sub.msvcrt.dll_memset
push 0x2b0
lea eax, [ebp - 0x4b4]
push ebx
push eax
mov dword [ebp - 0x4b8], ebx
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x10030
push ebx
push 0x1036
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
lea eax, [ebp - 0x204]
mov dword [ebp - 0x4d4], ebx
mov dword [ebp - 0x4d8], 0x2f
mov dword [ebp - 0x4cc], eax
xor edi, edi
mov ebx, 0x1026080
push 0x100
lea eax, [ebp - 0x204]
push eax
push dword [ebx - 4]
push dword [0x1026610]
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebx]
mov dword [ebp - 0x4d0], eax
lea eax, [ebp - 0x4d8]
push eax
push edi
push 0x1061
push dword [ebp - 0x4dc]
mov dword [ebp - 0x4c4], edi
mov dword [ebp - 0x4bc], edi
call esi
inc edi
add ebx, 0x10
cmp edi, 3
jb 0x100e469
push 0x4101
push 0x2b4
lea eax, [ebp - 0x4b8]
push eax
push 0
push 0x1001608
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edi, dword [ebp - 0x4dc]
push eax
push 1
push 0x1003
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x100e331
push 0xfffffffffffffffc
push edi
call esi
push eax
push 0xffffffffffffffeb
push edi
call esi
push edi
call fcn.0100be3f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01010238
leave
ret
Function at 0x100e98a
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10260d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call fcn.0100e965
cmp eax, edi
jl 0x100eb06
mov ecx, dword [0x1026614]
cmp eax, dword [ecx + 0x10]
jge 0x100eb06
mov edx, eax
mov eax, dword [ecx + 4]
shl edx, 2
mov eax, dword [edx + eax]
mov dword [ecx + 0x14], eax
mov eax, dword [0x1026614]
mov ecx, dword [eax + 8]
mov esi, dword [edx + ecx]
mov ecx, dword [eax + 0xc]
mov ebx, dword [edx + ecx]
cmp ebx, edi
jne 0x100ea04
push 0x10
push 0x271b
push dword [ebp - 0x10]
call fcn.01008cdd
mov eax, dword [0x1026614]
cmp esi, edi
jne 0x100eabd
cmp ebx, edi
je 0x100eabd
lea ecx, [ebp - 8]
push ecx
push dword [eax + 0x14]
call fcn.01013219
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x100eb0d
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x1026614]
push dword [eax + 0x14]
call fcn.01013296
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x100eb0d
push dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x7d0
push dword [ebp - 0x10]
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push 0x7d1
push ebx
call esi
push eax
call edi
push dword [ebp - 8]
push 1
push ebx
call esi
push eax
call edi
mov eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x7d7
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 8], 0
jne 0x100eb0d
cmp dword [ebp - 0xc], 0
je 0x100eaae
push 0x30
push 0x2717
jmp 0x100eab5
push 0x10
push 0x2716
push ebx
call fcn.01008cdd
jmp 0x100eb0d
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x7d0
push dword [ebp - 0x10]
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
push 0
push 0x7d1
push dword [ebp - 0x10]
call esi
push eax
call edi
push ebx
push 1
push dword [ebp - 0x10]
call esi
push eax
call edi
push 0
push 0x7d7
push dword [ebp - 0x10]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100eb0d
mov dword [ebp - 0x14], 0x8000ffff
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01010238
leave
ret 4