joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c4b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x49c4c6
add esp, 0xfffffff0
call fcn.00404930
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043062c
mov eax, dword [0x599a0c]
mov dword [eax + 4], ebx
mov dword [eax], 0x49c8c8
mov eax, dword [0x599a24]
mov dword [eax + 4], ebx
mov dword [eax], 0x49c8d4
mov eax, ebx
call fcn.0049c8e0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4232f4]
call fcn.0040441c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4232f4]
call fcn.0040441c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4232f4]
call fcn.0040441c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4232f4]
call fcn.0040441c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4232f4]
call fcn.0040441c
mov dword [ebx + 0x74], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x497814
push eax
push 0
push 0
mov eax, dword [0x599d00]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x436eec]
call fcn.00438d50
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x436eec]
call fcn.00438d50
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x436eec]
call fcn.00438d50
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x436eec]
call fcn.00438d50
mov dword [ebx + 0x84], eax
mov eax, ebx
call fcn.0049ce74
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49ccfc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49ccfc
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49ccfc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49ccfc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49c619
call fcn.00404988
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49ca9c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49cc49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x49cc2a
mov dl, 1
mov eax, dword [0x4239f8]
call fcn.00429508
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.0040641c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x49cc19
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0048bf20
test al, al
je 0x49cc0c
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x49cc58
lea eax, [ebp - 0x394]
call fcn.0040e600
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x49cc0c
xor eax, eax
push ebp
push 0x49cc05
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x49ccc8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x49cbee
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.0040661c
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x49cbee
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.0040661c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cc0c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x49cb0f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.004292f4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cc50
lea eax, [ebp - 0x3a0]
call fcn.0040640c
ret

Function at 0x49d688
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5a01ac]
cmp byte [eax + 0xa9], 0
jne 0x49d6fa
cmp dword [0x5a01c4], 0
jne 0x49d6ba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x591fe8]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5a01c4], eax
cmp dword [0x5a01c0], 0
jne 0x49d6d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5a01c0], eax
cmp dword [0x5a01c8], 0
jne 0x49d6fa
push esp
push 0
push 0
mov eax, dword [0x591fe4]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5a01c8], eax
pop edx
ret
Function at 0x49d910
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x49d927
add esp, 0xfffffff0
call fcn.00404930
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043062c
mov eax, dword [0x59985c]
cmp byte [eax], 0
jne 0x49d954
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x599cd8]
cmp word [eax + 2], 0
jne 0x49d96e
mov eax, dword [0x599cd8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0049f8cc
mov eax, dword [0x599e84]
cmp word [eax + 2], 0
jne 0x49d988
mov eax, dword [0x599e84]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0049fadc
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x436eec]
call fcn.00438d50
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x49ff70
mov dl, 1
mov eax, dword [0x4232f4]
call fcn.0040441c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4232f4]
call fcn.0040441c
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x437aa0]
call fcn.00440b98
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x49db64
mov eax, dword [0x599adc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00440f9c
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a0220
mov dl, 1
mov eax, dword [0x4232f4]
call fcn.0040441c
mov dword [ebx + 0x94], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x599adc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040e3e8
test eax, eax
je 0x49da96
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040e114
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040e3d0
test eax, eax
je 0x49daae
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.0040661c
push ebx
push 0x49f29c
call fcn.00493f7c
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x59985c]
cmp byte [eax], 0
jne 0x49daff
mov eax, ebx
call fcn.0049dcd8
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.004a0448
mov eax, ebx
call fcn.004a100c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49db5c
call fcn.00404988
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49dfac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x49e04e
cmp dword [ebx + 0x90], 0
jne 0x49e048
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x49def8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x49e048
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x49e00e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x49e048
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.00426028
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x49e01d
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x49e26c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5a01ac]
cmp dword [eax + 0x170], 0
je 0x49e3d1
test bl, bl
jne 0x49e31f
cmp dword [esi + 0x98], 0
jne 0x49e314
mov eax, esi
call fcn.004a0e5c
push eax
push 0x49e178
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x49e2e5
mov eax, dword [0x5a01ac]
cmp byte [eax + 0xcf], 0
je 0x49e2e5
mov eax, dword [esi + 0xd4]
call fcn.00407ed0
mov edi, eax
cmp edi, 0
jl 0x49e2e5
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x49e2ce
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49e314
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00426028
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49e2f4
inc dword [esi + 0x98]
jmp 0x49e3d1
cmp dword [esi + 0x98], 0
jle 0x49e3d1
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x49e3d1
cmp dword [esi + 0x40], 0
je 0x49e37c
mov eax, dword [0x5a01ac]
cmp byte [eax + 0xcf], 0
je 0x49e37c
mov eax, dword [esi + 0xd4]
call fcn.00407ed0
mov edi, eax
cmp edi, 0
jl 0x49e37c
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x49e365
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49e3ab
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00426028
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49e38b
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x49397c]
call fcn.00408090
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x49ef8c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x49eff7
cmp byte [ebx + 0xcf], 0
jne 0x49eff7
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406558
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x49efe4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x49f004
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.0040641c
jmp 0x49f004
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.0040641c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a061c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x4a068a
mov eax, esi
call fcn.00486658
test al, al
je 0x4a068a
mov eax, dword [ebx + 0x80]
call fcn.004862ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a068a
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4a067e
push 0
mov eax, dword [ebx + 0x80]
call fcn.004862ac
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.0047d82c
jmp 0x4a068a
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.004a0468
pop esi
pop ebx
ret

Function at 0x4a9264
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a932b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 1
call fcn.00406798
push 0
mov eax, dword [ebp - 4]
call fcn.004064a8
push eax
mov eax, esi
call fcn.004064a8
mov edi, eax
push edi
call sub.kernel32.dll_ExpandEnvironmentStringsW
mov ebx, eax
test ebx, ebx
jns 0x4a92b7
call fcn.00404314
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406798
test ebx, ebx
jns 0x4a92ca
call fcn.00404314
push ebx
mov eax, dword [ebp - 4]
call fcn.004064a8
push eax
push edi
call sub.kernel32.dll_ExpandEnvironmentStringsW
test eax, eax
jns 0x4a92e3
call fcn.00404314
test eax, eax
jle 0x4a930b
mov eax, dword [ebp - 4]
call fcn.004064a8
call fcn.0040e07c
mov edx, eax
lea eax, [ebp - 4]
call fcn.00406798
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040641c
jmp 0x4a9315
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.0040641c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9332
lea eax, [ebp - 4]
call fcn.0040640c
ret
Function at 0x4df5b4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4df66b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004064a8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x4df5f6
call fcn.00404fc8
jmp 0x4df672
mov eax, ebx
call fcn.004030f0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.004064a8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x4df61f
call fcn.00404fc8
jmp 0x4df672
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4df680
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x4df640
call fcn.00404fc8
jmp 0x4df672
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df672
mov eax, dword [ebp - 8]
call fcn.0040310c
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4df8d0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd48
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4df938
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2b6]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00403a94
test ebx, ebx
jne 0x4df90d
mov word [ebp - 2], 0
lea ebx, [ebp - 2]
or esi, 0x4008
push esi
push 0x2b4
lea eax, [ebp - 0x2b6]
push eax
push 0
push ebx
call sub.shell32.dll_SHGetFileInfoW
mov ebx, dword [ebp - 0x2b2]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4df944
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4df950
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd4c
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4df9b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2b4]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00403a94
or esi, 0x4000
push esi
push 0x2b4
lea eax, [ebp - 0x2b4]
push eax
push 0
mov eax, ebx
call fcn.004064a8
push eax
call sub.shell32.dll_SHGetFileInfoW
mov ebx, dword [ebp - 0x2b0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4df9be
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dfd00
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
push edi
push 0x4dfeac
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4dfea4
xor eax, eax
push ebp
push 0x4dfe9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 6], 0
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2ba]
push eax
push 0
push 0x4dfec4
call sub.shell32.dll_SHGetFileInfoW
mov esi, eax
test esi, esi
jne 0x4dfd78
push 0x4009
push 0x2b4
lea eax, [ebp - 0x2ba]
push eax
push 0
lea eax, [ebp - 6]
push eax
call sub.shell32.dll_SHGetFileInfoW
mov esi, eax
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2ba]
push eax
push 0
push 0x4dfec4
call sub.shell32.dll_SHGetFileInfoW
mov edi, eax
test edi, edi
jne 0x4dfdb9
push 0x4008
push 0x2b4
lea eax, [ebp - 0x2ba]
push eax
push 0
lea eax, [ebp - 6]
push eax
call sub.shell32.dll_SHGetFileInfoW
mov edi, eax
push 0x8000
push 0x10
push 0x10
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageW
mov ebx, eax
push 1
push ebx
push 0xffffffffffffffff
push esi
call sub.comctl32.dll_ImageList_ReplaceIcon
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageW
mov ebx, eax
push 1
push ebx
push 0xffffffffffffffff
push edi
call sub.comctl32.dll_ImageList_ReplaceIcon
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x10
push 0x10
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageW
mov ebx, eax
push 2
push ebx
push 0xffffffffffffffff
push esi
call sub.comctl32.dll_ImageList_ReplaceIcon
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageW
mov ebx, eax
push 2
push ebx
push 0xffffffffffffffff
push edi
call sub.comctl32.dll_ImageList_ReplaceIcon
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
mov byte [0x5926b8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dfea4
cmp dword [ebp - 4], 0
je 0x4dfe9c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dfecc
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd48
mov ebx, eax
call fcn.004df5a8
test al, al
je 0x4dfef9
cmp dword [0x5a0274], 0x40047
jl 0x4dfef9
cmp byte [0x5926b8], 0
jne 0x4dfef9
call fcn.004dfd00
mov esi, ebx
and esi, 0x7f
mov eax, dword [esi*4 + 0x5926bc]
or eax, 0x4000
push eax
push 0x2b4
lea eax, [esp + 0xa]
push eax
push 0
push 0x4dff5c
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
jne 0x4dff51
mov word [esp], 0
mov eax, dword [esi*4 + 0x5926bc]
or eax, 0x4000
or eax, 8
push eax
push 0x2b4
lea eax, [esp + 0xa]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoW
add esp, 0x2b8
pop esi
pop ebx
ret

Function at 0x4dff15
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd48
mov ebx, eax
call fcn.004df5a8
test al, al
je 0x4dfef9
cmp dword [0x5a0274], 0x40047
jl 0x4dfef9
cmp byte [0x5926b8], 0
jne 0x4dfef9
call fcn.004dfd00
mov esi, ebx
and esi, 0x7f
mov eax, dword [esi*4 + 0x5926bc]
or eax, 0x4000
push eax
push 0x2b4
lea eax, [esp + 0xa]
push eax
push 0
push 0x4dff5c
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
jne 0x4dff51
mov word [esp], 0
mov eax, dword [esi*4 + 0x5926bc]
or eax, 0x4000
or eax, 8
push eax
push 0x2b4
lea eax, [esp + 0xa]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoW
add esp, 0x2b8
pop esi
pop ebx
ret
Function at 0x4eae6c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4eae74
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4eafc1
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x4eaeca
lea edx, [ebp - 4]
mov eax, dword [0x599950]
call fcn.00408edc
cmp ebx, 1
jbe 0x4eaf01
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4eafdc
call fcn.0040e688
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00406830
jmp 0x4eaf01
lea eax, [ebp - 4]
mov edx, 0x4eaff4
call fcn.00406470
cmp ebx, 1
jbe 0x4eaf01
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4eb00c
call fcn.0040e688
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00406830
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
call fcn.004068f0
mov eax, dword [ebp - 0x18]
call fcn.004064a8
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x4eaf89
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
jne 0x4eaf39
mov bl, 1
jmp 0x4eaf99
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00411bac
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x599f44]
call fcn.00408edc
mov eax, dword [ebp - 0x24]
mov ecx, 1
pop edx
call fcn.004e0d00
mov eax, dword [ebp - 0x1c]
movzx ecx, word [0x4eb014]
xor edx, edx
call fcn.0046d9d0
mov bl, 2
jmp 0x4eaf99
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.0040641c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eafc8
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00406414
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406414
ret

Function at 0x4eb690
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, ecx
mov esi, eax
test edx, 0x40000000
jne 0x4eb6b2
mov edx, ebx
mov eax, dword [0x599f40]
call fcn.00408edc
jmp 0x4eb6eb
push 0x408
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x4eb6e2
mov eax, ebx
lea edx, [esp + 0x214]
mov ecx, 0x50
call fcn.0040661c
jmp 0x4eb6eb
mov eax, ebx
xor edx, edx
call fcn.0040641c
add esp, 0x2b4
pop esi
pop ebx
ret