joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d49
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x401d63
xor esi, esi
jmp 0x401d91
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00406760
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x401dcc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x401dc5
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x401e61
xor esi, esi
jmp 0x401e61
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x401def
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x401e02
xor esi, esi
jmp 0x401e58
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x401e14
jmp 0x401ddf
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x401e58
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x401e4a
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.00406760
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.00405ef0
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.00401ec8
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4028d7
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x40d320
call fcn.00405b08
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00402899
mov edi, eax
cmp edi, esi
je 0x402921
cmp dword [ebp - 0x10], esi
je 0x40291a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4029be
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x402992
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.004028d7
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x40297f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x402944
cmp dword [ebp - 0x10], esi
je 0x40298d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x4029be
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4029a5
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x4029bc
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4029cf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.00406760
push ebx
push esi
lea eax, [ebp - 0x2014]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
call fcn.00402021
xor edi, edi
cmp eax, edi
jl 0x402b87
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.00402b94
pop ecx
test eax, eax
pop ecx
jne 0x402a1a
mov eax, 0x80020009
jmp 0x402b87
mov ecx, esi
call fcn.00401ff9
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.00402021
cmp eax, edi
jl 0x402b87
movzx eax, word [ebp - 0xa]
sub eax, 8
je 0x402b4f
sub eax, 9
je 0x402ab4
dec eax
dec eax
jne 0x402b76
lea eax, [ebp - 0x1014]
test eax, eax
jne 0x402a5f
xor ebx, ebx
jmp 0x402a94
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00406760
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x1014]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
jmp 0x402b67
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 8], eax
jne 0x402af0
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.00406760
mov dword [ebp - 4], esp
push ebx
push edi
push dword [ebp - 4]
call fcn.004055d0
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x402afa
mov eax, 0x80004005
jmp 0x402b87
cmp dword [ebp - 8], 0
jle 0x402b34
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi - 0x1014]
push eax
call fcn.00402c1b
pop ecx
mov ecx, edi
push 4
and ecx, 1
shl ecx, 2
mov edx, ecx
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 8]
jl 0x402b00
mov eax, dword [ebp + 8]
push ebx
push dword [ebp - 4]
mov eax, dword [eax]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
jmp 0x402b76
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.00402021
cmp eax, edi
jl 0x402b87
xor eax, eax
lea esp, [ebp - 0x2020]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x404af6
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 4
pop edi
xor esi, esi
push 1
mov dword [ebp - 4], esi
pop ebx
mov dword [ebp - 8], esi
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
mov eax, 0x20019
jne 0x404b23
add eax, 6
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push esi
push esi
push esi
push str.SOFTWAREIntelDisplayigfxcuiigfxtrayTrayIcon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x404b90
cmp dword [ebp + 8], esi
jne 0x404b70
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.ShowTrayIcon
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404b87
mov ebx, dword [ebp - 0xc]
jmp 0x404b87
lea eax, [ebp + 0xc]
push edi
push eax
push dword [ebp - 0x10]
push esi
push str.ShowTrayIcon
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x401b40
Capabilities:
Create directory

Disassembly:
mov al, byte [0x475804]
sub esp, 0x1f4
cmp al, 5
push ebx
push esi
push edi
mov bl, cl
je 0x401c76
mov edi, 0x460998
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x401bb3
mov edi, 0x47590c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, 0x460998
mov eax, ecx
mov esi, edi
mov edi, 0x460998
sub edx, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push str..sav
rep movsb byte es:[edi], byte [esi]
mov edi, 0x47590c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
push ecx
call fcn.0042ba90
add esp, 8
mov eax, dword [0x475790]
push 0x460998
push eax
lea ecx, [esp + 0x14]
push str._s_s
push ecx
call fcn.0042ba90
add esp, 0x10
cmp bl, 1
jne 0x401c11
lea edx, [esp + 0xc]
push 0x4591c4
push edx
call fcn.0042ba7d
mov esi, eax
add esp, 8
test esi, esi
je 0x401c76
mov eax, dword [0x460990]
push esi
push 0x2000
push 1
mov ecx, dword [eax]
add ecx, 0x800
push ecx
call fcn.0042b935
add esp, 0x10
jmp 0x401c69
test bl, bl
jne 0x401c76
mov edx, dword [0x475790]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0xc]
push 0x4591c8
push eax
call fcn.0042ba7d
mov esi, eax
add esp, 8
test esi, esi
je 0x401c5b
mov ecx, dword [0x460990]
push esi
push 0x2000
push 1
mov edx, dword [ecx]
add edx, 0x800
push edx
call fcn.0042b7fc
add esp, 0x10
mov ecx, 0x40
xor eax, eax
mov edi, 0x460998
rep stosd dword es:[edi], eax
test esi, esi
je 0x401c76
push esi
call fcn.0042b77f
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x1f4
ret
Function at 0x401e90
Capabilities:
Create directory

Disassembly:
mov ecx, dword [0x460990]
push ebx
push ebp
push esi
push edi
call fcn.0040dd80
mov edx, dword [0x460990]
mov ecx, 0x200
xor eax, eax
mov edi, dword [edx]
rep stosd dword es:[edi], eax
mov ecx, dword [0x460990]
call fcn.0040cc30
call fcn.00415c80
mov ecx, dword [0x460990]
call fcn.0040cf40
call fcn.004153f0
call fcn.004155c0
mov cl, 1
call fcn.0040de10
mov ecx, dword [0x460990]
call fcn.0040dcf0
call fcn.004144d0
call fcn.0041fa70
test eax, eax
je 0x402127
xor ebx, ebx
mov ebp, 0x8000
cmp dword [0x475e80], ebx
jne 0x402127
mov ecx, dword [0x4757c0]
mov edi, 1
cmp ecx, 0xffffffff
sete al
dec eax
and eax, ecx
mov cl, byte [0x460a98]
cmp cl, al
mov byte [0x460a99], al
jne 0x401f3b
call fcn.00427670
mov edi, eax
neg edi
sbb edi, edi
inc edi
mov cl, byte [0x460aa2]
or cl, 0x80
mov byte [0x460aa2], cl
mov ecx, 4
call fcn.0040de30
cmp byte [0x460aa4], bl
je 0x401f61
call fcn.00414500
mov ecx, 0x6d
call fcn.0040de30
call fcn.00415380
mov cx, 0xf2
mov word [0x460ace], cx
mov eax, dword [0x459878]
mov dl, byte [0x460aa5]
call dword [eax]
mov ecx, 0x71
call fcn.0040de30
mov cx, word [0x460ace]
inc cx
cmp cx, 0x106
mov word [0x460ace], cx
jb 0x401f7b
mov byte [0x460aa2], bl
call fcn.00415700
cmp byte [0x460aa5], bl
je 0x401fca
mov cx, word [0x460acc]
mov word [0x460aca], cx
mov dl, byte [0x460a98]
mov al, byte [0x460a99]
cmp dl, al
jne 0x401fe4
cmp edi, ebx
je 0x401fe4
mov esi, 1
jmp 0x401fe6
xor esi, esi
mov word [0x460ace], bx
mov ecx, 0x71
call fcn.0040de30
mov eax, dword [0x459878]
mov dl, byte [0x460aa5]
mov cx, word [0x460ace]
call dword [eax]
cmp byte [0x460aa5], bl
je 0x4020a0
mov ax, word [0x460aca]
mov ecx, dword [0x460acc]
and ax, 0x7be0
and ecx, 0x41f
or ax, cx
mov ecx, esi
mov word [0x460aca], ax
mov al, byte [0x460aa2]
and al, 0xdf
mov byte [0x460aa2], al
call fcn.00415dd0
mov cx, word [0x460aca]
add cx, 0x1000
mov word [0x460aca], cx
mov eax, dword [0x460aca]
test ebp, eax
je 0x4020a9
mov ax, cx
and cx, 0x7c1f
and eax, 0x3e0
add eax, 0x20
cmp eax, 0x3c0
mov dword [0x460994], eax
jne 0x40208f
xor cx, 0x800
mov word [0x460aca], cx
jmp 0x4020a9
and eax, 0x3e0
or cx, ax
mov word [0x460aca], cx
jmp 0x4020a9
cmp esi, ebx
je 0x4020a9
call fcn.00415ed0
mov ax, word [0x460ace]
inc ax
cmp ax, 0xf0
mov word [0x460ace], ax
jb 0x401fed
mov al, byte [0x460a98]
mov cl, byte [0x460a99]
inc al
cmp al, cl
mov byte [0x460a98], al
jbe 0x4020e6
cmp edi, ebx
je 0x4020e0
call fcn.00426290
mov byte [0x460a98], bl
test byte [0x4719e0], 0xc0
jne 0x4020fc
cmp byte [0x4719d8], bl
jne 0x4020fc
call fcn.00414510
mov ecx, 0x71
call fcn.0040de30
mov eax, dword [0x459878]
mov dl, byte [0x460aa5]
mov cx, word [0x460ace]
call dword [eax]
call fcn.0041fa70
test eax, eax
jne 0x401f00
mov al, byte [0x475807]
pop edi
pop esi
pop ebp
test al, 2
pop ebx
je 0x40213b
xor cl, cl
jmp fcn.00401b40
ret
Function at 0x40dad0
Capabilities:
Create directory

Disassembly:
mov eax, dword [0x461468]
sub esp, 0x120
and eax, 0xff
push esi
dec eax
push edi
je 0x40db5d
dec eax
je 0x40db26
dec eax
jne 0x40dcd7
mov eax, dword [0x461464]
push eax
call fcn.0042b77f
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Stopped_movie_recording
mov byte [0x461468], 0
call fcn.0043e706
mov ecx, 0x78
call fcn.0041ef30
xor al, al
pop edi
pop esi
add esp, 0x120
ret
mov ecx, dword [0x461464]
xor edx, edx
mov dl, byte [0x475d68]
push ecx
push edx
call fcn.0042bdc8
mov eax, dword [0x461464]
xor ecx, ecx
mov cl, byte [0x475d69]
push eax
push ecx
call fcn.0042bdc8
add esp, 0x10
xor al, al
pop edi
pop esi
add esp, 0x120
ret
mov edi, 0x47590c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x19], 0x72
mov eax, ecx
mov esi, edi
mov edi, edx
mov dl, 0x2e
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x18], dl
rep movsb byte es:[edi], byte [esi]
mov cl, byte [0x475d6b]
mov edi, 0x47590c
add cl, 0x30
mov byte [esp + 0x1a], 0x6d
mov byte [esp + 0x1b], cl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x1c], 0
cmp byte [ecx + 0x475908], dl
jne 0x40dbdc
mov edi, 0x47590c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x28]
dec ecx
sub eax, 4
push edx
add ecx, eax
push ecx
jmp 0x40dbf5
lea ecx, [esp + 0x18]
mov edi, 0x47590c
push ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + ecx + 0x2c]
push edx
call fcn.0042ba90
mov eax, dword [0x47578c]
add esp, 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [0x45fc04]
lea edx, [esp + 0x28]
mov dword [esp + 8], ecx
push edx
lea ecx, [esp + 0xc]
call fcn.0043e7d5
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push 0x459d70
push 0x47578c
push ecx
call fcn.0043e8e1
lea edx, [esp + 0x18]
push eax
push edx
call fcn.0043e87b
mov eax, dword [eax]
push 0x459d6c
push eax
call fcn.0042ba7d
add esp, 8
lea ecx, [esp + 0x14]
mov dword [0x461464], eax
call fcn.0043e698
lea ecx, [esp + 0x10]
call fcn.0043e698
lea ecx, [esp + 8]
call fcn.0043e698
mov eax, dword [0x461464]
push ecx
test eax, eax
mov ecx, esp
jne 0x40dcad
mov dword [esp + 0x10], esp
push str.Movie_rec._not_started._Cannot_write_
call fcn.0043e706
mov ecx, 0x78
call fcn.0041ef30
mov byte [0x461468], 0
or al, 0xff
pop edi
pop esi
add esp, 0x120
ret
mov dword [esp + 0x10], esp
push str.Started_movie_recording
call fcn.0043e706
mov ecx, 0x78
call fcn.0041ef30
mov ecx, dword [0x461464]
mov byte [0x461468], 2
call fcn.004165b0
pop edi
xor al, al
pop esi
add esp, 0x120
ret
Function at 0x4191c0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44b9e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
add eax, 0xb
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
add ecx, 0xb
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x41921b
push 0x14
call ebx
push eax
push 0x10
call ebx
push eax
lea eax, [esp + 0x28]
push eax
jmp 0x419231
mov eax, dword [edi + 4]
test eax, eax
je 0x419238
push 0x10
call ebx
push eax
push 0x14
call ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.004491d9
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [esi]
push 0x12
mov ebp, eax
mov dword [esp + 0x44], edx
call ebx
push eax
mov eax, dword [esp + 0x44]
mov ecx, esi
call dword [eax + 0x30]
push 1
mov ecx, esi
call fcn.00444dec
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0x44e9a8
mov ecx, dword [esi + 8]
push 0x58
push ecx
mov dword [esp + 0x40], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
push ebx
push str.Marlett
push eax
lea ecx, [esp + 0x24]
call fcn.0044926e
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x28]
push 0x45b06c
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
call fcn.0043e706
mov eax, dword [eax]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebx, dword [esi]
mov edi, dword [eax - 8]
add ecx, 2
push edi
add edx, 2
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x48], 1
call dword [ebx + 0x5c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.0043e698
mov eax, dword [esp + 0x40]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00444dec
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 2
call fcn.0044551e
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x419800
Capabilities:
Create directory

Disassembly:
sub esp, 0x110
xor eax, eax
push ebx
push ebp
push esi
mov bl, cl
push edi
mov edi, 0x47590c
or ecx, 0xffffffff
mov ebp, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.00439d49
add esp, 4
and ebp, 0xff
lea edx, [esp + 0x18]
push ebp
push str..rs_d
push edx
call fcn.0042ba90
mov edi, 0x47590c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x47590c
mov al, byte [ecx + 0x475908]
cmp al, 0x2e
lea eax, [esp + 0x18]
push eax
jne 0x419892
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x24]
dec ecx
sub edx, 4
add ecx, edx
jmp 0x4198a0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [esp + ecx + 0x24]
push ecx
call fcn.0042ba90
add esp, 8
cmp bl, 1
jne 0x419911
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
push edx
push 0x45b07c
push 0x47571c
push eax
call fcn.0043e8e1
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0043e8e1
mov eax, dword [eax]
push 0x45b078
push eax
call fcn.0042ba7d
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.0043e698
lea ecx, [esp + 0x10]
call fcn.0043e698
test esi, esi
jne 0x419908
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x110
ret
mov ecx, esi
call fcn.00416870
jmp 0x419981
mov edx, dword [0x47571c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push 0x45b084
push 0x47571c
push ecx
call fcn.0043e8e1
lea edx, [esp + 0x14]
push eax
push edx
call fcn.0043e8e1
mov eax, dword [eax]
push 0x45b080
push eax
call fcn.0042ba7d
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.0043e698
lea ecx, [esp + 0x14]
call fcn.0043e698
test esi, esi
jne 0x41997a
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x110
ret
mov ecx, esi
call fcn.004165b0
push esi
call fcn.0042b77f
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
Function at 0x41c170
Capabilities:
Get disk information
Get file system object information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44be31
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00441963
test al, 8
je 0x41c1a7
push 0
push 0
push 8
mov ecx, esi
call fcn.00441997
mov edi, dword [esi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffff0000
push 0
push 0x1101
push edi
call ebx
push 0
push 0
push 0x1108
push edi
call ebx
push eax
call fcn.0043cf8c
test eax, eax
je 0x41c1dd
lea ecx, [esi + 0x44]
call fcn.0043cf4c
push 0x4001
lea eax, [esp + 0x9c]
push 0x160
push eax
push 0
push 0x45b2c8
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne 0x41c214
push str.Cannot_retrieve_the_Handle_of_SystemImageList_
lea ecx, [esi + 0x40]
call fcn.0043e7d5
xor eax, eax
jmp 0x41c3ac
lea edi, [esi + 0x44]
push eax
mov ecx, edi
call fcn.0043cfbf
test eax, eax
jne 0x41c237
push str.Cannot_Attach_SystemImageList_Handle
lea ecx, [esi + 0x40]
call fcn.0043e7d5
xor eax, eax
jmp 0x41c3ac
test edi, edi
jne 0x41c23f
xor eax, eax
jmp 0x41c242
mov eax, dword [edi + 4]
mov edi, dword [esi + 0x1c]
push eax
push 0
push 0x1109
push edi
call ebx
push eax
call fcn.0043cf8c
mov ebp, dword [esp + 0x208]
mov ecx, dword [esp + 0x20c]
test ebp, ebp
mov dword [esi + 0x3c], ecx
je 0x41c309
cmp byte [ebp], 0
je 0x41c309
lea edi, [esi + 0x4c]
push ebp
mov ecx, edi
call fcn.0043e7d5
push 1
push 0x5c
lea ecx, [esp + 0x18]
call fcn.0043babb
lea edx, [esp + 0x14]
push 1
push edx
mov ecx, edi
mov dword [esp + 0x208], 0
call fcn.0043bba8
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
call fcn.0042c2fc
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call fcn.0043e698
lea ecx, [esp + 0x10]
mov dword [esp + 0x200], 0xffffffff
call fcn.0043e698
test bl, bl
je 0x41c2ec
push 0x45b2c4
mov ecx, edi
call fcn.0043e9b4
mov edi, dword [edi]
mov ecx, esi
push edi
push 0xffff0000
call fcn.0041c860
push ebp
push eax
mov ecx, esi
call fcn.0041c550
jmp 0x41c3a7
push 0xffff0000
push 0
push 0x1101
push edi
call ebx
lea edx, [esp + 0x18]
push edx
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x41c33d
push str.Error_Getting_Logical_DriveStrings_
lea ecx, [esi + 0x40]
call fcn.0043e7d5
xor eax, eax
jmp 0x41c3ac
mov al, byte [esp + 0x18]
lea ebx, [esp + 0x18]
test al, al
je 0x41c39a
push ebx
push 0xffff0000
mov ecx, esi
call fcn.0041c860
push ebx
mov ecx, esi
mov edi, eax
call fcn.0041cb70
test eax, eax
je 0x41c382
push 0xffff0002
push edi
push 0
push 0
push 0
push 0
push 0
push 0x4756c8
push 0x23
mov ecx, esi
call fcn.0043cd79
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [ebx + ecx + 1]
lea ebx, [ebx + ecx + 1]
test al, al
jne 0x41c349
push 0x4756c4
lea ecx, [esi + 0x4c]
call fcn.0043e7d5
mov eax, 1
mov ecx, dword [esp + 0x1f8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1f4
ret 8