joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40370b
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0xc]
push 3
pop ecx
test eax, eax
jle 0x403721
cmp eax, 2
jle 0x40377e
cmp eax, ecx
je 0x40377c
mov dword [esi + 0xc], ecx
push str.STRING_FAILED
mov esi, 0x3f1
push esi
push edi
call fcn.00404179
add esp, 0xc
push str.STRING_CONNECTION_LOST
push esi
push edi
call fcn.00404179
add esp, 0xc
push 2
push 0
push 0x470
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x3f5
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push edi
call dword [sym.imp.USER32.dll_KillTimer]
pop esi
ret
push str.STRING_DONE
push 0x3f1
push edi
call fcn.00404179
add esp, 0xc
mov eax, esi
mov ecx, edi
pop esi
jmp fcn.004035d5

Function at 0x403e0e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
push 1
xor esi, esi
push esi
push str.SoftwareDigital_ExtremesWarframeLauncher
push 0x80000001
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x403e39
xor eax, eax
jmp 0x403e7a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str.Language
push dword [ebp - 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403e6b
cmp dword [ebp - 0xc], 4
je 0x403e6e
mov dword [ebp - 4], esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x403e7d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.00403e0e
push 0
mov dword [0x41adc4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x416aa8
mov esi, eax
push 0x66
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ebx, [edi - 2]
mov ecx, ebx
mov dword [ebp - 4], eax
mov eax, dword [0x419f5c]
shr ecx, 1
mov esi, 0x419f4c
cmp ecx, eax
ja 0x403ee3
or eax, 0xffffffff
call fcn.0040344c
jmp 0x403eee
mov edi, ecx
push 0
sub edi, eax
call fcn.00402936
cmp dword [0x419f60], 8
mov eax, dword [0x419f4c]
jae 0x403efe
mov eax, esi
mov edi, dword [ebp - 4]
push ebx
lea ecx, [edi + 2]
push ecx
push eax
call fcn.0040e460
add esp, 0xc
cmp byte [edi], 0xfe
jne 0x403f4d
cmp byte [edi + 1], 0xff
jne 0x403f4d
mov eax, dword [0x419f5c]
xor edi, edi
test eax, eax
je 0x403f4d
mov edx, dword [0x419f60]
mov ecx, dword [0x419f4c]
mov ebx, ecx
cmp edx, 8
jae 0x403f3c
mov ebx, esi
mov ecx, esi
mov dx, word [ebx + edi*2]
mov bh, dl
mov bl, dh
mov word [ecx + edi*2], bx
inc edi
cmp edi, eax
jb 0x403f25
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404179
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x800], ax
lea eax, [ebp - 0x7fe]
push eax
call fcn.0040cf80
add esp, 0xc
mov esi, 0x400
push esi
lea eax, [ebp - 0x800]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x800]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4041cd
sub eax, ecx
sar eax, 1
sub esi, eax
push esi
lea eax, [ebp + eax*2 - 0x800]
push eax
push dword [ebp + 0x10]
call fcn.004040b8
add esp, 0xc
lea eax, [ebp - 0x800]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
leave
ret

Function at 0x404204
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
sub esp, 0xc
push esi
push edi
push 0x416ad4
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x40422e
xor eax, eax
jmp 0x4042d9
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push 2
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push dword [ebp - 0xc]
push eax
call fcn.0040e460
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 8]
push eax
push 0x41426c
push esi
push esi
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 4
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0xc]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4042dd
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
cmp byte [0x41adc8], 0
jne 0x40436e
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
mov byte [0x41adc8], 1
call fcn.0040cf80
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x204]
push eax
push 7
mov dword [ebp - 4], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x40434c
lea eax, [ebp - 0x204]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40433b
sub eax, edx
sar eax, 1
jne 0x40436e
mov eax, dword [ebp - 4]
lea eax, [ebp + eax*2 - 0x22c]
push str..digitalextremes.com
push eax
call fcn.00405e5e
pop ecx
pop ecx
test eax, eax
jne 0x40436e
mov byte [0x41adc9], 1
mov al, byte [0x41adc9]
leave
ret

Function at 0x40a262
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x419480]
jne 0x40a26c
repz ret
jmp fcn.0040f650
Function at 0x410b3c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409319
and dword [ebp - 0x14], 0
cmp dword [0x41ada8], 0
mov dword [ebp - 0x18], eax
jne 0x410bef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410c97
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x410c97
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41ada8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41adac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41adb0], eax
call edi
push eax
call esi
mov dword [0x41adb8], eax
test eax, eax
je 0x410bef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41adb4], eax
mov eax, dword [0x41adb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410c48
cmp dword [0x41adb8], ecx
je 0x410c48
push eax
call esi
push dword [0x41adb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410c48
test ebx, ebx
je 0x410c48
call edi
test eax, eax
je 0x410c3f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410c3f
test byte [ebp - 8], 1
jne 0x410c48
or dword [ebp + 0x10], 0x200000
jmp 0x410c7b
mov eax, dword [0x41adac]
cmp eax, dword [ebp - 0x18]
je 0x410c7b
push eax
call esi
test eax, eax
je 0x410c7b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x410c7b
mov eax, dword [0x41adb0]
cmp eax, dword [ebp - 0x18]
je 0x410c7b
push eax
call esi
test eax, eax
je 0x410c7b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41ada8]
call esi
test eax, eax
je 0x410c97
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410c99
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a262
leave
ret
Function at 0x402a78
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x5ec268]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x402ac1
push str.SetDefaultDllDirectories
push 0x547590
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402ac1
push 0xc00
call eax
test eax, eax
jne 0x402b5d
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x402b5d
cmp eax, 0x104
ja 0x402b5d
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x2d6], cx
je 0x402af8
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
mov cl, byte [str.userenv]
push esi
mov esi, str.userenv
test cl, cl
je 0x402b5c
push ebx
push edi
lea edi, [ebp - 0x2d4]
push 0x6c
lea edi, [edi + eax*2]
pop ebx
mov edx, edi
inc esi
movzx eax, cl
mov cl, byte [esi]
inc esi
mov word [edx], ax
lea edx, [edx + 2]
test cl, cl
jne 0x402b19
push 0x2e
pop eax
push 0x64
mov word [edx], ax
pop eax
mov word [edx + 2], ax
xor eax, eax
push 8
push eax
mov word [edx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov word [edx + 4], bx
mov word [edx + 6], bx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov cl, byte [esi]
test cl, cl
jne 0x402b16
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00533c96
leave
ret
Function at 0x408d05
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
call fcn.00539243
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x408d31
call fcn.00408c17
mov esi, eax
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x40af4f
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push dword [ebp + 0x10]
xor ebx, ebx
lea ecx, [ebp - 4]
push 0x2002
mov dword [ebp - 4], ebx
call fcn.0040daf8
test al, al
je 0x40afa8
push esi
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40afa7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00535ad0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x40afa7
mov dword [ebp - 4], ebx
mov bl, 1
pop esi
lea ecx, [ebp - 4]
call fcn.0040db1b
mov al, bl
pop ebx
leave
ret 0xc

Function at 0x40afb7
Capabilities:
Open clipboard

Disassembly:
push 0x18
mov eax, 0x543812
call fcn.00533f59
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
mov byte [ebp + 0xb], al
test al, al
je 0x40b078
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x40b075
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push dword [esi]
push 0xd
call fcn.0040af4f
push 0
mov bl, al
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0040a508
mov ecx, dword [ebp - 0x14]
xor eax, eax
inc eax
inc ecx
push ecx
push dword [ebp - 0x18]
mov byte [ebp - 4], al
push eax
call fcn.0040af4f
push 1
pop edi
push edi
test al, al
movzx ebx, bl
push esi
lea eax, [ebp - 0x24]
cmovne ebx, edi
push eax
call fcn.0040a508
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00409412
push dword [ebp - 0x24]
call fcn.00533f14
mov eax, dword [ebp - 0x14]
pop ecx
inc eax
push eax
push dword [ebp - 0x18]
push 7
call fcn.0040af4f
push dword [ebp - 0x18]
test al, al
movzx ebx, bl
cmovne ebx, edi
call fcn.00533f14
pop ecx
jmp 0x40b07e
mov al, byte [ebp + 0xb]
xor bl, bl
test al, al
je 0x40b084
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
call fcn.00533f27
ret 8
Function at 0x40bc75
Capabilities:
Create directory

Disassembly:
push 0x44
mov eax, 0x54390a
call fcn.00533f59
cmp byte [0x5f2eb9], 0
mov edi, dword [ebp + 8]
jne 0x40bcb1
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.0040a2d8
xor ebx, ebx
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.00533f14
pop ecx
test esi, esi
jmp 0x40bcbd
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40bcc3
mov al, 1
jmp 0x40bd09
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40bcd4
xor al, al
jmp 0x40bd09
lea ecx, [ebp - 0x50]
call fcn.0040c180
lea ecx, [ebp - 0x28]
call fcn.004093ee
push ebx
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0040c3ea
test al, al
je 0x40bcfe
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.00533f14
pop ecx
mov al, bl
call fcn.00533f27
ret 4

Function at 0x40bd11
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x5f2eb9], 0
jne 0x40bd47
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040a2d8
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00533f14
pop ecx
test esi, esi
pop esi
jmp 0x40bd54
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40bd5a
mov al, 1
jmp 0x40bd5c
xor al, al
leave
ret 4

Function at 0x40bd60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0040ca1c
cmp eax, 0xffffffff
je 0x40bd8d
mov ecx, eax
and cl, 0x11
cmp cl, 1
jne 0x40bd8d
and eax, 0xfffffffe
push eax
push esi
call fcn.0040c0ce
test al, al
je 0x40bdc5
cmp byte [0x5f2eb9], 0
push esi
jne 0x40bdb7
lea eax, [ebp - 0xc]
push eax
call fcn.0040a2d8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00533f14
pop ecx
test esi, esi
jmp 0x40bdbf
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40bdc5
mov al, 1
jmp 0x40bdc7
xor al, al
pop esi
leave
ret 4

Function at 0x40c023
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x5f2eb9], 0
jne 0x40c057
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040a2d8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00533f14
pop ecx
test esi, esi
pop esi
jmp 0x40c062
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x40c068
mov al, 1
jmp 0x40c06a
xor al, al
leave
ret 4
Function at 0x40c0ce
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x5f2eb9], 0
jne 0x40c105
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040a2d8
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00533f14
pop ecx
test esi, esi
pop esi
jmp 0x40c113
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40c119
mov al, 1
jmp 0x40c11b
xor al, al
leave
ret 8

Function at 0x40ca1c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x5f2eb9], 0
jne 0x40ca50
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040a2d8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00533f14
pop ecx
mov eax, esi
pop esi
jmp 0x40ca63
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
leave
ret 4
Function at 0x40caee
Capabilities:
Get disk information

Disassembly:
push 0x2c
mov eax, 0x543a71
call fcn.00533f59
mov ecx, dword [ebp + 8]
call fcn.00408ddf
cmp byte [0x5f2eb9], 0
jne 0x40cbdb
mov ecx, dword [ebp + 8]
call fcn.00408ddf
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x40cbee
push edi
call fcn.00533f0b
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
push esi
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x40cc90
cmp edi, dword [ebp - 0x18]
ja 0x40cc90
lea ecx, [ebp - 0x2c]
call fcn.0040922d
mov byte [ebp - 4], 1
test edi, edi
je 0x40cbd1
xor eax, eax
mov dword [ebp - 0x14], edi
inc eax
mov ecx, edi
mov dword [ebp - 0x10], eax
cmp byte [esi + eax - 1], 0
jne 0x40cbc2
lea eax, [ebx + esi]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409462
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040a296
mov edi, eax
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00408e61
mov ecx, dword [ebp + 8]
push edi
call fcn.00408d9b
push dword [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00533f14
pop ecx
mov ecx, dword [ebp - 0x14]
mov eax, ebx
inc eax
sub ecx, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
jne 0x40cb76
mov edi, dword [ebp - 0x1c]
push dword [ebp - 0x2c]
cmp ebx, edi
jmp 0x40cc87
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x40cbf5
xor al, al
jmp 0x40cc99
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040b0ae
mov esi, dword [ebp - 0x1c]
push esi
push edi
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
je 0x40cc90
cmp edi, dword [ebp - 0x18]
ja 0x40cc90
lea ecx, [ebp - 0x38]
call fcn.004093ee
mov byte [ebp - 4], 4
mov edx, ebx
mov dword [ebp - 0x18], edx
mov eax, ebx
mov dword [ebp - 0x10], eax
test edi, edi
je 0x40cc82
push 2
pop ecx
mov dword [ebp - 0x14], ecx
cmp word [esi + ecx - 2], bx
jne 0x40cc71
lea eax, [edx + esi]
push eax
lea ecx, [ebp - 0x38]
call fcn.00409599
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 0x18], eax
call fcn.00408e61
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.00408d9b
mov ecx, dword [ebp - 0x14]
mov edx, ecx
mov eax, dword [ebp - 0x10]
inc eax
add ecx, 2
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, edi
jb 0x40cc3b
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x38]
cmp edx, edi
sete bl
call fcn.00533f14
pop ecx
push esi
call fcn.00533f14
mov al, bl
pop ecx
call fcn.00533f27
ret 4
Function at 0x41e083
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544c5d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5ec268]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0xa8]
call fcn.0041e135
lea ecx, [esi + 0x78]
call fcn.0041e135
push dword [esi + 0x30]
call fcn.00533f14
push dword [esi + 0x24]
call fcn.00533f14
push dword [esi + 0x18]
call fcn.00533f14
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41e0e7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x41e0fb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x41e10f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x41e122
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret

Function at 0x41e192
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544180
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5ec268]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004217db
lea ecx, [esi + 0x30]
call fcn.0041e135
push dword [esi + 0x24]
call fcn.00533f14
pop ecx
lea ecx, [esi + 0xc]
call fcn.00408d5a
mov ecx, esi
call fcn.0041e049
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x424892
Capabilities:
Get file system object information

Disassembly:
push 0x1f4
mov eax, 0x5456f0
call fcn.00533f8c
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1f4]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c4], eax
call fcn.004093ee
and dword [ebp - 4], 0
cmp byte [edi], 0
je 0x424917
push dword [edi + 0xc]
lea eax, [ebp - 0x200]
push dword [edi + 8]
push eax
call fcn.00424701
push eax
push 0xdb0
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 1
push eax
call fcn.004246c2
push eax
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 2
call fcn.004094b9
push dword [ebp - 0x1d0]
call fcn.00533f14
push dword [ebp - 0x200]
mov byte [ebp - 4], 0
call fcn.00533f14
pop ecx
pop ecx
lea eax, [edi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1c0], eax
call fcn.00409f3e
mov esi, eax
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x1e8]
call fcn.00409295
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x1dc]
add eax, 2
mov byte [ebp - 4], 3
lea eax, [eax + esi*2]
push eax
call fcn.004093b8
lea eax, [ebp - 0x1e8]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00424816
lea eax, [ebp - 0x1dc]
mov ecx, ebx
push eax
call fcn.00424816
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.0040931a
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 5
call fcn.004097b1
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.0040968b
lea ecx, [ebp - 0x1bc]
call fcn.004097b1
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.0040968b
lea ecx, [ebp - 0x1bc]
call fcn.004097b1
cmp byte [edi + 1], 0
je 0x424a15
push 0x3f4
lea eax, [ebp - 0x1bc]
push eax
call fcn.00423879
push 0x5487d4
lea ecx, [ebp - 0x1bc]
call fcn.004096c9
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0040df85
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.004096c9
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x1bc]
push eax
call fcn.0040e8bd
push 0
push dword [ebp - 0x1c0]
lea eax, [ebp - 0x1d0]
push eax
call fcn.0040a508
push 0x110
push 0x160
lea eax, [ebp - 0x1b0]
push eax
push 0x80
push dword [ebp - 0x1d0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1d0]
mov esi, eax
call fcn.00533f14
pop ecx
test esi, esi
je 0x424a96
push dword [ebp - 0x1c4]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x1b0]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x1bc]
call fcn.00533f14
push dword [ebp - 0x1dc]
call fcn.00533f14
push dword [ebp - 0x1e8]
call fcn.00533f14
push dword [ebp - 0x1f4]
call fcn.00533f14
add esp, 0x10
call fcn.00533f3b
ret 0xc