joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4462d4
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xffffffb0
mov ebp, eax
call fcn.0040f8f0
test eax, eax
je 0x4462f9
mov eax, ebp
call fcn.0043aa8f
jmp 0x446409
xor ebx, ebx
xor esi, esi
mov eax, 0x4b982c
xor ecx, ecx
xor edx, edx
call fcn.00463634
jmp 0x44635a
lea edx, [esp + 0xc30]
mov eax, esp
call fcn.0040a580
lea ecx, [esp + 0xc30]
push ecx
call fcn.0048d454
pop ecx
mov edi, eax
inc edi
lea eax, [edi + esi + 1]
push eax
push ebx
call fcn.0048c1d4
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x446409
lea edx, [esp + 0xc30]
push edx
lea ecx, [esi + ebx]
push ecx
call fcn.0048d424
add esp, 8
add esi, edi
mov edx, esp
mov eax, 0x4b982c
xor ecx, ecx
call fcn.00463634
test al, al
jne 0x44630d
test esi, esi
jne 0x446395
push 0x30
mov eax, 0x65
call fcn.004117b8
push eax
mov eax, 0x14c
call fcn.004117b8
push eax
push dword [0x4b9818]
call sub.USER32.DLL_MessageBoxA
jmp 0x446409
mov byte [ebx + esi], 0
push 0x1e
push 0
lea edx, [esp + 0x1038]
push edx
call fcn.0048d2a4
add esp, 0xc
mov ecx, dword [0x4b9818]
mov dword [esp + 0x1030], ecx
mov dword [esp + 0x1034], 3
test ebp, ebp
je 0x4463d3
mov word [esp + 0x1040], 0x40
mov dword [esp + 0x1038], ebx
lea eax, [esp + 0x1030]
push eax
call sub.SHELL32.DLL_SHFileOperationA
test eax, eax
sete dl
and edx, 1
test ebx, ebx
je 0x4463fa
push ebx
call fcn.0048c1c4
pop ecx
mov edx, 0x49c965
mov eax, 0x4b982c
call fcn.0045e284
add esp, 0x1050
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4498f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
cmp byte [ebp + 8], 0
je 0x449932
push ebx
push 0x400
mov edx, 0x49caca
mov eax, 0x49d4cc
mov ecx, edi
call fcn.0046582c
cmp byte [edi], 0
jne 0x449935
push ebx
push edi
call fcn.0048d424
add esp, 8
jmp 0x449935
mov byte [edi], 0
mov al, byte [edi]
test al, al
setne bl
and ebx, 1
test al, al
jne 0x44994e
push edi
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, edi
call fcn.0040ba78
cmp byte [ebp + 0x10], 0
jne 0x449963
test bl, bl
je 0x449a08
mov edx, 0x49d4d7
mov eax, 0x49d4cc
mov ecx, 1
call fcn.004659f0
test eax, eax
je 0x449a08
mov eax, esi
call fcn.0040b590
push eax
push edi
call fcn.0048d348
add esp, 8
mov eax, edi
call fcn.0040b960
mov esi, eax
test esi, esi
je 0x449a08
cmp edi, esi
jae 0x449a08
mov byte [esi], 0
mov eax, edi
call fcn.0040b960
mov ebx, eax
test ebx, ebx
je 0x4499f4
cmp edi, ebx
jae 0x4499f4
cmp byte [ebp + 0xc], 0
je 0x4499e1
cmp byte [esi + 1], 0
je 0x4499e1
xor eax, eax
mov al, byte [esi + 2]
push eax
call fcn.0049112c
pop ecx
test eax, eax
jne 0x4499e1
xor edx, edx
mov dl, byte [esi - 1]
push edx
call fcn.0049112c
pop ecx
test eax, eax
jne 0x4499f1
mov edx, 0x49ce20
mov eax, ebx
call fcn.0040e6f4
test eax, eax
jne 0x4499f4
mov byte [ebx], 0
dec esi
jmp 0x4499fb
mov byte [esi], 0
dec esi
cmp edi, esi
jae 0x449a08
xor ecx, ecx
mov cl, byte [esi]
cmp ecx, 0x2e
je 0x4499f7
xor edx, edx
mov eax, edi
call fcn.0040bdb8
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x44a8e4
Capabilities:
Copy file
Get file attributes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
mov esi, eax
push eax
add esp, 0xfffff3f8
cmp dword [0x4bc1a8], 0
jne 0x44ab3e
push 0
push 0
push 0xffffffffffffffff
push esi
call sub.SHELL32.DLL_DragQueryFileA
mov edi, eax
cmp edi, 1
jne 0x44aa9f
mov word [esp + 0x408], 0
push 0x400
lea eax, [esp + 0xc]
push eax
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.0040f8f0
test eax, eax
je 0x44a955
push 0x400
lea edx, [esp + 0x40c]
push edx
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileW
push esp
call sub.USER32.DLL_GetCursorPos
push dword [esp + 4]
push dword [esp + 4]
call sub.USER32.DLL_WindowFromPoint
cmp dword [0x4bc1a0], 0
je 0x44a979
cmp eax, dword [0x4b982c]
je 0x44a9a5
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
test al, 0x10
jne 0x44a9a5
push 1
lea ecx, [esp + 0x40c]
lea edx, [esp + 0xc]
mov eax, 0x4b982c
call fcn.004613dc
dec eax
je 0x44ab3e
cmp byte [0x4a6f8c], 0
jne 0x44aa9f
push 7
push 0x49d580
lea eax, [esp + 0x10]
call fcn.0040b590
push eax
call fcn.0048d6c4
add esp, 0xc
test eax, eax
jne 0x44aa9f
push 0x400
lea edx, [esp + 0xc0c]
push edx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x49d588
lea eax, [esp + 0xc0c]
call fcn.0040b590
push eax
call fcn.0048d424
add esp, 8
push 0
lea edx, [esp + 0xc0c]
push edx
lea ecx, [esp + 0x10]
push ecx
call sub.KERNEL32.DLL_CopyFileA
push dword [0x4b9818]
call sub.USER32.DLL_SetForegroundWindow
push 1
push dword [0x4b9818]
call sub.USER32.DLL_FlashWindow
mov al, 1
call fcn.0040df04
mov byte [0x4a6f8c], al
push 0
push dword [0x4b9818]
call sub.USER32.DLL_FlashWindow
cmp dword [0x4bc1a0], 0
je 0x44aa5b
mov eax, 0x4b982c
call fcn.0045fb00
jmp 0x44aa6a
mov edx, 0x49c965
mov eax, 0x4b982c
call fcn.0045e284
cmp byte [0x4a6f8c], 0
je 0x44ab3e
push 0x30
mov eax, 0x368
call fcn.004117b8
push eax
mov eax, 0x367
call fcn.004117b8
push eax
push dword [0x4b9818]
call sub.USER32.DLL_MessageBoxA
jmp 0x44ab3e
xor eax, eax
call fcn.00452aac
cmp dword [0x4bc1a0], 0
je 0x44aab9
mov dword [0x4b08a4], 1
mov eax, dword [0x4b32bc]
call fcn.0040f074
xor ebx, ebx
cmp edi, ebx
jle 0x44ab23
mov word [esp + 0x1408], 0
push 0x400
lea eax, [esp + 0x100c]
push eax
mov ebp, ebx
push ebp
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.0040f8f0
test eax, eax
je 0x44ab06
push 0x400
lea eax, [esp + 0x140c]
push eax
push ebp
push esi
call sub.SHELL32.DLL_DragQueryFileW
lea ecx, [esp + 0x1408]
lea edx, [esp + 0x1008]
mov eax, dword [0x4b32bc]
call fcn.0040f0ac
inc ebx
cmp edi, ebx
jg 0x44aac9
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
mov cl, 1
mov edx, eax
xor eax, eax
call fcn.004534cc
add esp, 0x1c08
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44b16c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
push esi
add esp, 0xfffff7cc
mov esi, edx
mov eax, dword [ebx + 0x3c]
cmp esi, eax
jl 0x44b188
mov edx, eax
add edx, dword [ebx + 0x40]
cmp esi, edx
jl 0x44b18f
xor eax, eax
jmp 0x44b26d
mov edx, esi
sub edx, eax
push edx
push 0x49cb4d
lea ecx, [esp + 8]
push ecx
call fcn.004902f4
add esp, 0xc
push 0x49c965
push 0x400
lea ecx, [esp + 0x3c]
lea edx, [esp + 8]
mov eax, ebx
call fcn.0046582c
lea eax, [esp + 0x34]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44b1fd
test al, 0x10
je 0x44b1fd
lea eax, [esp + 0x34]
xor edx, edx
call fcn.00467fe0
mov eax, 0x4b982c
call fcn.00463a38
test al, al
je 0x44b268
lea edx, [esp + 0x34]
mov eax, 0x4b982c
xor ecx, ecx
call fcn.00461b34
jmp 0x44b268
lea edx, [esp + 0x34]
mov eax, 0x4b982c
xor ecx, ecx
call fcn.004619c4
sub esi, dword [ebx + 0x3c]
push esi
push 0x49d593
lea edx, [esp + 8]
push edx
call fcn.004902f4
add esp, 0xc
push 0x49c965
push 0x400
lea ecx, [esp + 0x43c]
lea edx, [esp + 8]
mov eax, ebx
call fcn.0046582c
cmp byte [esp + 0x434], 0
je 0x44b268
lea edx, [esp + 0x434]
mov eax, 0x4ba55c
xor ecx, ecx
call fcn.0045d08c
mov eax, 0x4b982c
xor edx, edx
call fcn.0045f02c
mov eax, 1
add esp, 0x834
pop esi
pop ebx
ret
Function at 0x44b36c
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebx
push esi
add esp, 0xfffff2b0
mov dword [0x4bc1b4], 1
mov byte [esp], al
push 0
push 0x49d5d5
call sub.USER32.DLL_FindWindowA
test eax, eax
sete al
and eax, 1
test al, al
je 0x44b514
lea eax, [esp + 0x10]
mov edx, 0x400
call fcn.00467f64
lea eax, [esp + 0x10]
call fcn.0040ba78
lea edx, [esp + 0x10]
push edx
push 0x49d5e2
lea ecx, [esp + 0x418]
push ecx
call fcn.004902f4
add esp, 0xc
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetSystemTimeAsFileTime
lea edx, [esp + 0x810]
push edx
lea ecx, [esp + 0x414]
push ecx
call sub.KERNEL32.DLL_FindFirstFileA
mov esi, eax
cmp eax, 0xffffffff
sete al
and eax, 1
jmp 0x44b4fd
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
sub edx, dword [esp + 0x818]
push eax
cmp edx, 8
lea edx, [esp + 0x954]
setae bl
and ebx, 1
push edx
call fcn.0048d424
add esp, 8
lea ecx, [esp + 0x83c]
push ecx
lea eax, [esp + 0x954]
push eax
call fcn.0048d348
add esp, 8
test byte [esp + 0x810], 0x10
je 0x44b4cc
push 6
push 0x49d5ea
lea edx, [esp + 0x844]
push edx
call fcn.0048d520
add esp, 0xc
test eax, eax
jne 0x44b471
call fcn.0040f8f0
cmp eax, 4
jne 0x44b475
xor ecx, ecx
jmp 0x44b47a
mov ecx, 1
mov byte [esp + 0xc], cl
lea eax, [esp + 0x950]
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
test eax, eax
jne 0x44b4e7
test bl, bl
je 0x44b499
cmp byte [esp], 0
je 0x44b4a0
cmp byte [esp + 0xc], 0
je 0x44b4e7
lea eax, [esp + 0x950]
call fcn.00467d58
test al, al
je 0x44b4e7
lea eax, [esp + 0x950]
xor edx, edx
call fcn.0040a50c
lea eax, [esp + 0x950]
call fcn.004675b8
jmp 0x44b4e7
lea eax, [esp + 0x950]
xor edx, edx
call fcn.0040a50c
lea ecx, [esp + 0x950]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
lea eax, [esp + 0x810]
push eax
push esi
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
sete al
and eax, 1
test eax, eax
jne 0x44b50e
cmp dword [0x4bc1b4], 1
je 0x44b3fd
push esi
call sub.KERNEL32.DLL_FindClose
cmp byte [esp], 0
jne 0x44b54d
cmp byte [0x4a6f8c], 0
je 0x44b54d
push 0
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_SetThreadPriority
mov al, 1
call fcn.0044b560
mov ebx, eax
mov byte [0x4a6f8c], bl
test bl, bl
jne 0x44b54d
mov eax, 0x49d55a
call fcn.0044c6ac
xor edx, edx
mov dword [0x4bc1b4], edx
add esp, 0xd50
pop esi
pop ebx
ret
Function at 0x44e655
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
cmp dword [0x49df68], 0
jne 0x44e697
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov dword [0x49df68], 0x400000
mov eax, dword [esp + 8]
cmp eax, 0x8000000
ja 0x44e686
mov dword [0x49df68], 0x200000
cmp eax, 0x4000000
ja 0x44e697
mov dword [0x49df68], 0x100000
mov eax, dword [0x49df68]
add esp, 0x20
ret

Function at 0x44f480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff600
mov esi, edx
mov ebx, eax
mov ebp, esp
mov eax, esi
call fcn.0040b590
mov edi, eax
cmp byte [0x4a88c8], 0
je 0x44f4b5
mov eax, 0x4a87c8
mov ecx, 0x3a
mov edx, edi
call fcn.0040fe84
jmp 0x44f4c0
push 0x3a
push edi
call fcn.0048d55c
add esp, 8
test eax, eax
je 0x44f4fe
cmp byte [0x49dfac], 0
jne 0x44f4fe
push 0x31
mov eax, 0x65
call fcn.004117b8
push eax
mov eax, 0x528
call fcn.004117b8
push eax
push ebx
call sub.USER32.DLL_MessageBoxA
dec eax
jne 0x44f4f7
mov byte [0x49dfac], 1
jmp 0x44f4fe
xor eax, eax
jmp 0x44f5af
mov edi, esi
cmp byte [0x4a88c8], 0
je 0x44f51c
mov eax, 0x4a87c8
mov ecx, 0x5c
mov edx, edi
call fcn.0040fec8
jmp 0x44f527
push 0x5c
push edi
call fcn.0048d574
add esp, 8
mov edi, eax
test edi, edi
je 0x44f53b
cmp esi, edi
je 0x44f53b
xor eax, eax
mov al, byte [edi - 1]
cmp eax, 0x3a
jne 0x44f53f
mov al, 1
jmp 0x44f5af
push esi
push ebp
call fcn.0048d424
add esp, 8
sub edi, esi
mov byte [ebp + edi], 0
jmp 0x44f5a2
mov eax, 0x14d
call fcn.004117b8
push eax
push ebp
push 0x49e3c1
lea edx, [esp + 0x40c]
push edx
call fcn.004902f4
add esp, 0x10
mov eax, 0x65
push 0x34
call fcn.004117b8
push eax
lea edx, [esp + 0x408]
push edx
push ebx
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
je 0x44f597
xor eax, eax
jmp 0x44f5af
mov eax, ebp
xor ecx, ecx
xor edx, edx
call fcn.00409cac
push ebp
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44f552
mov al, 1
add esp, 0xa00
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x451fa3
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffff400
mov esi, edx
xor ebx, ebx
mov byte [esi], 0
mov eax, dword [0x4b32bc]
cmp dword [eax + 0x30], 0
jbe 0x45201d
push 0x400
push 0
lea edx, [esp + 8]
xor ecx, ecx
call fcn.0040f190
mov edx, dword [0x4b32bc]
cmp dword [edx + 0x30], 1
jne 0x452005
mov eax, esp
xor edx, edx
call fcn.0040a0e0
test al, al
je 0x451ffe
mov eax, esp
xor edx, edx
call fcn.0040a514
call fcn.0040a258
test al, al
je 0x451ffe
xor ebx, ebx
jmp 0x45200c
mov ebx, 1
jmp 0x45200c
mov eax, esp
call fcn.0040bb18
mov eax, esp
call fcn.0040b590
push eax
push esi
call fcn.0048d424
add esp, 8
cmp byte [esi], 0
jne 0x452098
lea edx, [esp + 0x400]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [esp + 0x400]
call fcn.0040b590
push eax
push esi
call fcn.0048d424
add esp, 8
cmp byte [esi], 0
jne 0x452085
push 0x400
push 0
lea edx, [esp + 0x808]
xor ecx, ecx
mov eax, dword [0x4b32bc]
call fcn.0040f190
test al, al
je 0x452085
lea eax, [esp + 0x800]
call fcn.0040b590
push eax
push esi
call fcn.0048d424
add esp, 8
mov bl, 1
cmp byte [esi], 0
jne 0x452098
push 0x49e447
push esi
call fcn.0048d424
add esp, 8
test bl, bl
je 0x4520b9
mov eax, esi
call fcn.0040b960
mov ebx, eax
mov eax, esi
call fcn.0040b590
cmp ebx, eax
je 0x4520b9
xor edx, edx
mov eax, esi
call fcn.0040b8a4
add esp, 0xc00
pop esi
pop ebx
ret
Function at 0x454098
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ac
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x254]
test edi, edi
je 0x4540e1
push edi
push ebx
call fcn.0048d424
add esp, 8
push ebx
call fcn.0048d454
pop ecx
inc eax
add ebx, eax
push edi
push ebx
call fcn.0048d424
add esp, 8
push ebx
call fcn.0048d454
pop ecx
inc eax
add ebx, eax
mov eax, 0x426
call fcn.004117b8
push eax
push ebx
call fcn.0048d424
add esp, 8
push ebx
call fcn.0048d454
pop ecx
inc eax
add ebx, eax
push 0x49e5ec
push ebx
call fcn.0048d424
add esp, 8
push ebx
call fcn.0048d454
pop ecx
inc eax
add ebx, eax
mov byte [ebx], 0
push 0x4c
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.0048d2a4
mov dword [ebp - 0x54], 0x4c
mov ecx, dword [ebp - 4]
mov eax, dword [0x4a6fb0]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0x254]
mov eax, esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0x400
mov ecx, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x24], ecx
call fcn.0040b590
cmp esi, eax
jne 0x45417d
lea edx, [ebp - 0x654]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [ebp - 0x654]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0x1080c
lea eax, [ebp - 0x54]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
jne 0x4541ad
call sub.COMDLG32.DLL_CommDlgExtendedError
cmp eax, 0x3002
jne 0x4541ad
mov byte [esi], 0
lea eax, [ebp - 0x54]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
setne al
and eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4541c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff328
push ebx
push esi
lea esi, [ebp - 0x80c]
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [esi], 0
xor ebx, ebx
lea ecx, [ebp - 0x88c]
mov eax, 0x4ba55c
mov edx, ebx
call fcn.0045d568
test al, al
je 0x454228
test ebx, ebx
je 0x454207
push 0x49e5ee
push esi
call fcn.0048d348
add esp, 8
push 0x49e5f0
push esi
call fcn.0048d348
add esp, 8
lea eax, [ebp - 0x88c]
push eax
push esi
call fcn.0048d348
add esp, 8
inc ebx
jmp 0x4541df
mov eax, 0x426
call fcn.004117b8
push eax
push esi
mov eax, 0x425
call fcn.004117b8
push eax
push esi
mov eax, 0x424
call fcn.004117b8
push eax
push 0x49e5f3
lea edx, [ebp - 0x40c]
push edx
call fcn.004902f4
add esp, 0x1c
cmp byte [ebp - 9], 0
je 0x4542a1
mov eax, dword [ebp - 8]
call fcn.0040b960
mov ebx, eax
test ebx, ebx
je 0x4542a1
inc ebx
push ebx
call fcn.0048d454
pop ecx
cmp eax, 0x14
jge 0x4542a1
mov eax, 0x426
call fcn.004117b8
push eax
push ebx
push ebx
push 0x49e60d
lea edx, [ebp - 0x40c]
push edx
call fcn.004902f4
add esp, 0x14
xor eax, eax
jmp 0x4542b9
and edx, 0xff
cmp edx, 9
jne 0x4542b8
mov byte [ebp + eax - 0x40c], 0
inc eax
mov dl, byte [ebp + eax - 0x40c]
test dl, dl
jne 0x4542a5
push 0x4c
push 0
lea eax, [ebp - 0x8d8]
push eax
call fcn.0048d2a4
mov dword [ebp - 0x8d8], 0x4c
mov ecx, dword [ebp - 4]
mov eax, dword [0x4a6fb0]
mov dword [ebp - 0x8d4], ecx
mov dword [ebp - 0x8d0], eax
lea edx, [ebp - 0x40c]
add esp, 0xc
mov dword [ebp - 0x8cc], edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x8bc], ecx
mov dword [ebp - 0x8b8], 0x400
cmp byte [ebp + 8], 0
je 0x454321
mov eax, 0x48d
jmp 0x454326
mov eax, 0x140
call fcn.004117b8
mov dword [ebp - 0x8a8], eax
mov eax, dword [ebp - 8]
call fcn.0040b590
cmp eax, dword [ebp - 8]
jne 0x45435b
lea edx, [ebp - 0xcd8]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [ebp - 0xcd8]
mov dword [ebp - 0x8ac], ecx
mov dword [ebp - 0x8a4], 0x1080c
mov dword [ebp - 0x89c], 0x49e61d
lea eax, [ebp - 0x8d8]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
jne 0x4543a1
call sub.COMDLG32.DLL_CommDlgExtendedError
cmp eax, 0x3002
jne 0x4543a1
mov eax, dword [ebp - 8]
mov byte [eax], 0
lea edx, [ebp - 0x8d8]
push edx
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
setne al
and eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4543b4
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xfffffab4
mov ebp, ecx
mov edi, edx
mov esi, eax
lea ebx, [esp + 0x500]
mov eax, 0x426
call fcn.004117b8
push eax
lea edx, [esp + 4]
push edx
call fcn.0048d424
add esp, 8
push 3
push 0x49e621
lea ecx, [esp + 8]
push ecx
call fcn.0048d454
pop ecx
lea edx, [esp + 9]
add eax, edx
push eax
call fcn.0048d234
add esp, 0xc
lea eax, [esp + 0x100]
mov word [eax], 0
push 0x4c
push 0
push ebx
call fcn.0048d2a4
add esp, 0xc
mov dword [ebx], 0x4c
mov dword [ebx + 4], esi
mov ecx, dword [0x4a6fb0]
lea eax, [esp + 0x100]
mov dword [ebx + 8], ecx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], pe_nt_image_headers32
mov dword [ebx + 0x44], 0x453afc
mov dword [ebx + 0x34], 0x9036c
mov dword [ebx + 0x30], ebp
mov dword [ebx + 0x40], edi
call fcn.0040f8f0
test eax, eax
je 0x45450e
mov eax, 0x426
call fcn.004117b8
lea edx, [esp + 0x54c]
mov ecx, 0x10000000
call fcn.0040f968
lea eax, [esp + 0x54c]
call fcn.0040f9e4
add eax, eax
lea edx, [esp + 0x54e]
add eax, edx
mov edx, 0x49e624
call fcn.0040f9f8
lea eax, [esp + 0x54c]
call fcn.0040f9e4
mov word [esp + eax*2 + 0x54e], 0
lea edx, [esp + 0x74c]
mov ecx, 0x10000000
mov eax, dword [ebx + 0x30]
call fcn.0040f968
lea eax, [esp + 0x54c]
lea edx, [esp + 0x74c]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x30], edx
mov ecx, 0x49e628
lea eax, [esp + 0x94c]
mov dword [ebx + 0x48], ecx
push eax
push 0x800
call sub.KERNEL32.DLL_GetCurrentDirectoryW
lea edx, [esp + 0x94c]
mov dword [ebx + 0x2c], edx
push ebx
call sub.COMDLG32.DLL_GetOpenFileNameW
jmp 0x45453c
mov ecx, esp
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x48], 0x49e640
lea eax, [esp + 0x114c]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea edx, [esp + 0x114c]
mov dword [ebx + 0x2c], edx
push ebx
call sub.COMDLG32.DLL_GetOpenFileNameA
add esp, 0x154c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x456ad0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov eax, 0x49e940
push ebx
push esi
push edi
call fcn.0048d8c4
cmp dword [0x4bc1a8], 0
je 0x456afd
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, edx
jmp 0x456c35
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne cl
and ecx, 1
mov byte [0x4c111e], cl
cmp byte [0x4c111e], 0
jne 0x456b29
cmp dword [0x4bc1a0], 0
jne 0x456b29
xor ebx, ebx
jmp 0x456b2e
mov ebx, 1
push 8
call fcn.0048ba5c
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x456b56
mov word [ebp - 0x1c], 0x14
mov eax, dword [ebp - 4]
call fcn.00454f98
mov word [ebp - 0x1c], 8
mov esi, dword [ebp - 4]
jmp 0x456b59
mov esi, dword [ebp - 4]
push 0x4efc
call fcn.0048ba5c
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x456b86
mov word [ebp - 0x1c], 0x2c
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0045458c
mov word [ebp - 0x1c], 0x20
mov edi, dword [ebp - 8]
jmp 0x456b89
mov edi, dword [ebp - 8]
mov byte [0x4c111d], 0
mov byte [0x4c1120], 0
lea eax, [ebp - 0x30]
mov byte [0x4c111c], 1
mov byte [0x4c111f], 0
push eax
test bl, bl
je 0x456bb4
mov edx, 3
jmp 0x456bb9
mov edx, 1
push edx
push esi
push edi
call sub.OLE32.DLL_DoDragDrop
mov ebx, eax
mov byte [0x4c111c], 0
push edi
mov eax, dword [edi]
call dword [eax + 8]
push esi
mov ecx, dword [esi]
call dword [ecx + 8]
cmp byte [0x4c111e], 0
je 0x456bff
cmp dword [0x4bc1a0], 0
je 0x456bff
cmp ebx, 0x40100
jne 0x456bff
call fcn.00446440
mov eax, 0x4b982c
call fcn.0045fb00
cmp ebx, 0x40100
je 0x456c2b
cmp byte [0x4c111f], 0
jne 0x456c2b
mov eax, 0x53c
call fcn.004117b8
push eax
call fcn.0044a23c
pop ecx
mov eax, 0x4a697c
call fcn.0042997c
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4570bd
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dl, 1
mov eax, ebx
call fcn.0040bdb8
mov edx, ebx
mov eax, ebx
call fcn.0040b6a0
mov ecx, 0x400
xor edx, edx
mov eax, ebx
call fcn.0040be3c
jmp 0x457144
test esi, 2
setne cl
push dword [ebp + 0x10]
and ecx, 1
lea eax, [ebp - 1]
push ecx
mov ecx, edi
mov edx, ebx
call fcn.00459650
mov al, byte [ebp - 1]
sub al, 0x41
je 0x457120
sub al, 2
je 0x45713d
sub al, 0xb
je 0x45713d
sub al, 0xb
je 0x457120
jmp 0x457144
push 0
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
test esi, 1
jne 0x457136
push ebx
call sub.KERNEL32.DLL_DeleteFileA
mov eax, 0x59
jmp 0x457154
xor eax, eax
mov al, byte [ebp - 1]
jmp 0x457154
push ebx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x4570ef
mov eax, 0x59
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x458198
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff7c
mov ebx, eax
mov edi, esp
mov ebp, 0x49eb24
lea eax, [ebx + 4]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
mov dword [ebx + 0x404], esi
test esi, esi
jne 0x4581c7
xor eax, eax
jmp 0x458367
lea edx, [ebp + 0x29]
push edx
push esi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x490], eax
lea ecx, [ebp + 0x31]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x494], eax
lea eax, [ebp + 0x36]
push eax
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x498], eax
lea edx, [ebp + 0x3c]
push edx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x49c], eax
lea ecx, [ebp + 0x48]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a0], eax
lea eax, [ebp + 0x54]
push eax
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a4], eax
lea edx, [ebp + 0x5c]
push edx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a8], eax
cmp dword [ebx + 0x490], 0
je 0x458267
cmp dword [ebx + 0x494], 0
jne 0x45826e
xor eax, eax
jmp 0x458367
push 0x84
push 0
push edi
call fcn.0048d2a4
add esp, 0xc
mov dword [edi], 0x84
mov dword [edi + 4], 0x456ee4
mov dword [edi + 8], 0x45701f
mov dword [edi + 0xc], 0x457032
mov dword [edi + 0x10], 0x457047
mov dword [edi + 0x14], 0x4570a6
mov dword [edi + 0x18], 0x45715c
mov dword [edi + 0x1c], 0x457170
mov dword [edi + 0x20], 0x45717b
mov dword [edi + 0x24], 0x45720a
mov dword [edi + 0x28], 0x4572ac
mov dword [edi + 0x2c], 0x45734e
mov dword [edi + 0x30], 0x4575da
mov dword [edi + 0x34], 0x4575e9
mov dword [edi + 0x38], 0x457676
mov dword [edi + 0x3c], fcn.004570bd
mov dword [edi + 0x40], 0x457708
mov dword [edi + 0x44], 0x457724
push 0x88
push 0
lea edx, [ebx + 0x408]
push edx
call fcn.0048d2a4
add esp, 0xc
lea ecx, [ebx + 0x408]
mov dword [ebx + 0x408], 0x88
push ecx
push edi
call dword [ebx + 0x490]
cmp dword [ebx + 0x488], 0
je 0x458365
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_FreeLibrary
xor eax, eax
mov dword [ebx + 0x404], eax
lea eax, [ebx + 4]
call fcn.0040b590
push eax
mov eax, 0x42e
call fcn.004117b8
push eax
call fcn.0044a23c
add esp, 8
xor eax, eax
jmp 0x458367
mov al, 1
add esp, 0x84
pop ebp
pop edi
pop esi
pop ebx
ret