joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a0f0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x59fa48]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43a136
cmp word [ebx], dx
jne 0x43a136
or byte [eax + edi + 0x28], 4
jmp 0x43a13b
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x43a29e
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x43a27e
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x43a17c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x43a1b2
cmp eax, edx
jae 0x43a1c0
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x43a157
jmp 0x43a29e
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43a279
cmp dword [ebp - 0x18], 0
je 0x43a279
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x59fa48]
test byte [eax + edi + 0x28], 0x48
je 0x43a24f
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x43a213
mov word [esi], cx
jmp 0x43a24a
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x59fa48]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x59fa48]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x59fa48]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x43a29e
pop eax
cmp word [ebp - 4], ax
jne 0x43a25f
cmp esi, ebx
jne 0x43a25f
mov word [esi], ax
jmp 0x43a29b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00439da8
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x43a29e
push 0xd
pop eax
jmp 0x43a25a
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x59fa48]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x43a298
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x43a29e
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43f072
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x43f10d
push edi
push 0x5a3ce0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x59fd4c]
test edi, edi
je 0x43f0e0
push ebp
push esi
lea ebp, [edi + 8]
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x43f0d9
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebp
push 0x59fd4c
call fcn.0045716f
pop ecx
pop ecx
jmp 0x43f0db
mov edi, dword [edi]
test edi, edi
jne 0x43f0ae
pop ebp
mov esi, dword [0x59ecb0]
push 0x10
push 0x59fd4c
lea eax, [esi + 1]
mov dword [0x59ecb0], eax
call fcn.00457140
pop ecx
pop ecx
push 0x5a3ce0
mov dword [eax], ebx
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret 8

Function at 0x43f1d3
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push edi
call fcn.0043f187
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, 0x5a3ce0
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x59fd4c]
jmp 0x43f204
cmp dword [esi + 0xc], edi
je 0x43f20a
mov esi, dword [esi]
test esi, esi
jne 0x43f1fd
jmp 0x43f222
add esi, 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x59fd4c
call fcn.0045716f
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret 4

Function at 0x43f22f
Capabilities:
Suspend thread

Disassembly:
push dword [esp + 4]
call fcn.0043f187
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
ret 4

Function at 0x43f242
Capabilities:
Resume thread

Disassembly:
push dword [esp + 4]
call fcn.0043f187
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret 4
Function at 0x441f1f
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x441f74
push dword [esp + 0x10]
push 0x441e9e
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [0x59ff8c]
test edi, edi
je 0x441fcd
xor esi, esi
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x441f6c
cmp byte [edi + 0x10], 0
je 0x441f6c
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, ebx
test ebx, ebx
jne 0x441f48
jmp 0x441fcd
mov edi, dword [0x59ff8c]
test edi, edi
je 0x441fcd
xor esi, esi
push ebp
mov ebp, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x441fc6
cmp byte [edi + 0x11], 0
je 0x441f9f
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [edi + 0x10], 0
je 0x441fb6
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [edi + 8]
push eax
push 0x59ff8c
call fcn.0045716f
pop ecx
pop ecx
mov edi, ebp
test ebp, ebp
jne 0x441f81
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x442d36
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push dword [0x5a3d24]
call fcn.00456818
mov ebx, eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x442d8b
push ebp
push esi
xor ecx, ecx
mov ebp, 0xfde9
push ecx
push ecx
push 0xffffffffffffffff
push dword [eax + 0xc]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [esp + 0x10]
mov esi, eax
lea ecx, [esi - 1]
push ecx
call fcn.004574e0
push esi
push eax
mov eax, dword [ebx + 0x20]
push 0xffffffffffffffff
push dword [eax + 0xc]
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
pop esi
pop ebp
pop ebx
ret 4
pop ebx
jmp fcn.00457570
Function at 0x443bdb
Capabilities:
Reference http user-agent string

Disassembly:
push str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00443bf0
ret 8

Function at 0x443bf0
Capabilities:
Create thread

Disassembly:
push ebx
push edi
push dword [0x5a3d34]
xor edi, edi
call fcn.00456818
mov ebx, eax
cmp dword [esp + 0xc], edi
je 0x443ca5
push ebp
push esi
push 0x60
push 8
push dword [0x59f0c0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [esp + 0x14]
mov esi, eax
xor ebp, ebp
inc ebp
or dword [esi + 4], 0xffffffff
mov dword [esi], ebp
call fcn.004c4791
push dword [esp + 0x20]
mov dword [esi + 8], eax
call fcn.004c4791
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x40], eax
mov dword [esi + 0x24], ecx
mov eax, dword [ebx]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x58], ebp
test cl, 1
je 0x443c93
lea eax, [esp + 0x14]
push eax
push edi
push esi
push 0x443e3b
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x443c81
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x443c87
cmp dword [esp + 0x14], edi
je 0x443c8b
mov edi, esi
jmp 0x443ca3
push esi
call fcn.00443ed0
jmp 0x443ca2
push esi
call fcn.00443cba
push esi
mov edi, eax
call fcn.00443ed0
pop ecx
pop ecx
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
ret 0xc

Function at 0x444010
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x443f61
push 0x10
push 0x2c
call fcn.00456afa
push 0
push 0
push 8
mov dword [0x59ffd8], eax
call fcn.00456883
cmp word [0x59ffd0], 0
mov dword [0x5a3d3c], eax
jne 0x4440e9
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
push str.ws2_32.dll
sbb eax, eax
inc eax
mov word [0x59ffd0], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x59ffdc], eax
test eax, eax
je 0x4440e9
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4eaae0
push eax
call esi
push 0x4eaaec
push dword [0x59ffdc]
mov dword [0x59ffc0], eax
call esi
push str.getnameinfo
push dword [0x59ffdc]
mov dword [0x59ffc4], eax
call esi
push str.WSAStringToAddressA
push dword [0x59ffdc]
mov dword [0x59ffc8], eax
call esi
cmp dword [0x59ffc0], 0
mov dword [0x59ffcc], eax
pop esi
je 0x4440e9
cmp dword [0x59ffc4], 0
je 0x4440e9
cmp dword [0x59ffc8], 0
je 0x4440e9
test eax, eax
je 0x4440e9
mov dword [0x59ffd4], 1
add esp, 0x190
ret
Function at 0x444b1b
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x5a3d80]
call fcn.00456818
xor ebx, ebx
mov esi, eax
cmp dword [0x5a014c], ebx
jne 0x444bed
xor ebp, ebp
inc ebp
mov dword [0x5a014c], ebp
call fcn.0044997b
mov edi, 0xa8
push edi
push ebx
push 0x5a00a0
call fcn.0043afb0
add esp, 0xc
mov dword [0x5a00a0], 0x13
lea eax, [esp + 0x10]
mov dword [0x5a00a4], edi
mov dword [0x5a00b0], 0x4442b3
mov dword [0x5a00b4], 0x4444e9
push eax
mov dword [0x5a0108], 0x444a5b
mov dword [0x5a010c], 0x444cd0
mov dword [0x5a00ac], 0x444a36
mov dword [0x5a0130], 0x444a83
mov dword [0x5a0150], ebp
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x444bed
cmp dword [esp + 0x20], ebp
je 0x444be7
cmp dword [esp + 0x20], 2
jne 0x444bed
cmp dword [esp + 0x14], 5
jb 0x444be7
jne 0x444bed
cmp dword [esp + 0x18], ebx
jne 0x444bed
mov dword [0x5a0150], ebx
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.0044f388
mov eax, dword [esp + 0x140]
push ebx
push dword [0x59f0c4]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebx
push str.BUTTON
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x444cc1
mov ebp, dword [esp + 0x128]
push ebp
push dword [0x5a3d84]
call fcn.00456a66
mov esi, dword [esp + 0x13c]
mov ebx, eax
mov dword [ebx + 0x10], esi
test esi, esi
je 0x444c92
push esi
call fcn.004518ef
test eax, eax
je 0x444c92
push 0
push 0
push esi
call fcn.00451533
jmp 0x444c94
xor eax, eax
push 0x44478d
push 0xfffffffffffffffc
mov dword [ebx + 0x18], eax
and dword [ebx + 0x14], 0
and dword [ebx + 0x1c], 0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x5a00a0
push edi
push ebx
push ebp
mov dword [0x5a0148], eax
call fcn.004498ff
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x447081
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x5a3d84]
call fcn.00456a27
mov ebx, eax
test ebx, ebx
je 0x4470e5
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4470aa
push dword [esp + 0xc]
push ebx
call eax
jmp 0x4470e5
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.004574e0
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call fcn.00433265
pop ecx
sub edi, eax
push edi
call fcn.00457590
pop edi
pop esi
pop ebx
ret 8

Function at 0x4475cb
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x5a3d80]
call fcn.00456818
xor ebx, ebx
mov ebp, eax
cmp dword [0x5a2128], ebx
jne 0x44765f
mov esi, 0xa8
push esi
push ebx
push 0x5a2080
call fcn.0043afb0
add esp, 0xc
mov dword [0x5a2084], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x5a2080], 0xa
mov dword [0x5a2088], 0x447128
push 0x7f89
push ebx
mov dword [0x5a20f8], 0x44a3cc
mov dword [0x5a20fc], 0x44a3a6
mov dword [0x5a208c], 0x447147
mov dword [0x5a2110], 0x447167
call esi
mov dword [0x5a2128], eax
test eax, eax
jne 0x44765f
push 0x7f00
push ebx
call esi
mov dword [0x5a2128], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0044f388
push ebx
push dword [0x59f0c4]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40010000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x44772b
push edi
push dword [esp + 0x14]
push dword [0x5a3d84]
call fcn.00456a66
mov edi, eax
push 8
or dword [edi + 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
push 0
mov dword [edi + 0x14], eax
push dword [0x59f0c0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x5a2080
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.004498ff
push 0x44724d
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20
Function at 0x44a75a
Capabilities:
Check os version

Disassembly:
sub esp, 0x34c
push ebp
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x114
push eax
mov esi, 0xc8
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44a8de
mov eax, dword [esp + 0x1c]
sub eax, 1
je 0x44a8c1
sub eax, 1
jne 0x44a8de
lea eax, [esp + 0x120]
xor edi, edi
push eax
call fcn.0044a713
pop ecx
test eax, eax
je 0x44a7ce
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x128]
mov ebp, dword [esp + 0x12c]
cmp byte [esp + 0x23a], 1
jmp 0x44a7ff
lea eax, [esp + 0x23c]
mov dword [esp + 0x23c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44a8de
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x356], 1
jne 0x44a804
xor edi, edi
inc edi
sub ecx, 3
je 0x44a8bd
sub ecx, 1
je 0x44a8b9
sub ecx, 1
je 0x44a894
sub ecx, 1
je 0x44a844
sub ecx, 4
jne 0x44a8de
test eax, eax
jne 0x44a8de
cmp ebp, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x44a8de
sub eax, 0
je 0x44a886
sub eax, 1
je 0x44a878
sub eax, 1
je 0x44a86a
sub eax, 1
jne 0x44a8de
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x44a8de
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x44a8de
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x44a8de
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x44a8de
sub eax, 0
je 0x44a8b5
sub eax, 1
je 0x44a8b1
sub eax, 1
jne 0x44a8de
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x44a8de
push 0x3c
jmp 0x44a8dd
push 0x32
jmp 0x44a8dd
push 0x14
jmp 0x44a8dd
push 5
jmp 0x44a8dd
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44a8db
cmp eax, 0xa
je 0x44a8d7
cmp eax, 0x5a
jne 0x44a8de
push 0x28
jmp 0x44a8dd
push 0x1e
jmp 0x44a8dd
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x34c
ret
Function at 0x44a9df
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x5a3da0]
call fcn.00456a27
mov esi, eax
test esi, esi
je 0x44aab9
cmp dword [ebp + 0xc], 0
je 0x44aa2b
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x44aa1c
cmp dword [esi + 0x1c], 0
jne 0x44aa1c
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44aab9
test byte [ebp + 0x10], 3
je 0x44aa46
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.0044ba70
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x44aa6b
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x44aa7f
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x44aa9c
test ebx, ebx
je 0x44aa90
push 8
jmp 0x44aaa2
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x44aaaf
test ebx, ebx
je 0x44aaa5
push 3
pop ecx
jmp 0x44aaaf
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x44bc82
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x44bd18
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x44bd15
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x44bd15
lea eax, [esi - 1]
push eax
push dword [0x5a3da0]
call fcn.00456a27
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x44bd17
mov ecx, dword [edi + 4]
add ecx, 4
pop esi
cmp word [ecx - 2], si
jne 0x44bd05
mov edx, 0xfa01
cmp word [ecx], dx
je 0x44bd10
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x44bcf5
jmp 0x44bd15
and dword [esp + 0x10], 0
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x44bdbe
push eax
call esi
test al, al
jns 0x44bdbe
push 0x11
call esi
test al, al
js 0x44bdbe
push 0x10
call esi
test al, al
js 0x44bdbe
push 0x12
call esi
test al, al
js 0x44bdbe
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x44bdbe
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call fcn.0043353d
add esp, 0xc
test eax, eax
je 0x44bd92
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call fcn.0043353d
add esp, 0xc
test eax, eax
jne 0x44bda9
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x44bdff
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call fcn.004c41fb
pop ecx
pop ecx
test eax, eax
je 0x44bdff
test ebp, ebp
je 0x44bde2
push 0x11
call esi
test al, al
js 0x44bdda
push 0x10
call esi
test al, al
js 0x44bdda
push 0x12
call esi
test al, al
jns 0x44bde2
push 1
push ebp
call fcn.0044be0b
test ebx, ebx
je 0x44bdf6
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x44bdff
test edi, edi
je 0x44bdff
mov eax, dword [edi + 8]
jmp 0x44be01
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x44c173
Capabilities:
Check if file exists

Disassembly:
xor eax, eax
push ebp
mov ebp, eax
mov eax, dword [0x5a3168]
push esi
test eax, eax
jne 0x44c184
push fcn.0044c28c
push 0x10
push 0x258
call fcn.00456afa
mov dword [0x5a3168], eax
push dword [esp + 0xc]
push eax
call fcn.00456a66
mov esi, eax
test esi, esi
je 0x44c285
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x44c1a6
mov edi, 0x4e87b0
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x44c1b6
xor eax, eax
cmp word [ebx], ax
jne 0x44c1bb
mov ebx, 0x4ead24
push edi
call fcn.00433265
push ebx
mov dword [esp + 0x24], eax
call fcn.00433265
add eax, dword [esp + 0x24]
pop ecx
pop ecx
lea eax, [eax*2 + 4]
push eax
xor eax, eax
push eax
push dword [0x59f0c0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x44c26c
push edi
push eax
call fcn.004c4168
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
test eax, eax
je 0x44c21c
cmp word [edi + eax*2 - 2], 0x5c
mov edi, dword [esp + 0x18]
je 0x44c220
push 0x4e5a20
push edi
call fcn.004c418a
pop ecx
pop ecx
jmp 0x44c220
mov edi, dword [esp + 0x18]
push ebx
push edi
call fcn.004c418a
pop ecx
pop ecx
lea eax, [esi + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x44c244
xor eax, eax
mov ebp, esi
mov dword [esi + 4], eax
jmp 0x44c25a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x44c258
mov dword [esi + 4], 1
mov ebp, esi
xor eax, eax
push edi
push eax
push dword [0x59f0c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
jne 0x44c283
cmp dword [esp + 0x14], 0xffffffff
je 0x44c277
mov esi, dword [esp + 0x14]
push esi
push dword [0x5a3168]
call fcn.004569d8
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
ret 0xc
Function at 0x44c302
Capabilities:
Get disk information
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x45c
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x44c44a
xor ecx, ecx
cmp word [eax], cx
je 0x44c44a
push 0x104
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004c41bb
xor eax, eax
mov word [esp + 0x21c], ax
lea eax, [esp + 0x14]
push eax
call fcn.00433265
add esp, 0x10
lea ecx, [esp + eax*2 + 6]
cmp eax, 2
je 0x44c35b
cmp eax, 3
jne 0x44c395
cmp word [esp + 0xa], 0x3a
jne 0x44c395
cmp eax, 2
jne 0x44c379
lea eax, [esp + 8]
push 0x4e5a20
push eax
call fcn.004c418a
pop ecx
pop ecx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x44c44a
push 0xfffffffffffffffe
pop edi
jmp 0x44c44a
push ebx
push ebp
push 0x5c
pop ebp
push 0x2f
pop ebx
movzx eax, word [ecx]
cmp ax, bp
je 0x44c3aa
cmp ax, bx
jne 0x44c3b4
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x44c39d
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x44c3f3
test byte [esp + 0x21c], 0x10
je 0x44c3da
push 0xfffffffffffffffe
pop edi
jmp 0x44c3ea
mov esi, dword [esp + 0x238]
xor edi, edi
or edi, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x44c448
cmp word [esp + 0x10], bp
jne 0x44c401
cmp word [esp + 0x12], bp
je 0x44c420
cmp word [esp + 0x10], bx
jne 0x44c40f
cmp word [esp + 0x12], bx
je 0x44c420
push 0x2e
pop eax
cmp word [esp + 0x10], ax
jne 0x44c448
cmp word [esp + 0x12], ax
jne 0x44c448
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x44c435
test al, 0x10
je 0x44c448
jmp 0x44c445
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x44c448
push 0xfffffffffffffffe
pop edi
pop ebp
pop ebx
mov eax, edi
mov edx, esi
pop edi
pop esi
add esp, 0x45c
ret 4

Function at 0x44c780
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp edi, 0xffffffff
jne 0x44c799
push dword [0x5a3dc4]
call fcn.00456ba3
pop edi
ret 4
push esi
push edi
push dword [0x5a3dc4]
call fcn.00456a27
mov esi, eax
test esi, esi
je 0x44c803
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44c7ef
cmp dword [esi + 0x14], 0
mov dword [esp + 0xc], 0
jne 0x44c7de
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
push dword [esi + 4]
push 0
push dword [0x59f0c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [0x5a3dc4]
call fcn.004569d8
pop esi
pop edi
ret 4