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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456806
add esp, 0xfffffff0
call fcn.00403b80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a460
mov eax, dword [0x45e85c]
mov dword [eax + 4], ebx
mov dword [eax], 0x456b98
mov eax, dword [0x45e868]
mov dword [eax + 4], ebx
mov dword [eax], 0x456ba4
mov eax, ebx
call fcn.00456bb0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41225c]
call fcn.0040382c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41225c]
call fcn.0040382c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41225c]
call fcn.0040382c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41225c]
call fcn.0040382c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41225c]
call fcn.0040382c
mov dword [ebx + 0x7c], 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, 0x452648
push eax
push 0
push 0
mov eax, dword [0x45e9a4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41df8c]
call fcn.0041f7e0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41df8c]
call fcn.0041f7e0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41df8c]
call fcn.0041f7e0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00456fe0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456eb0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456eb0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456eb0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456943
call fcn.00403bd8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456c94
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456e3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456e20
mov dl, 1
mov eax, dword [0x412680]
call fcn.0040382c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404688
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456e0f
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.00449b9c
test al, al
je 0x456e02
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x456e50
lea eax, [ebp - 0x254]
call fcn.00409450
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456e02
xor eax, eax
push ebp
push 0x456dfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x456e88
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456de4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048f8
mov edx, dword [ebp - 0x260]
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 0x456de4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456e02
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456d05
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416360
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 0x456e46
lea eax, [ebp - 0x260]
call fcn.00404688
ret

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

Disassembly:
push ecx
mov eax, dword [0x4625a8]
cmp byte [eax + 0xad], 0
jne 0x457829
cmp dword [0x4625c0], 0
jne 0x4577ea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457774
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4625c0], eax
cmp dword [0x4625bc], 0
jne 0x457805
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4625bc], eax
cmp dword [0x4625c4], 0
jne 0x457829
push esp
push 0
push 0
push 0x457718
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4625c4], eax
pop edx
ret
Function at 0x4579fc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457a13
add esp, 0xfffffff0
call fcn.00403b80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a460
mov eax, dword [0x45e990]
cmp word [eax + 2], 0
jne 0x457a3b
mov eax, dword [0x45e990]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004594ac
mov eax, dword [0x45ea34]
cmp word [eax + 2], 0
jne 0x457a55
mov eax, dword [0x45ea34]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004596b8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41225c]
call fcn.0040382c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41225c]
call fcn.0040382c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41225c]
call fcn.0040382c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41ea9c]
call fcn.004260c8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x457c0c
mov eax, dword [0x45e8c0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042649c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459d78
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45e8c0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cc38
test eax, eax
je 0x457b5c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e08
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc6c
test eax, eax
je 0x457b70
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004048f8
mov byte [ebx + 0xd4], 0
push ebx
push 0x45900c
call fcn.0041b5dc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x45e7b8]
cmp byte [eax], 0
jne 0x457bc1
mov eax, ebx
call fcn.00457d50
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00459f54
mov eax, ebx
call fcn.0045aab4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457c01
call fcn.00403bd8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457fd0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4625a8]
cmp dword [eax + 0x30], 0
je 0x45807a
cmp dword [ebx + 0x94], 0
jne 0x458074
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457f60
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458074
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_GetWindowLongA
test al, 8
je 0x45803a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458074
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414608
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458049
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458d94
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x458dc9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404778
jmp 0x458dd6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046dc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a138
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a1a6
mov eax, esi
call fcn.0044485c
test al, al
je 0x45a1a6
mov eax, dword [ebx + 0x84]
call fcn.004444bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a1a6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45a19a
push 0
mov eax, dword [ebx + 0x84]
call fcn.004444bc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043c8a8
jmp 0x45a1a6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00459f74
pop esi
pop ebx
ret
Function at 0x525474
Capabilities:
Encode data using xor

Disassembly:
dec ebx
std
fnstsw word [ecx + 0x40]
xor eax, dword [eax - 0x71]
dec esi
sbb al, 0x75
add dword [ebx], esp
dec edx
cld
xor al, 0x7a
daa
aas
inc esp
test al, dh
invalid
lea eax, [0x51b84a]
call fcn.005065c5
dec eax
clc
lea esp, [eax - 0x3b]
imul edx, dword [eax - 0x7d], 0xbc36916b
add esi, dword [ebp + 0x7d4a87e3]
inc esp
jne 0x513a28
push ebp
int1
test dword [eax + 0x69cfacc6], esi
and byte [eax], al
mov ch, 0x60
sbb al, byte [eax + 0x76]
test esp, edi
in eax, dx
int3
push 0x7b1fc9c8
mov word [esp], 0xd9f
lea esp, [esp + 4]
jae 0x52652f
call fcn.00525d30
add byte [eax], dl
add byte [eax], al
dec eax
add byte [eax], al
add byte [ebx], cl
xor byte [edx + 0x30], al
pop ds
xor dword [0xdf31d931], esp
xor dword [ebp - 0x37cd4dce], eax
xor al, byte [ebp + 0x33]
loope 0x5145bc
int1
xor eax, 0x36a6361a
mov ebx, 0x44374836
cmp byte [edx + 0x38], dh
mov al, 0x38
out dx, eax
cmp byte [edi], ch
cmp dword [edi + 0x39], edx
jnp 0x5145d8
stosd dword es:[edi], eax
cmp cl, dh
cmp ah, dh
cmp ebp, esi
cmp al, 0x87
invalid
xor dword [eax + 0x31], esi
lodsd eax, dword [esi]
xor ah, al
xor ah, byte [eax]
xor esp, dword [edx + 0x3833d033]
xor eax, 0x36d1364b
sub eax, 0xff39f039
cmp ah, byte [edi]
cmp ebx, ecx
cmp esp, eax
cmp esp, edi
cmp ebp, dword [ebp + 0x3c]
mov byte [esi + edx*4], bh
cmp al, 0x87
cmp eax, 0x3f823f63
mov edx, 0x3f
xor byte [eax], al
add byte [eax], ch
sub byte [eax], al
add byte [eax], al
adc byte [eax], dh
salc
xor ch, dh
xor bh, byte [esi]
xor eax, 0x35be355f
out 0x36, eax
cmp byte [bx + 0x3a], dl
mov cl, 0x3c
retf 0x423c
call fcn.00517e85
jmp 0x51454f
lea esp, [esp + 8]
jne 0x5207f2
lahf
lahf
movsx ax, cl
mov byte [edi - 1], 0
pushal
push 0xf69d4453
pushfd
mov dword [esp + 0x24], ebx
pop eax
lahf
not eax
jmp 0x513a64
Function at 0x4019c4
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov ecx, 0x570380
jmp 0x4019b8
mov eax, 0x4c8f4a
call fcn.0049cc64
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004185ac
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
call fcn.00401a99
push 1
lea ecx, [esi + 0x30]
pop ebx
mov byte [ebp - 4], bl
call fcn.0042ca01
mov eax, dword [0x56bc10]
lea ecx, [esi + 0x58]
mov dword [ecx], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x5c], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x70], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x78], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov edi, 0x570404
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x4d2950
mov dword [esi + 0x14], 0x4d294c
mov dword [esi + 0x30], 0x4d2940
mov dword [esi + 0x50], ebx
call fcn.004b9715
push edi
lea ecx, [esi + 0x5c]
call fcn.004b9715
and dword [esi + 0x6c], 0
push edi
lea ecx, [esi + 0x70]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], 0x80
mov dword [esi + 0x68], 0x48
call fcn.004b9715
and dword [esi + 0x74], 0
push edi
lea ecx, [esi + 0x78]
call fcn.004b9715
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40540d
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4c953c
call fcn.0049cc64
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push 0x570404
lea ecx, [ebp - 0x10]
call fcn.004b95f2
add esi, 0x200
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00406a01
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x4054b1
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00406a15
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc8]
cmp dword [eax + 0x74], 0x64
jne 0x4054ac
cmp dword [eax + 0x7c], 0x64
jne 0x4054ac
push dword [eax + 0x5c8]
lea edi, [eax + 0x5c8]
call ebx
test eax, eax
je 0x4054aa
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x405487
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b996f
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b996f
push edi
lea ecx, [ebp - 0x10]
call fcn.004b99ab
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b996f
xor edi, edi
cmp dword [ebp - 0x18], edi
jne 0x40543d
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x4054f3
lea eax, [ebp - 0x14]
push eax
call fcn.00402057
pop ecx
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x4054d8
push 5
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x4054e4
push 1
push edi
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004b957e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b957e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40839f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4c980c
call fcn.0049cc64
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
sub esp, 0x10
mov esi, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
push esi
call fcn.0040831b
mov eax, dword [esi]
push 0x404040
mov ecx, esi
call dword [eax + 0x30]
push dword [ebp + 0x10]
dec dword [ebx + 0xc]
lea ecx, [ebp + 0xc]
mov edi, eax
call fcn.004b95f2
mov eax, dword [eax]
mov edx, dword [esi]
and dword [ebp - 4], 0
push 0x8825
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004b957e
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10

Function at 0x40a2dc
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4d39c0
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.0049d040
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040a650
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40aec6
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.0049d040
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4
Function at 0x410b44
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ca270
call fcn.0049cc64
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.004b95f2
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x410b7e
push eax
mov ecx, esi
call fcn.004bcbce
or ebx, 0xffffffff
jmp 0x410c10
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x410bf0
mov eax, dword [esi]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0xd4]
push ebx
mov ecx, esi
call fcn.004b6bb0
cmp dword [ebp - 0x10], edi
jge 0x410bda
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410bda
push edi
push 1
push dword [ebp + 8]
call fcn.00416285
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
call dword [eax + 0xd8]
jmp 0x410bfe
push dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xf0]
mov ebx, eax
push edi
push ebx
push 0x14e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b957e
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4118e5
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4ca340
call fcn.0049cc64
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004c00cb
cmp dword [esi], 0
mov ebx, eax
je 0x411932
lea eax, [ebp - 0x8c]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x8c]
push eax
call fcn.00417898
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x411965
mov eax, dword [ebp + 0x10]
push 1
push 1
push 0
push dword [eax + 4]
push dword [eax]
lea eax, [ebp + 0x10]
push eax
call fcn.0041769f
add esp, 0x18
push dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
call fcn.004bf9e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004b957e
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x412368
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4ca520
call fcn.0049cc64
push ecx
mov eax, dword [0x56bc10]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x56bc10]
and dword [ebp - 4], 0
mov dword [esi + 0x20], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x24], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x28], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x2c], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x30], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x34], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], 0x4d59d4
mov dword [esi + 0xc], eax
call fcn.00417041
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x413d90
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x415631
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 0x60]
lea ebx, [esi + 4]
mov dword [ebp - 4], eax
push ebx
mov dword [eax], edi
lea eax, [esi + 0x14]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
mov dword [esi + 0x5c], edi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x415669
or eax, 0xffffffff
jmp 0x4156de
cmp dword [ebp + 0xc], edi
mov dword [esi + 0x5c], 0xa
je 0x4156a5
mov dword [ebp + 8], edi
push 0x64
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4156af
mov eax, dword [ebp + 0xc]
cmp dword [eax], edi
je 0x415678
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x415678
push 1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4156af
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], 0x64
cmp eax, edi
je 0x4156c6
cmp dword [eax], edi
je 0x4156c6
push 1
pop eax
jmp 0x4156de
mov esi, dword [ebp - 4]
push esi
push dword [ebx]
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4156e5
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea eax, [esi + 0x60]
lea edi, [esi + 4]
mov dword [ebp - 4], eax
push edi
mov dword [eax], ebx
lea eax, [esi + 0x14]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
mov dword [esi + 0x5c], ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41571d
or eax, 0xffffffff
jmp 0x415795
cmp dword [ebp + 0xc], ebx
mov dword [esi + 0x5c], 0xa
je 0x41575c
mov dword [ebp + 8], ebx
push 0x64
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x415766
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x10]
jne 0x41572c
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x41572c
push 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x415766
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], 0x64
cmp eax, ebx
je 0x41577d
cmp dword [eax], ebx
je 0x41577d
push 1
pop eax
jmp 0x415795
mov esi, dword [ebp - 4]
push esi
push dword [edi]
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc