joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41029a
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x468c58], 0
jne 0x4102ce
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040d2c2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.004422d4
pop ecx
test esi, esi
pop esi
jmp 0x4102d9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4102df
mov al, 1
jmp 0x4102e1
xor al, al
leave
ret 4

Function at 0x4102e5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x468c58], 0
jne 0x41031b
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040d2c2
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.004422d4
pop ecx
test esi, esi
pop esi
jmp 0x410328
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41032e
mov al, 1
jmp 0x410330
xor al, al
leave
ret 4

Function at 0x410474
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00410f18
cmp eax, 0xffffffff
je 0x4104a1
mov ecx, eax
and cl, 0x11
cmp cl, 1
jne 0x4104a1
and eax, 0xfffffffe
push eax
push esi
call fcn.0041016e
test al, al
je 0x4104d9
cmp byte [0x468c58], 0
push esi
jne 0x4104cb
lea eax, [ebp - 0xc]
push eax
call fcn.0040d2c2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.004422d4
pop ecx
test esi, esi
jmp 0x4104d3
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4104d9
mov al, 1
jmp 0x4104db
xor al, al
pop esi
leave
ret 4

Function at 0x410d46
Capabilities:
Create directory

Disassembly:
push 0x44
mov eax, 0x451230
call fcn.0044231e
cmp byte [0x468c58], 0
mov edi, dword [ebp + 8]
jne 0x410d86
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.0040d2c2
xor ebx, ebx
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.004422d4
pop ecx
test esi, esi
je 0x410d94
mov al, 1
jmp 0x410dda
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x410d80
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x410da5
xor al, al
jmp 0x410dda
lea ecx, [ebp - 0x50]
call fcn.00410f63
lea ecx, [ebp - 0x28]
call fcn.0040c764
push ebx
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.00411026
test al, al
je 0x410dcf
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.004422d4
pop ecx
mov al, bl
call fcn.004422e7
ret 4
Function at 0x410f18
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x468c58], 0
jne 0x410f4c
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040d2c2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.004422d4
pop ecx
mov eax, esi
pop esi
jmp 0x410f5f
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 0x411857
Capabilities:
Get disk information

Disassembly:
push 0x2c
mov eax, 0x451352
call fcn.0044231e
mov ecx, dword [ebp + 8]
call fcn.0040b0c2
cmp byte [0x468c58], 0
jne 0x411947
mov ecx, dword [ebp + 8]
call fcn.0040b0c2
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
jne 0x41189a
xor al, al
jmp 0x411a02
push edi
call fcn.004422cb
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 0x4119f9
cmp edi, dword [ebp - 0x18]
ja 0x4119f9
lea ecx, [ebp - 0x2c]
call fcn.0040bd76
mov byte [ebp - 4], 1
test edi, edi
je 0x41193d
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 0x41192e
lea eax, [ebx + esi]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040be50
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040d2a1
mov edi, eax
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0040b144
mov ecx, dword [ebp + 8]
push edi
call fcn.0040b07e
push dword [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004422d4
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 0x4118e2
mov edi, dword [ebp - 0x1c]
push dword [ebp - 0x2c]
cmp ebx, edi
jmp 0x4119f0
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
je 0x411893
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040f022
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 0x4119f9
cmp edi, dword [ebp - 0x18]
ja 0x4119f9
lea ecx, [ebp - 0x38]
call fcn.0040c764
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 0x4119eb
push 2
pop ecx
mov dword [ebp - 0x14], ecx
cmp word [esi + ecx - 2], bx
jne 0x4119da
lea eax, [edx + esi]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040c8fd
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 0x18], eax
call fcn.0040b144
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.0040b07e
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 0x4119a4
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x38]
cmp edx, edi
sete bl
call fcn.004422d4
pop ecx
push esi
call fcn.004422d4
mov al, bl
pop ecx
call fcn.004422e7
ret 4
Function at 0x411c75
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411c9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x411c9f
xor al, al
jmp 0x411cb3
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x41d530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
test esi, esi
je 0x41d540
mov dword [esi], edi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41d586
push edi
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
add dword [ecx + 8], edx
adc dword [ecx + 0xc], edi
test esi, esi
je 0x41d57b
add dword [esi], edx
test eax, eax
jne 0x41d586
call fcn.0041d58e
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x42645d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45285a
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x465044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0xa8]
call fcn.0042650a
lea ecx, [esi + 0x78]
call fcn.0042650a
push dword [esi + 0x30]
call fcn.004422d4
push dword [esi + 0x24]
call fcn.004422d4
push dword [esi + 0x18]
call fcn.004422d4
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4264c1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x4264d5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x4264e9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4264fc
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 0x426562
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451bea
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x465044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00428869
lea ecx, [esi + 0x30]
call fcn.0042650a
push dword [esi + 0x24]
call fcn.004422d4
pop ecx
lea ecx, [esi + 0xc]
call fcn.0040af80
mov ecx, esi
call fcn.00426423
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x42a5fe
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp + 8]
shr eax, 0xf
and al, 1
movzx ecx, word [edx + 0xc]
mov edx, ecx
cmp edx, 8
je 0x42a643
cmp edx, 0x52
je 0x42a632
cmp ecx, 0x76
jne 0x42a63f
mov ecx, esi
call fcn.0042ae17
jmp 0x42a64a
test al, al
je 0x42a63f
mov ecx, esi
call fcn.0042ac88
jmp 0x42a64a
xor al, al
jmp 0x42a64c
mov ecx, esi
call fcn.0042ad12
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x42ca60
Capabilities:
Get file system object information

Disassembly:
push 0x1d4
mov eax, 0x453551
call fcn.00442352
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1d4]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1a4], eax
call fcn.0040c764
and dword [ebp - 4], 0
cmp byte [edi], 0
je 0x42cae5
push dword [edi + 0xc]
lea eax, [ebp - 0x1e0]
push dword [edi + 8]
push eax
call fcn.0042c986
push eax
push 0xdb0
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 1
push eax
call fcn.0042ca21
push eax
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 2
call fcn.0040c95f
push dword [ebp - 0x1b0]
call fcn.004422d4
push dword [ebp - 0x1e0]
mov byte [ebp - 4], 0
call fcn.004422d4
pop ecx
pop ecx
lea eax, [edi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1a0], eax
call fcn.0040ccdf
mov esi, eax
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.0040c62b
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x1bc]
add eax, 2
mov byte [ebp - 4], 3
lea eax, [eax + esi*2]
push eax
call fcn.0040c852
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.0042cd73
lea eax, [ebp - 0x1bc]
mov ecx, ebx
push eax
call fcn.0042cd73
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040c888
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 5
call fcn.0040cb14
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040cb84
lea ecx, [ebp - 0x19c]
call fcn.0040cb14
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040cb84
lea ecx, [ebp - 0x19c]
call fcn.0040cb14
cmp byte [edi + 1], 0
je 0x42cbe3
push 0x3f4
lea eax, [ebp - 0x19c]
push eax
call fcn.0042c602
push 0x455970
lea ecx, [ebp - 0x19c]
call fcn.0040cbc2
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00413289
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040cbc2
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x19c]
push eax
call fcn.004144d3
push 0
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x1b0]
push eax
call fcn.0040d6e4
push pe_nt_image_headers32
push 0x160
lea eax, [ebp - 0x190]
push eax
push 0x80
push dword [ebp - 0x1b0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1b0]
mov esi, eax
call fcn.004422d4
pop ecx
test esi, esi
je 0x42cc64
push dword [ebp - 0x1a4]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x190]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x19c]
call fcn.004422d4
push dword [ebp - 0x1bc]
call fcn.004422d4
push dword [ebp - 0x1c8]
call fcn.004422d4
push dword [ebp - 0x1d4]
call fcn.004422d4
add esp, 0x10
call fcn.004422fc
ret 0xc
Function at 0x42cc9b
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x10]
push eax
push 0x64
push 0x66
call fcn.0042ca60
lea eax, [edi + 0x38]
mov ecx, edi
push eax
push 0x65
push 0x67
call fcn.0042ca60
mov ecx, edi
call fcn.0040f5c2
cmp byte [edi + 9], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x42cd02
push 0x1b8
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1b9
push dword [edi + 4]
call ebx
push 0
push eax
call esi
push 0xdb1
push dword [edi + 4]
call ebx
push 0
push eax
call esi
cmp byte [edi + 0xa], 0
je 0x42cd2d
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 7
push 0x401
push dword [edi + 4]
call esi
push 7
push dword [edi + 4]
call ebx
push 1
push eax
push 0x28
push dword [edi + 4]
call esi
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x42e483
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov eax, dword [edx]
lea esi, [edi + 0xb4]
cmp eax, dword [esi]
jne 0x42e4b6
cmp dword [edx + 8], 0xffffff65
jne 0x42e4b6
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x42e4d8
sub eax, 0x14
je 0x42e4be
dec eax
sub eax, 1
je 0x42e4d8
xor al, al
pop edi
pop esi
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x42e4b6
mov ecx, esi
call fcn.0042f909
mov al, 1
jmp 0x42e4b8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x42e4b6
mov ecx, edi
call fcn.0042e4f0
jmp 0x42e4d4

Function at 0x42ec29
Capabilities:
Hide graphical window

Disassembly:
push 0x44
mov eax, 0x453837
call fcn.0044231e
mov ebx, ecx
push 0
call fcn.0042f92d
push 1
mov ecx, ebx
call fcn.0042d456
push 0x198
lea eax, [ebp - 0x20]
push eax
call fcn.00413692
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x20]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push dword [ebx + 4]
call edi
push esi
push eax
call fcn.004144d3
push dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
call fcn.004422d4
pop ecx
push 1
push 1
push 0xf4
push 2
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1bc
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1be
push dword [ebx + 4]
call edi
push 0
push eax
call esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
lea ecx, [ebp - 0x50]
call fcn.0042f473
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.0042f473
lea esi, [ebx + 0x200]
mov dword [ebp - 4], 2
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x1c8]
lea edi, [ebx + 0x1d0]
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], eax
call fcn.0042f61c
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.0042f61c
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x40], 0
je 0x42ed56
cmp dword [ebp - 0x4c], 0
mov byte [ebx + 0x21b], 1
jne 0x42ed40
push str.7_Zip
lea ecx, [ebp - 0x50]
call fcn.0040ca85
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [ebp - 0x10]
jmp 0x42ed8c
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x42ed90
mov byte [ebx + 0x21b], 1
cmp dword [ebp - 0x28], esi
je 0x42ed8c
cmp dword [ebp - 0x34], esi
jne 0x42ed7b
push str.7_Zip
lea ecx, [ebp - 0x38]
call fcn.0040ca85
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
test esi, esi
je 0x42eda9
cmp byte [ebx + 0x156], 0
jne 0x42eda9
mov ecx, ebx
mov byte [ebx + 0x155], 1
call fcn.0042e9b9
jmp 0x42edb4
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.0042f5b8
mov al, 1
call fcn.004422e7
ret
Function at 0x42fc22
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x465044]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x468c58], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x42fc8f
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040d2c2
push 0x4010
push 0x160
mov ecx, dword [eax]
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp + 0xc]
or eax, 0x80
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.004422d4
pop ecx
mov ecx, dword [ebp - 0x160]
mov eax, esi
pop esi
jmp 0x42fcbc
mov eax, dword [0x468c50]
test eax, eax
je 0x42fcb6
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0044204a
leave
ret 0xc

Function at 0x42fd55
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x465044]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x164]
cmovne ecx, edx
push ecx
push 0x160
push eax
push 0x90
push 0x4547b2
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044204a
leave
ret 4

Function at 0x4307b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4307db
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4307db
xor al, al
jmp 0x4307ef
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 8
Function at 0x441846
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x465044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push 0x208
push esi
push eax
call fcn.00443cd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4418e2
push edi
push esi
call fcn.004307b0
push dword [edi]
and dword [ebp - 0x210], 0
call fcn.004422cb
pop ecx
push 0
lea ecx, [ebp - 0x210]
mov dword [ebx], eax
push ecx
push dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044204a
leave
ret 8
Function at 0x45dbc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4fcf4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004f175e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x45dc42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ef374
mov eax, dword [eax]
push 0x56ace8
push eax
call fcn.004e1214
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004f19e9
test bl, bl
je 0x45dc42
push 0x56ace8
lea ecx, [esp + 0xc]
call fcn.004f1d79
push 0x56acf4
lea ecx, [esp + 0xc]
call fcn.004f1d79
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x45dc7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004f19e9
jmp 0x45dd49
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x45dd02
lea edx, [esp + 0x7c]
push 0x56acf0
push edx
call fcn.004e1214
add esp, 8
test eax, eax
je 0x45dd02
lea eax, [esp + 0x7c]
push 0x56acec
push eax
call fcn.004e1214
add esp, 8
test eax, eax
je 0x45dd02
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45dc92
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004f19e9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x45e550
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x45e5b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x45e5c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4fcfcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x581fc0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x45e6f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x45e626
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004f19e9
xor eax, eax
jmp 0x45e76f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004f1b26
push esi
lea ecx, [esp + 0xc]
call fcn.004f1db5
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x56ad28
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45e74d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0045e550
test eax, eax
jne 0x45e74d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0045e550
test eax, eax
jne 0x45e74d
lea eax, [esp + 0x14]
push 0x56ad04
push eax
call fcn.004e2410
mov esi, eax
add esp, 8
test esi, esi
jne 0x45e72c
lea ecx, [esp + 0x14]
push 0x56ad00
push ecx
call fcn.004e2390
mov esi, eax
add esp, 8
test esi, esi
jne 0x45e72c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45e72f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004f1ad6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45e63e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004f19e9
xor eax, eax
jmp 0x45e76f
mov byte [esi], 0
push 0x56acfc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004f19e9
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4