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

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0x10]
push ebx
xor ebx, ebx
push esi
mov esi, ebx
test eax, eax
je 0x40aad3
cmp word [eax], bx
je 0x40aad3
push ebx
push pe_nt_image_headers32
push 3
push ebx
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x40aacf
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x18], eax
test eax, eax
jle 0x40aac5
push ebp
mov ebp, dword [esp + 0x20]
push edi
push ebp
call fcn.0040c275
mov edi, eax
test edi, edi
je 0x40aac3
mov ebx, dword [esp + 0x1c]
cmp ebp, 0xffffffff
jne 0x40a987
push 2
jmp 0x40a988
push ebp
push ebx
call fcn.0040ac02
mov esi, eax
test esi, esi
je 0x40aabc
cmp ebx, 0xffffffff
jne 0x40a99f
mov ebx, esi
mov eax, dword [esi + 4]
xor ecx, ecx
mov dword [esi + 0x30], ebx
mov ebx, dword [esp + 0x20]
add ebx, 8
mov dword [esi + 0x2c], edi
push ebx
push ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x14], ecx
push dword [0x526b10]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x28], eax
test eax, eax
je 0x40a9e4
mov dword [eax + 4], ebx
mov eax, dword [esi + 0x28]
and dword [eax], 0
mov eax, dword [esi + 0x28]
add eax, 8
mov dword [esi + 0x44], eax
cmp ebp, 0xffffffff
je 0x40a9f0
mov dword [esi + 0x34], 1
push esi
push edi
call fcn.00447ab0
mov ebp, dword [esp + 0x28]
mov ebx, 0x4000
pop ecx
pop ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test ebp, ebp
jle 0x40aab8
lea eax, [ebx + ecx]
cmp eax, ebp
jle 0x40aa1b
mov ebx, ebp
sub ebx, ecx
push ebx
push edi
call fcn.00447440
mov dword [esp + 0x28], eax
pop ecx
pop ecx
test eax, eax
je 0x40aaaa
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jne 0x40aa9a
mov eax, dword [esp + 0x1c]
add eax, ecx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x1c], eax
jne 0x40aa6c
push ecx
push dword [esp + 0x24]
call fcn.0040c320
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jl 0x40aa74
push 1
jmp 0x40aa76
push 0
push ecx
push edi
call fcn.00447710
add esp, 0xc
test eax, eax
je 0x40aa8e
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
jl 0x40aa10
jmp 0x40aab8
push edi
call fcn.004476f0
pop ecx
mov dword [esi + 0x18], eax
jmp 0x40aab1
mov dword [esi + 0x18], 0x100
mov dword [esi + 0x24], 0x4de008
jmp 0x40aab8
mov dword [esi + 0x18], 1
push edi
push esi
call fcn.0040c3da
and dword [esi + 0x2c], 0
push edi
call fcn.00447850
pop ecx
pop edi
pop ebp
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x40aad5
xor eax, eax
pop esi
pop ebx
pop ecx
pop ecx
ret 0xc
Function at 0x40be41
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push edi
push 0
push eax
mov edi, 0x1000
mov eax, edi
sub eax, dword [esi + 4]
push eax
push dword [esi + 0x10]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, edi
sub eax, dword [esi + 4]
cmp dword [ebp + 8], eax
jne 0x40be7d
mov eax, dword [esi + 0x10]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], edi
inc eax
jmp 0x40be7f
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x40d3a5
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
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 ebp, eax
test ebp, ebp
je 0x40d43d
push edi
push 0x527ca8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x526d4c]
test edi, edi
je 0x40d411
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40d40a
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x526d4c
call fcn.00440981
pop ecx
pop ecx
jmp 0x40d40c
mov edi, dword [edi]
test edi, edi
jne 0x40d3e1
pop ebx
mov eax, dword [0x524378]
mov esi, eax
inc eax
push 0x10
push 0x526d4c
mov dword [0x524378], eax
call fcn.004409c1
pop ecx
pop ecx
push 0x527ca8
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8

Function at 0x410021
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x410076
push dword [esp + 0x10]
push 0x40ffa0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x526d54]
test esi, esi
je 0x4100cf
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x41006e
cmp byte [esi + 0x10], 0
je 0x41006e
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x41004a
jmp 0x4100cf
mov esi, dword [0x526d54]
test esi, esi
je 0x4100cf
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x4100c8
cmp byte [esi + 0x11], 0
je 0x4100a4
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x4100bb
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x526d54
call fcn.00440981
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x410083
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x42a391
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x527cd4]
call fcn.004400b0
mov ebp, eax
or ebx, 0xffffffff
xor eax, eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
movzx edx, word [eax]
test dx, dx
je 0x42a491
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x42a3e7
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x42a3df
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x42a427
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x42a469
push 0x22
pop edx
cmp cx, dx
je 0x42a419
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x42a409
xor ecx, ecx
cmp word [eax], cx
je 0x42a469
mov ecx, eax
add eax, 2
jmp 0x42a46b
test dx, dx
je 0x42a471
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x42a419
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x42a45f
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x42a469
cmp cx, dx
je 0x42a45c
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x42a44c
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x42a431
jmp 0x42a419
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x42a473
xor edx, edx
cmp dword [ebp], ebx
jne 0x42a47c
test edi, edi
jne 0x42a499
test edx, edx
je 0x42a481
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x42a3d5
test edi, edi
jne 0x42a4aa
mov eax, ebx
jmp 0x42a4ae
test esi, esi
je 0x42a4aa
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x42a4ae
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x42b2f1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x527cf4]
call fcn.004400b0
mov edi, dword [eax + 0x24]
test edi, edi
je 0x42b3af
cmp dword [edi + 8], 1
je 0x42b3af
mov edi, dword [edi + 0xc]
test edi, edi
je 0x42b3af
mov al, byte [edi]
cmp al, 0x20
je 0x42b32a
cmp al, 9
jne 0x42b32d
inc edi
jmp 0x42b320
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push edi
push eax
push 0xfde9
call esi
push dword [esp + 0x14]
mov ebx, eax
lea ecx, [ebx - 1]
push ecx
call fcn.00440dd0
push ebx
mov ebp, eax
push ebp
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
test ebx, ebx
jle 0x42b37e
push 9
pop edx
lea eax, [ebp - 2]
lea eax, [eax + ebx*2]
movzx ecx, word [eax]
push 0x20
pop esi
cmp cx, si
je 0x42b39a
cmp cx, dx
je 0x42b39a
pop edi
pop esi
pop ebp
pop ebx
ret 4
movzx ecx, word [eax]
cmp cx, si
je 0x42b392
cmp cx, dx
jne 0x42b39e
xor ecx, ecx
mov word [eax], cx
sub eax, 2
cmp eax, ebp
jae 0x42b385
push ebp
call sub.MSVCRT.dll_wcslen
pop ecx
sub ebx, eax
push ebx
call fcn.00440eb0
jmp 0x42b37e
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.00441150
Function at 0x42d453
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [0x527d08]
xor edi, edi
call fcn.004400b0
mov ebx, eax
cmp dword [ebp + 8], edi
je 0x42d50a
cmp dword [ebp + 0xc], edi
je 0x42d50a
push esi
push 0x60
push 8
push dword [0x526b10]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebp + 8]
mov esi, eax
or dword [esi + 4], 0xffffffff
mov dword [esi], edi
call sub.MSVCRT.dll__wcsdup
push dword [ebp + 0xc]
mov dword [esi + 8], eax
call sub.MSVCRT.dll__wcsdup
push dword [ebp + 0x14]
mov dword [esi + 0xc], eax
call sub.MSVCRT.dll__wcsdup
mov dword [esi + 0x40], eax
add esp, 0xc
mov eax, dword [ebx]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
test al, 1
je 0x42d4f9
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x42d6ac
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42d4f1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
jmp 0x42d509
push esi
call fcn.0042d757
jmp 0x42d508
push esi
call fcn.0042d524
push esi
mov edi, eax
call fcn.0042d757
pop ecx
pop ecx
pop esi
mov eax, edi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x42d524
Capabilities:
Delete file

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov ebp, dword [edi + 0xc]
push dword [edi + 8]
mov dword [esp + 0x18], ebp
call fcn.004d5730
push dword [edi + 0x40]
mov dword [esp + 0x20], eax
call fcn.004d5730
mov dword [esp + 0x10], eax
call fcn.0049fdd0
mov esi, eax
test esi, esi
je 0x42d682
push ebx
push pe_nt_image_headers32
push 2
push ebx
push 1
push 0xc0000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x42d66d
test byte [edi + 0x24], 2
mov dword [edi + 0x10], ebp
jne 0x42d596
push 1
push 0x34
push esi
call fcn.004a2d20
add esp, 0xc
mov eax, dword [0x526da0]
test eax, eax
je 0x42d5ae
push eax
push 0x2714
push esi
call fcn.004a2d20
add esp, 0xc
mov eax, dword [0x526da4]
test eax, eax
je 0x42d5df
cmp dword [0x526da8], ebx
je 0x42d5df
push eax
push 0x27bf
push esi
call fcn.004a2d20
push dword [0x526da8]
push 0x27c0
push esi
call fcn.004a2d20
add esp, 0x18
push dword [esp + 0x1c]
push 0x2712
push esi
call fcn.004a2d20
push dword [esp + 0x1c]
push 0x2722
push esi
call fcn.004a2d20
push 0x42d6bb
push 0x4e2b
push esi
call fcn.004a2d20
push edi
push 0x2711
push esi
call fcn.004a2d20
push dword [edi + 0x28]
push 0x9c
push esi
call fcn.004a2d20
push dword [edi + 0x2c]
push 0x9b
push esi
call fcn.004a2d20
add esp, 0x48
push 1
push 0x63
push esi
call fcn.004a2d20
push esi
call fcn.0049fe70
add esp, 0x10
test eax, eax
jne 0x42d658
cmp dword [edi + 4], 0xfffffffb
je 0x42d658
xor ebx, ebx
inc ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x42d66d
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call fcn.0049fd90
pop ecx
cmp ebx, 1
jne 0x42d682
mov dword [edi + 4], 0xfffffffe
jmp 0x42d691
xor ecx, ecx
cmp dword [edi + 4], 0xfffffffb
setne cl
add ecx, 0xfffffffc
mov dword [edi + 4], ecx
push dword [esp + 0x1c]
call fcn.004d5720
push dword [esp + 0x10]
call fcn.004d5720
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
pop ecx
ret
Function at 0x42e92a
Capabilities:
Create thread
Reference http user-agent string

Disassembly:
push ebx
push edi
push dword [0x527d08]
xor edi, edi
call fcn.004400b0
mov ebx, eax
cmp dword [esp + 0x10], edi
je 0x42ea1e
push ebp
push esi
push 0x60
push 8
push dword [0x526b10]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [esp + 0x18]
mov esi, eax
xor ebp, ebp
inc ebp
or dword [esi + 4], 0xffffffff
mov dword [esi], ebp
call sub.MSVCRT.dll__wcsdup
mov dword [esi + 8], eax
mov dword [esp], str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
call sub.MSVCRT.dll__wcsdup
pop ecx
mov ecx, dword [esp + 0x24]
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 ebx, dword [esp + 0x20]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], eax
test cl, 1
je 0x42ea0c
test ebx, ebx
je 0x42e9d6
push ebx
push edi
push dword [0x526b10]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x48], eax
test eax, eax
je 0x42e9d1
push ebx
push dword [esp + 0x20]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x48], edi
je 0x42ea03
lea eax, [esp + 0x18]
push eax
push edi
push esi
push 0x42ea25
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42e9fb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42e9ff
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x42ea1a
push esi
call fcn.0042d757
pop ecx
jmp 0x42ea1c
mov eax, dword [esp + 0x1c]
push esi
mov dword [esi + 0x48], eax
call fcn.0042e505
pop ecx
mov edi, esi
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
ret 0x18

Function at 0x42ebf1
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
push 0x42eb40
push 0x10
push 0x2c
call fcn.004407c3
xor esi, esi
mov dword [0x526ec0], eax
push esi
push esi
push 8
call fcn.0044011b
mov dword [0x527d10], eax
cmp word [0x526eb8], si
jne 0x42ecda
push edi
lea eax, [esp + 8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
inc edi
test eax, eax
jne 0x42ec49
mov word [0x526eb8], di
jmp 0x42ec51
xor eax, eax
mov word [0x526eb8], ax
push 0x800
push esi
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x526ed4], eax
test eax, eax
je 0x42ecd9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4f3148
push eax
call esi
push 0x4f3154
push dword [0x526ed4]
mov dword [0x526ec4], eax
call esi
push str.getnameinfo
push dword [0x526ed4]
mov dword [0x526ec8], eax
call esi
push str.WSAStringToAddressA
push dword [0x526ed4]
mov dword [0x526ecc], eax
call esi
cmp dword [0x526ec4], 0
mov dword [0x526ed0], eax
je 0x42ecd9
cmp dword [0x526ec8], 0
je 0x42ecd9
cmp dword [0x526ecc], 0
je 0x42ecd9
test eax, eax
je 0x42ecd9
mov dword [0x526ebc], edi
pop edi
pop esi
add esp, 0x190
ret
Function at 0x42f485
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x527d38]
call fcn.004406f0
mov ebx, eax
test ebx, ebx
je 0x42f4e9
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x42f4ae
push dword [esp + 0xc]
push ebx
call eax
jmp 0x42f4e9
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.00440dd0
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 sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.00440eb0
pop edi
pop esi
pop ebx
ret 8
Function at 0x433b19
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x527d1c]
call fcn.004400b0
xor ebp, ebp
mov esi, eax
cmp dword [0x527548], ebp
jne 0x433bf5
xor ebx, ebx
inc ebx
mov dword [0x527548], ebx
call fcn.0043611c
mov edi, 0xa4
push edi
push ebp
push 0x527550
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x527550], 0x13
lea eax, [esp + 0x10]
mov dword [0x527554], edi
mov dword [0x527560], 0x433a64
mov dword [0x527564], 0x433daf
push eax
mov dword [0x5275b8], 0x433a3f
mov dword [0x5275bc], 0x433cfa
mov dword [0x52755c], 0x433a1a
mov dword [0x5275e0], 0x433a7f
mov dword [0x5275f4], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x433bf5
cmp dword [esp + 0x20], ebx
je 0x433bdd
cmp dword [esp + 0x20], 2
jne 0x433bf5
cmp dword [esp + 0x14], 5
jae 0x433be5
mov dword [0x5275f4], ebp
jmp 0x433bf5
jne 0x433bf5
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x5275f4], eax
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.00438802
mov eax, dword [esp + 0x140]
push ebp
push dword [0x526b14]
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 ebp
push str.BUTTON
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x433ccb
push dword [esp + 0x128]
push dword [0x527d38]
call fcn.0044072f
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x433c9a
push edi
call fcn.0043badd
test eax, eax
je 0x433c9a
push ebp
push ebp
push edi
call fcn.0043b74c
mov dword [esi + 0x18], eax
jmp 0x433c9d
mov dword [esi + 0x18], ebp
push 0x433769
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x527550
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x52754c], eax
call fcn.00435883
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x436e81
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x436ff7
mov eax, dword [esp + 0x24]
dec eax
je 0x436fda
dec eax
jne 0x436ff7
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.00436e3a
pop ecx
test eax, eax
je 0x436f38
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x436efb
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x436fd6
dec ebx
je 0x436fd2
dec ebx
je 0x436fb1
dec ebx
je 0x436f6b
sub ebx, 4
jne 0x436ff7
test edi, edi
jne 0x436ff7
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x436ff7
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x436efb
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x436ef6
sub edi, 0
je 0x436fa3
dec edi
je 0x436f95
dec edi
je 0x436f87
dec edi
jne 0x436ff7
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x436ff7
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x436ff7
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x436ff7
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x436ff7
sub edi, 0
je 0x436fce
dec edi
je 0x436fca
dec edi
jne 0x436ff7
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x436ff7
push 0x3c
jmp 0x436ff6
push 0x32
jmp 0x436ff6
push 0x14
jmp 0x436ff6
push 5
jmp 0x436ff6
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x436ff4
cmp eax, 0xa
je 0x436ff0
cmp eax, 0x5a
jne 0x436ff7
push 0x28
jmp 0x436ff6
push 0x1e
jmp 0x436ff6
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret
Function at 0x43710c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x527d48]
call fcn.004406f0
mov esi, eax
test esi, esi
je 0x4371e6
cmp dword [ebp + 0xc], 0
je 0x437158
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x437149
cmp dword [esi + 0x1c], 0
jne 0x437149
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4371e6
test byte [ebp + 0x10], 3
je 0x437173
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.00437971
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x437198
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 0x4371ac
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 0x4371c9
test ebx, ebx
je 0x4371bd
push 8
jmp 0x4371cf
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x4371dc
test ebx, ebx
je 0x4371d2
push 3
pop ecx
jmp 0x4371dc
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 0x437b04
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 0x437b9c
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x437b99
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x437b99
lea eax, [esi - 1]
push eax
push dword [0x527d48]
call fcn.004406f0
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x437b9b
mov edx, dword [edi + 4]
xor ecx, ecx
pop esi
cmp word [ecx + edx + 2], si
jne 0x437b90
mov esi, 0xfa01
push 9
cmp word [ecx + edx + 4], si
je 0x437c83
pop esi
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x437b76
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x437c42
push eax
call esi
test al, al
jns 0x437c42
push 0x11
call esi
test al, al
js 0x437c42
push 0x10
call esi
test al, al
js 0x437c42
push 0x12
call esi
test al, al
js 0x437c42
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x437c42
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x437c16
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x437c2d
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x437c8d
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x437c8d
test ebp, ebp
je 0x437c66
push 0x11
call esi
test al, al
js 0x437c5e
push 0x10
call esi
test al, al
js 0x437c5e
push 0x12
call esi
test al, al
jns 0x437c66
push 1
push ebp
call fcn.00437c99
test ebx, ebx
je 0x437c7a
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x437c8d
test edi, edi
je 0x437c8d
mov eax, dword [edi + 8]
jmp 0x437c8f
and dword [esp + 0x14], 0
jmp 0x437b9b
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4