joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c1a8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004079ab
mov dword [ebp - 0x14], eax
cmp dword [0x448f00], esi
jne 0x40c29b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c228
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c37b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c37b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c37b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x448f00], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x448f04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x448f08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x448f10], eax
test eax, eax
je 0x40c298
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x448f0c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c2c0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c2b3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c2d5
push 4
pop eax
jmp 0x40c37d
cmp dword [ebp - 0x14], esi
je 0x40c2d5
push dword [0x448f00]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c2ba
mov eax, dword [0x448f0c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c333
cmp dword [0x448f10], edi
je 0x40c333
push eax
call ebx
push dword [0x448f10]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c333
test eax, eax
je 0x40c333
call ecx
test eax, eax
je 0x40c328
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c328
test byte [ebp - 8], 1
jne 0x40c333
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c363
mov eax, dword [0x448f04]
cmp eax, edi
je 0x40c360
push eax
call ebx
test eax, eax
je 0x40c360
call eax
mov esi, eax
test esi, esi
je 0x40c360
mov eax, dword [0x448f08]
cmp eax, edi
je 0x40c360
push eax
call ebx
test eax, eax
je 0x40c360
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x448f00]
call ebx
test eax, eax
je 0x40c37b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c37d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403b15
mov esp, ebp
pop ebp
ret
Function at 0x1000aea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x78a5b], al
inc dword [eax]
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.10009322
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.10009283
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x1000b28a
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.10009312
xchg ebx, eax
adc eax, 0x60b5ff1b
cld
invalid
Function at 0x40376a
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push dword [ebp + 0x10]
xor ebx, ebx
push 0x2002
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.004059db
test al, al
jne 0x403794
lea ecx, [ebp - 4]
call fcn.004059fc
xor al, al
jmp 0x4037ae
push esi
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
jne 0x4037b3
lea ecx, [ebp - 4]
call fcn.004059fc
xor al, al
pop esi
pop ebx
leave
ret 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00427cd0
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
jne 0x4037e5
lea ecx, [ebp - 4]
call fcn.004059fc
mov al, bl
jmp 0x4037ad
mov dword [ebp - 4], ebx
mov bl, 1
jmp 0x4037d9

Function at 0x4037f1
Capabilities:
Open clipboard

Disassembly:
mov eax, 0x4320b2
call fcn.00427c2c
sub esp, 0x1c
push esi
mov esi, edx
and dword [ebp - 4], 0
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
jne 0x40382f
lea ecx, [ebp - 0xd]
call fcn.00403748
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x403849
xor bl, bl
lea ecx, [ebp - 0xd]
call fcn.00403748
mov al, bl
pop ebx
jmp 0x403822
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea eax, [eax + eax + 2]
push eax
push ecx
push 0xd
call fcn.0040376a
push 0
mov edx, esi
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00402e2d
mov eax, dword [ebp - 0x18]
inc eax
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push 1
call fcn.0040376a
test al, al
je 0x403882
mov bl, 1
push 1
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00402e2d
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0040211e
push dword [ebp - 0x28]
call fcn.00401dfb
mov eax, dword [ebp - 0x18]
pop ecx
inc eax
push eax
push dword [ebp - 0x1c]
push 7
call fcn.0040376a
test al, al
je 0x4038b9
mov bl, 1
push dword [ebp - 0x1c]
call fcn.00401dfb
pop ecx
jmp 0x40383c

Function at 0x403bb8
Capabilities:
Set file attributes

Disassembly:
test edx, 0xf0000000
je 0x403bc6
and edx, 0x3fff
jmp fcn.00403b6e

Function at 0x403bcb
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x43cea8], 0
jne 0x403c01
mov edx, ecx
push esi
lea ecx, [ebp - 0xc]
call fcn.0040292f
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00401dfb
pop ecx
test esi, esi
pop esi
je 0x403c0c
mov al, 1
leave
ret
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jmp 0x403bfb
xor al, al
leave
ret
Function at 0x403c10
Capabilities:
Move file

Disassembly:
mov eax, 0x4320c4
call fcn.00427c2c
sub esp, 0x18
cmp byte [0x43cea8], 0
push edi
mov edi, ecx
jne 0x403c6b
push esi
lea ecx, [ebp - 0x24]
call fcn.0040292f
mov esi, eax
and dword [ebp - 4], 0
mov edx, edi
lea ecx, [ebp - 0x18]
call fcn.0040292f
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.00401dfb
push dword [ebp - 0x24]
call fcn.00401dfb
pop ecx
pop ecx
test esi, esi
pop esi
je 0x403c77
mov al, 1
jmp 0x403c79
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jmp 0x403c65
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret

Function at 0x403c86
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x43cea8], 0
jne 0x403cbf
mov edx, ecx
push esi
lea ecx, [ebp - 0xc]
call fcn.0040292f
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00401dfb
pop ecx
test esi, esi
pop esi
je 0x403ccc
mov al, 1
leave
ret
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x403cb9
xor al, al
leave
ret

Function at 0x403cda
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.004044ff
cmp eax, 0xffffffff
je 0x403d05
test al, 0x10
jne 0x403d05
test al, 1
je 0x403d05
mov edx, eax
and edx, 0xfffffffe
mov ecx, esi
call fcn.00403b6e
test al, al
je 0x403d3e
cmp byte [0x43cea8], 0
jne 0x403d33
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.0040292f
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00401dfb
pop ecx
test esi, esi
je 0x403d3e
mov al, 1
jmp 0x403d40
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jmp 0x403d2d
xor al, al
pop esi
leave
ret

Function at 0x403d4d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4332b5
call fcn.00427c2c
sub esp, 0x320
push esi
mov esi, ecx
and dword [esi + 4], 0
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
push edi
cmp byte [0x43cea8], cl
jne 0x403db3
lea eax, [ebp - 0x120]
push eax
push 0x105
mov byte [ebp - 0x120], cl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.0040297e
and dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004024f9
push dword [ebp - 0x18]
call fcn.00401dfb
pop ecx
jmp 0x403dde
xor eax, eax
mov word [ebp - 0x32c], ax
lea eax, [ebp - 0x32c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
lea eax, [ebp - 0x32c]
push eax
mov ecx, esi
call fcn.00402499
mov ecx, dword [ebp - 0xc]
dec edi
mov eax, 0x103
cmp eax, edi
sbb eax, eax
pop edi
inc eax
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x403e8f
Capabilities:
Create directory

Disassembly:
mov eax, 0x4320e6
call fcn.00427c2c
sub esp, 0x60
push esi
mov esi, ecx
call fcn.004044ff
cmp eax, 0xffffffff
je 0x403eb4
test al, 0x10
je 0x403eb4
mov al, 1
jmp 0x40408a
mov ecx, esi
call fcn.00405425
test al, al
je 0x403ec6
xor al, al
jmp 0x40408a
push ebx
push edi
mov ecx, esi
call fcn.00405567
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call fcn.004023bf
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004027d0
test eax, eax
js 0x403f17
mov edx, dword [ebp - 0x18]
lea ecx, [edx - 1]
cmp eax, ecx
jne 0x403f17
cmp edx, 1
jne 0x403f0b
mov bl, dl
push dword [ebp - 0x1c]
call fcn.00401dfb
mov al, bl
jmp 0x404087
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x18], ecx
mov word [edx + ecx*2], ax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402432
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp byte [0x43cea8], 0
mov edx, dword [ebp - 0x1c]
mov ebx, edx
jne 0x403f5a
lea ecx, [ebp - 0x34]
call fcn.0040292f
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x34]
mov edi, eax
call fcn.00401dfb
pop ecx
test edi, edi
jmp 0x403f65
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40404b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
jne 0x403fc1
lea ecx, [ebp - 0x6c]
call fcn.00404101
lea ecx, [ebp - 0x44]
call fcn.0040237b
push 0
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.004046bf
push dword [ebp - 0x44]
mov byte [ebp - 4], 1
test al, al
jne 0x403fac
call fcn.00401dfb
pop ecx
jmp 0x403fc1
mov ebx, dword [ebp - 0x4c]
shr ebx, 4
call fcn.00401dfb
and bl, 1
pop ecx
jne 0x40404b
call edi
cmp eax, 0xb7
je 0x404064
lea ecx, [ebp - 0x1c]
call fcn.004027d0
mov esi, eax
test esi, esi
js 0x404074
je 0x404074
mov ecx, dword [ebp - 0x1c]
cmp esi, 1
jne 0x403ffb
movzx eax, word [ecx]
cmp eax, 0x5c
je 0x404064
cmp eax, 0x2f
je 0x404064
lea eax, [esi + 1]
cmp dword [ebp - 0x10], eax
jae 0x404064
cmp esi, dword [ebp - 0x18]
jae 0x403f2a
xor eax, eax
mov dword [ebp - 0x18], esi
mov word [ecx + esi*2], ax
jmp 0x403f2a
mov eax, dword [ebp - 0x28]
lea ecx, [eax + esi*2 + 2]
call fcn.004051bc
test eax, eax
jns 0x40402f
mov esi, dword [ebp - 0x24]
jmp 0x404033
lea esi, [esi + eax + 1]
push esi
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
call fcn.00402551
mov ecx, dword [ebp - 0x1c]
call fcn.00403c86
test al, al
je 0x404064
cmp esi, dword [ebp - 0x24]
jl 0x40401a
push dword [ebp - 0x28]
call fcn.00401dfb
push dword [ebp - 0x1c]
call fcn.00401dfb
mov al, 1
jmp 0x404086
push dword [ebp - 0x28]
call fcn.00401dfb
pop ecx
xor bl, bl
jmp 0x403efc
push dword [ebp - 0x28]
call fcn.00401dfb
push dword [ebp - 0x1c]
call fcn.00401dfb
xor al, al
pop ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4044ff
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x43cea8], 0
jne 0x404531
mov edx, ecx
push esi
lea ecx, [ebp - 0xc]
call fcn.0040292f
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00401dfb
pop ecx
mov eax, esi
pop esi
leave
ret
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40453f
or eax, eax
leave
ret

Function at 0x404bdb
Capabilities:
Get disk information

Disassembly:
mov eax, 0x43217e
call fcn.00427c2c
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
call fcn.00401bfe
cmp byte [0x43cea8], 0
jne 0x404cb8
mov ecx, dword [ebp - 0x14]
call fcn.00401bfe
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor edi, edi
push edi
push edi
call esi
mov ebx, eax
cmp ebx, edi
je 0x404d63
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0040d9c5
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x1c]
push edi
push ebx
call esi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x404cb2
cmp eax, ebx
ja 0x404cb2
lea ecx, [ebp - 0x2c]
call fcn.00402079
xor esi, esi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x10], esi
jbe 0x404c97
mov eax, dword [ebp - 0x10]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x18], eax
cmp byte [edi + ebx - 1], 0
jne 0x404c91
add esi, edi
push esi
lea ecx, [ebp - 0x2c]
call fcn.004020c9
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x38]
mov esi, ebx
call fcn.004029a4
mov ecx, dword [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.00401195
push dword [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401dfb
pop ecx
inc ebx
dec dword [ebp - 0x18]
jne 0x404c58
push dword [ebp - 0x2c]
call fcn.00401dfb
push edi
call fcn.00401dfb
cmp esi, dword [ebp - 0x10]
pop ecx
pop ecx
sete al
jmp 0x404d65
push edi
jmp 0x404d5d
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call esi
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x404d63
push edi
lea ecx, [ebp - 0x1c]
call fcn.00404680
mov ebx, dword [ebp - 0x1c]
push ebx
push edi
mov dword [ebp - 4], 3
call esi
mov edi, eax
xor esi, esi
mov dword [ebp - 0x18], edi
cmp edi, esi
je 0x404d5c
cmp edi, dword [ebp - 0x10]
ja 0x404d5c
lea ecx, [ebp - 0x38]
call fcn.0040237b
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], esi
test edi, edi
je 0x404d46
push 2
xor eax, eax
pop edi
cmp word [ebx + edi - 2], 0
jne 0x404d3a
add eax, ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402499
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x20], edi
call fcn.00401195
mov eax, edi
inc esi
add edi, 2
cmp esi, dword [ebp - 0x18]
jb 0x404d10
mov edi, dword [ebp - 0x18]
push dword [ebp - 0x38]
call fcn.00401dfb
push ebx
call fcn.00401dfb
cmp dword [ebp - 0x10], edi
jmp 0x404ca8
push ebx
call fcn.00401dfb
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x404db1
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404ddb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x404ddb
xor al, al
jmp 0x404df0
mov edx, dword [ebp - 4]
xor eax, eax
xor ecx, ecx
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x4055b0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4332b5
call fcn.00427c2c
and dword [esi + 4], 0
mov eax, dword [esi]
xor ecx, ecx
sub esp, 0x320
mov word [eax], cx
push edi
cmp byte [0x43cea8], cl
jne 0x405613
lea eax, [ebp - 0x120]
push eax
push 0x105
mov byte [ebp - 0x120], cl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.0040297e
and dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004024f9
push dword [ebp - 0x18]
call fcn.00401dfb
pop ecx
jmp 0x40563e
xor eax, eax
mov word [ebp - 0x32c], ax
lea eax, [ebp - 0x32c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
lea eax, [ebp - 0x32c]
push eax
mov ecx, esi
call fcn.00402499
mov ecx, dword [ebp - 0xc]
dec edi
mov eax, 0x103
cmp eax, edi
sbb eax, eax
inc eax
pop edi
mov dword fs:[0], ecx
leave
ret

Function at 0x4065f9
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4332b5
call fcn.00427c2c
sub esp, 0xc
cmp byte [0x43cea8], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x40666f
mov esi, dword [ebp + 8]
and dword [esi + 4], 0
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jne 0x40663d
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
jmp 0x4066a0
cmp edi, dword [esi + 8]
jbe 0x40664a
push edi
mov ecx, esi
call fcn.004021d1
mov eax, dword [esi]
lea ecx, [edi + 1]
push ecx
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp edi, eax
jbe 0x40665f
mov edi, eax
push edi
mov ecx, esi
call fcn.00405dac
test edi, edi
je 0x406630
mov al, 1
jmp 0x4066a0
lea ecx, [ebp - 0x18]
call fcn.00402079
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.00406596
mov ecx, dword [ebp + 8]
push 0
lea edx, [ebp - 0x18]
mov bl, al
call fcn.00402c23
push dword [ebp - 0x18]
call fcn.00401dfb
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40dbc3
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4328ba
call fcn.00427c2c
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
call fcn.0040237b
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040d852
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40dc19
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4328ed
call fcn.00427c2c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.00410b3e
lea ecx, [esi + 0x30]
call fcn.0040d89b
push dword [esi + 0x24]
call fcn.00401dfb
pop ecx
lea ecx, [esi + 0xc]
call fcn.00411d4a
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040db65
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4113b8
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
xor eax, eax
test cl, cl
sete al
dec eax
and eax, 0xffffff01
add eax, 0x100
or eax, 0x4010
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0x90
push 0x434861
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
add esp, 0x160
ret

Function at 0x411ca4
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x432d40
call fcn.00427c2c
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x434f30
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
call fcn.0040237b
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040237b
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.0040237b
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4125d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, 0x432e23
call fcn.00427c2c
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x434f68
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov byte [esi + 0x45], bl
call fcn.0040237b
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.0040237b
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.0040237b
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.0040237b
mov byte [esi + 0x7c], 1
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 7
call fcn.0040237b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4125dc
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, 0x432e23
call fcn.00427c2c
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x434f68
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov byte [esi + 0x45], bl
call fcn.0040237b
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.0040237b
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.0040237b
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.0040237b
mov byte [esi + 0x7c], 1
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 7
call fcn.0040237b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret