joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ccfc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44cd13
add esp, 0xfffffff0
call fcn.00403864
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419ca0
mov eax, dword [0x469594]
cmp word [eax + 2], 0
jne 0x44cd3b
mov eax, dword [0x469594]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e3d4
mov eax, dword [0x469644]
cmp word [eax + 2], 0
jne 0x44cd55
mov eax, dword [0x469644]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e5cc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411c4c]
call fcn.00403528
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411c4c]
call fcn.00403528
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41be74]
call fcn.00421ae0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44cedc
mov eax, dword [0x4694ac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421eb0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44eb7c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4694ac]
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.0040c798
test eax, eax
je 0x44ce4a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004088e8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c7c0
test eax, eax
je 0x44ce5e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404500
mov eax, dword [0x46938c]
cmp byte [eax], 0
jne 0x44ce92
mov eax, ebx
call fcn.0044d004
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044ed58
mov eax, ebx
call fcn.0044f71c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ced2
call fcn.004038bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d284
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46abb0]
cmp dword [eax + 0x30], 0
je 0x44d32e
cmp dword [ebx + 0x94], 0
jne 0x44d328
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44d214
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44d328
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 0x44d2ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44d328
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.004141fc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44d2fd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44de90
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44dec5
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.00404380
jmp 0x44ded2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44ef34
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44ef75
mov eax, esi
call fcn.00435648
test al, al
je 0x44ef75
mov eax, dword [ebx + 0x84]
call fcn.004353e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44ef75
push 0
mov eax, dword [ebx + 0x84]
call fcn.004353e8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x44fb00
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], eax
xor eax, eax
push ebp
push 0x44fbff
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
mov byte [ebp - 0x12], 0
lea ebx, [ebp - 0x238]
mov dword [ebx + 4], 0x227
lea eax, [ebp - 0x240]
push eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x248], al
mov byte [ebp - 0x244], 2
lea edx, [ebp - 0x248]
xor ecx, ecx
mov eax, 0x44fc1c
call fcn.00408f74
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.00407df0
mov eax, dword [ebp - 0x23c]
call fcn.0040476c
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x44fba3
xor ebx, ebx
jmp 0x44fbe1
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 4]
push eax
push ebx
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push esi
call sub.kernel32.dll_DeviceIoControl
mov edi, eax
push esi
call sub.kernel32.dll_CloseHandle
cmp dword [ebx + 0x1c], 7
jne 0x44fbdf
test edi, edi
je 0x44fbdf
mov bl, 1
jmp 0x44fbe1
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fc06
lea eax, [ebp - 0x240]
mov edx, 2
call fcn.004042b4
ret
Function at 0x46483c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff40
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.00404290
lea eax, [ebp - 0xc0]
push eax
call sub.kernel32.dll_GetSystemInfo
xor eax, eax
push ebp
push 0x464a70
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x9c]
call fcn.00464c14
test al, al
jne 0x464887
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464a81
mov eax, dword [ebp - 0x98]
sub eax, 4
je 0x4648a1
dec eax
je 0x4648eb
dec eax
je 0x4649b0
jmp 0x464a66
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x4648b8
je 0x4648c9
sub eax, 8
je 0x4648da
jmp 0x464a66
mov eax, ebx
mov edx, 0x464a90
call fcn.004042e4
jmp 0x464a66
mov eax, ebx
mov edx, 0x464aa4
call fcn.004042e4
jmp 0x464a66
mov eax, ebx
mov edx, 0x464ab8
call fcn.004042e4
jmp 0x464a66
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x464900
je 0x46492c
dec eax
je 0x464944
jmp 0x464a66
cmp byte [ebp - 2], 1
jne 0x464914
mov eax, ebx
mov edx, 0x464acc
call fcn.004042e4
jmp 0x464920
mov eax, ebx
mov edx, 0x464ae0
call fcn.004042e4
mov byte [0x46ac74], 1
jmp 0x464a66
mov eax, ebx
mov edx, 0x464af8
call fcn.004042e4
mov byte [0x46ac74], 1
jmp 0x464a66
cmp byte [ebp - 2], 1
jne 0x464960
cmp word [ebp - 0xc0], 9
jne 0x464960
mov eax, ebx
mov edx, 0x464b0c
call fcn.004042e4
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x464980
mov eax, ebx
mov edx, 0x464b20
call fcn.004042e4
mov byte [0x46ac74], 1
jmp 0x464993
mov eax, ebx
mov edx, 0x464b38
call fcn.004042e4
mov byte [0x46ac74], 1
cmp word [ebp - 4], 0x8000
jne 0x464a66
mov eax, ebx
mov edx, 0x464b50
call fcn.004042e4
jmp 0x464a66
mov eax, dword [ebp - 0x94]
sub eax, 1
jb 0x4649c8
je 0x4649ed
dec eax
je 0x464a16
dec eax
je 0x464a3f
jmp 0x464a66
cmp byte [ebp - 2], 1
jne 0x4649df
mov eax, ebx
mov edx, 0x464b68
call fcn.004042e4
jmp 0x464a66
mov eax, ebx
mov edx, 0x464b7c
call fcn.004042e4
jmp 0x464a66
cmp byte [ebp - 2], 1
jne 0x464a01
mov eax, ebx
mov edx, 0x464b94
call fcn.004042e4
jmp 0x464a0d
mov eax, ebx
mov edx, 0x464ba8
call fcn.004042e4
mov byte [0x46ac74], 1
jmp 0x464a66
cmp byte [ebp - 2], 1
jne 0x464a2a
mov eax, ebx
mov edx, 0x464bc0
call fcn.004042e4
jmp 0x464a36
mov eax, ebx
mov edx, 0x464bd4
call fcn.004042e4
mov byte [0x46ac74], 1
jmp 0x464a66
cmp byte [ebp - 2], 1
jne 0x464a53
mov eax, ebx
mov edx, 0x464bec
call fcn.004042e4
jmp 0x464a5f
mov eax, ebx
mov edx, 0x464c04
call fcn.004042e4
mov byte [0x46ac74], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464a81
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464fb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040475c
xor eax, eax
push ebp
push 0x465072
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404290
mov esi, 0x41
mov ebx, esi
push ebx
call fcn.0044fb00
test al, al
je 0x465049
lea eax, [ebp - 0xc]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.00402bdc
mov edx, 0x465080
lea eax, [ebp - 0x10]
mov cl, 2
call fcn.00402bac
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.004044f4
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004045b8
mov eax, dword [ebp - 0x14]
push eax
call sub.shlwapi.dll_PathFileExistsA
test eax, eax
je 0x465049
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.004042e4
inc esi
cmp esi, 0x5b
jne 0x464fe8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465079
lea eax, [ebp - 0x14]
call fcn.00404290
lea eax, [ebp - 8]
mov edx, 2
call fcn.004042b4
ret

Function at 0x465084
Capabilities:
Check if file exists
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040475c
xor eax, eax
push ebp
push 0x46516d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404290
mov esi, 0x41
lea eax, [ebp - 0xc]
mov ebx, esi
mov edx, ebx
call fcn.00404478
lea eax, [ebp - 0xc]
mov edx, 0x465184
call fcn.00404574
mov eax, dword [ebp - 0xc]
call fcn.0040476c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x465140
lea eax, [ebp - 0x10]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x14]
call fcn.00402bdc
mov edx, 0x465188
lea eax, [ebp - 0x14]
mov cl, 2
call fcn.00402bac
lea edx, [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.004044f4
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004045b8
mov eax, dword [ebp - 0x18]
push eax
call sub.shlwapi.dll_PathFileExistsA
test eax, eax
je 0x465140
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.004042e4
inc esi
cmp esi, 0x5b
jne 0x4650bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465174
lea eax, [ebp - 0x18]
call fcn.00404290
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042b4
ret
Function at 0x46518c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040475c
xor eax, eax
push ebp
push 0x465241
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404290
mov ebx, 0x41
lea eax, [ebp - 0xc]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.00402bdc
mov edx, 0x465250
lea eax, [ebp - 0x10]
mov cl, 2
call fcn.00402bac
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.004044f4
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004045b8
mov eax, dword [ebp - 0x14]
push eax
call sub.shlwapi.dll_PathFileExistsA
test eax, eax
je 0x465218
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.004042e4
inc ebx
cmp ebx, 0x5b
jne 0x4651c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465248
lea eax, [ebp - 0x14]
call fcn.00404290
lea eax, [ebp - 8]
mov edx, 2
call fcn.004042b4
ret

Function at 0x4657cc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x465854
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402cf8
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x46586c
mov edx, ebx
call fcn.004045b8
mov eax, dword [ebp - 0x24]
call fcn.0040476c
mov dword [ebp - 0x16], eax
mov eax, 0x465870
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x414
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46585b
lea eax, [ebp - 0x24]
call fcn.00404290
ret
Function at 0x40d596
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x1505
jmp 0x40d5b7
lea eax, [ecx - 0x61]
cmp eax, 0x19
ja 0x40d5af
and ecx, 0xffffffdf
imul edx, edx, 0x21
xor edx, ecx
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
jne 0x40d5a4
mov eax, dword [ebp + 0x10]
movzx ecx, dl
mov edx, ecx
and ecx, 0x1f
shr edx, 5
mov dword [eax], edx
xor edx, edx
mov eax, dword [ebp + 0x14]
inc edx
shl edx, cl
pop esi
mov dword [eax], edx
pop ebp
ret 0x10

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x401700
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4050
call fcn.00415c50
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
push 0
push 0
push 0x1200
push 0
push 0
mov esi, ecx
push 0x101f
push esi
mov dword [ebp - 0x4008], esi
call ebx
push eax
call ebx
push 2
push 0xffffffffffffffff
push 0x100c
push esi
mov dword [ebp - 0x4010], eax
call ebx
mov ebx, eax
xor cl, cl
mov byte [ebp - 0x4004], cl
cmp ebx, 0xffffffff
je 0x4018ea
test cl, cl
je 0x401782
push 0x41bd9c
lea eax, [ebp - 0x4004]
push 0x4000
push eax
call fcn.004094af
add esp, 0xc
mov eax, dword [ebp - 0x4010]
xor edi, edi
mov dword [ebp - 0x400c], edi
test eax, eax
je 0x4018c9
dec eax
mov dword [ebp - 0x4014], eax
nop
xorps xmm0, xmm0
mov dword [ebp - 0x403c], 0
mov esi, 0x400
movlpd qword [ebp - 0x4050], xmm0
push 1
push esi
movlpd qword [ebp - 0x4044], xmm0
movlpd qword [ebp - 0x4034], xmm0
movlpd qword [ebp - 0x402c], xmm0
movlpd qword [ebp - 0x4024], xmm0
movlpd qword [ebp - 0x401c], xmm0
mov dword [ebp - 0x4048], edi
mov dword [ebp - 0x4038], esi
call fcn.004094a4
add esp, 8
mov dword [ebp - 0x403c], eax
lea eax, [ebp - 0x4050]
push eax
push ebx
push 0x102d
push dword [ebp - 0x4008]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0x3ff
jne 0x40186a
mov edi, dword [ebp - 0x4008]
push dword [ebp - 0x403c]
call fcn.004092ea
add esi, esi
push 1
push esi
mov dword [ebp - 0x4038], esi
call fcn.004094a4
add esp, 0xc
mov dword [ebp - 0x403c], eax
lea eax, [ebp - 0x4050]
push eax
push ebx
push 0x102d
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esi - 1]
cmp eax, ecx
je 0x401825
mov edi, dword [ebp - 0x400c]
push dword [ebp - 0x403c]
lea eax, [ebp - 0x4004]
push 0x4000
push eax
call fcn.004094af
push dword [ebp - 0x403c]
call fcn.004092ea
add esp, 0x10
cmp edi, dword [ebp - 0x4014]
jae 0x4018b0
push 0x41bda0
lea eax, [ebp - 0x4004]
push 0x4000
push eax
call fcn.004094af
add esp, 0xc
inc edi
mov dword [ebp - 0x400c], edi
cmp edi, dword [ebp - 0x4010]
jb 0x4017a0
mov esi, dword [ebp - 0x4008]
push 2
push ebx
push 0x100c
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4018ea
mov cl, byte [ebp - 0x4004]
jmp 0x401765
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40195d
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x401957
lea ecx, [ebp - 0x4004]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401910
sub ecx, edx
lea edi, [ecx + 1]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x401957
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x401957
lea ecx, [ebp - 0x4004]
push ecx
push edi
push eax
call fcn.004071d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403e69
mov esp, ebp
pop ebp
ret
Function at 0x402130
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edx
push 8
mov ebx, ecx
mov dword [ebp - 0x22c], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402172
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403e69
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x224
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x4021b7
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.004093cb
add esp, 8
test eax, eax
je 0x4021d1
lea eax, [ebp - 0x228]
push eax
push esi
call edi
test eax, eax
jne 0x402195
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403e69
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
je 0x4021e3
mov eax, dword [ebp - 0x20c]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403e69
mov esp, ebp
pop ebp
ret
Function at 0x403cf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x6a2d88
push 6
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0
push eax
push 0
push edx
push 0x41bdb4
mov dword [ebp - 0xb], 0
mov byte [ebp - 7], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0xc]
push str.true
push eax
call fcn.004093cb
add esp, 8
test eax, eax
je 0x403d76
lea eax, [ebp - 0xc]
push 0x41be18
push eax
call fcn.004093cb
add esp, 8
test eax, eax
je 0x403d76
lea eax, [ebp - 0xc]
push 0x41be1c
push eax
call fcn.004093cb
add esp, 8
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403e69
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00403e69
mov esp, ebp
pop ebp
ret

Function at 0x403d90
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x6a2d88
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x403dc4
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403e69
mov esp, ebp
pop ebp
ret
mov edx, str.SaveTarget
call fcn.00403cf0
mov edx, str.SaveDll
mov dword [edi], eax
call fcn.00403cf0
push 0x6a2d88
push 6
mov dword [edi + 4], eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.InjectHotkey
push 0x41bdb4
mov byte [ebp - 0xc], 0
mov dword [ebp - 0xb], 0
mov byte [ebp - 7], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0xc]
push eax
call fcn.004097b0
add esp, 4
mov word [edi + 8], ax
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0
mov dword [ebp - 0xb], 0
mov byte [ebp - 7], 0
push 0x6a2d88
push 6
push eax
push 0
push str.EjectHotkey
push 0x41bdb4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0xc]
push eax
call fcn.004097b0
mov ecx, dword [ebp - 4]
add esp, 4
mov word [edi + 0xa], ax
xor ecx, ebp
mov eax, 1
pop edi
call fcn.00403e69
mov esp, ebp
pop ebp
ret

Function at 0x404694
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4046d3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4046d3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4046d3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4046d3
cmp dword [ecx + 0x74], 0xe
jbe 0x4046d3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret