joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42caa0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [0x4e5a88]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.0044150d
test eax, eax
je 0x42cae8
cmp dword [eax + 4], 0
lea edx, [esp + 0xc]
je 0x42cad5
push 4
push edx
push eax
call fcn.0042d710
pop ecx
ret 8
mov eax, dword [eax]
push 0
lea ecx, [esp + 4]
push ecx
push 4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp]
pop ecx
ret 8

Function at 0x42caf0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [0x4e5a88]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.0044150d
test eax, eax
je 0x42cb38
cmp dword [eax + 4], 0
lea edx, [esp + 0xc]
je 0x42cb25
push 1
push edx
push eax
call fcn.0042d710
pop ecx
ret 8
mov eax, dword [eax]
push 0
lea ecx, [esp + 4]
push ecx
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp]
pop ecx
ret 8

Function at 0x42cb40
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x42cb99
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x42cb98
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4e5a88]
push eax
push ecx
call fcn.0044150d
test eax, eax
je 0x42cb94
cmp dword [eax + 4], 0
je 0x42cb82
push esi
push edi
push eax
call fcn.0042d710
pop esi
pop edi
pop ecx
ret 0xc
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret 0xc

Function at 0x42cc60
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [0x4e5a88]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.0044150d
test eax, eax
je 0x42ccab
cmp dword [eax + 4], 0
lea edx, [esp]
je 0x42cc98
push 2
push edx
push eax
call fcn.0042d5f0
movsx eax, word [esp]
pop ecx
ret 4
mov eax, dword [eax]
push 0
lea ecx, [esp + 0xc]
push ecx
push 2
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
movsx eax, word [esp]
pop ecx
ret 4

Function at 0x42ccc0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [0x4e5a88]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.0044150d
test eax, eax
je 0x42cd0a
cmp dword [eax + 4], 0
lea edx, [esp]
je 0x42ccf7
push 4
push edx
push eax
call fcn.0042d5f0
mov eax, dword [esp]
pop ecx
ret 4
mov eax, dword [eax]
push 0
lea ecx, [esp + 0xc]
push ecx
push 4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
pop ecx
ret 4
Function at 0x42d040
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [0x4e4898]
push ebx
push ebp
push esi
push edi
mov ebx, 0x1000
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x4e5a88]
push ecx
mov esi, eax
push edx
mov ebp, esi
call fcn.0044150d
mov dword [esp + 0x1c], eax
test eax, eax
je 0x42d155
jmp 0x42d084
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x13], 0
cmp dword [eax + 4], 0
lea ecx, [esp + 0x13]
je 0x42d0a2
push 1
push ecx
push eax
call fcn.0042d5f0
mov dword [esp + 0x14], eax
jmp 0x42d0b5
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [eax]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, byte [esp + 0x13]
test al, al
je 0x42d0c5
mov byte [ebp], al
mov al, byte [esp + 0x13]
inc ebp
mov edi, ebp
sub edi, esi
cmp edi, ebx
jl 0x42d0ec
mov eax, dword [0x4e4898]
add ebx, 0x1000
push ebx
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov al, byte [esp + 0x13]
lea ebp, [edi + esi]
test al, al
je 0x42d155
cmp dword [esp + 0x14], 0
je 0x42d0ff
cmp al, 0xd
je 0x42d0ff
cmp al, 0xa
jne 0x42d080
dec ebp
cmp al, 0xd
jne 0x42d155
mov edi, dword [esp + 0x1c]
cmp dword [edi + 4], 0
je 0x42d11d
push 1
lea ecx, [esp + 0x17]
push ecx
push edi
call fcn.0042d5f0
jmp 0x42d134
mov ecx, dword [edi]
push 0
lea edx, [esp + 0x18]
push edx
push 1
lea eax, [esp + 0x1f]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x42d155
cmp dword [edi + 4], 0
je 0x42d146
inc dword [edi + 0xc]
jmp 0x42d155
mov edx, dword [edi]
push 1
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
mov byte [ebp], 0
call ebx
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [edi - 1]
push ecx
call fcn.00443be0
push edi
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
mov edx, dword [0x4e4898]
push esi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x42d1b0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [0x4e5a88]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.0044150d
test eax, eax
je 0x42d1f8
cmp dword [eax + 4], 0
lea edx, [esp + 0xc]
je 0x42d1e5
push 4
push edx
push eax
call fcn.0042d710
pop ecx
ret 8
mov eax, dword [eax]
push 0
lea ecx, [esp + 4]
push ecx
push 4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp]
pop ecx
ret 8
Function at 0x42d200
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 4], eax
test esi, esi
je 0x42d286
cmp word [esi], ax
je 0x42d286
mov eax, dword [esp + 0xc]
mov ecx, dword [0x4e5a88]
push edi
push eax
push ecx
call fcn.0044150d
mov edi, eax
test edi, edi
je 0x42d281
lea edx, [esp + 0x14]
push edx
push esi
push 0xfde9
call fcn.0042d810
mov esi, eax
test esi, esi
je 0x42d281
cmp dword [edi + 4], 0
je 0x42d25b
mov eax, dword [esp + 0x14]
push eax
push esi
push edi
call fcn.0042d710
mov dword [esp + 8], eax
jmp 0x42d271
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
push 0
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [0x4e4898]
push esi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8

Function at 0x42d290
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [0x4e5a88]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.0044150d
test eax, eax
je 0x42d2d8
cmp dword [eax + 4], 0
lea edx, [esp + 0xc]
je 0x42d2c5
push 2
push edx
push eax
call fcn.0042d710
pop ecx
ret 8
mov eax, dword [eax]
push 0
lea ecx, [esp + 4]
push ecx
push 2
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp]
pop ecx
ret 8
Function at 0x42d2e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x4e4898]
sub esp, 0xc
push esi
push edi
push 0x1000
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x42d475
mov ax, word [esp + 8]
push ebx
push ebp
mov ebx, edi
mov ebp, 0x1000
mov dword [esp + 0x18], 0x7ff
lea esp, [esp]
mov ecx, dword [esp + 0x28]
cmp ecx, 0xffffffff
je 0x42d336
test ecx, ecx
je 0x42d3e0
dec ecx
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x20]
cmp dword [esi + 4], 0
je 0x42d353
push 2
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.0042d5f0
mov dword [esp + 0x14], eax
jmp 0x42d36a
mov ecx, dword [esi]
push 0
lea edx, [esp + 0x18]
push edx
push 2
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x14], 2
mov ax, word [esp + 0x10]
jne 0x42d3e4
test ax, ax
je 0x42d386
mov word [ebx], ax
mov ax, word [esp + 0x10]
add ebx, 2
mov esi, ebx
sub esi, edi
sar esi, 1
cmp esi, dword [esp + 0x18]
jle 0x42d3bb
mov edx, dword [0x4e4898]
add dword [esp + 0x18], 0x800
add ebp, 0x1000
push ebp
push edi
push 8
push edx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, eax
mov ax, word [esp + 0x10]
lea ebx, [edi + esi*2]
test ax, ax
je 0x42d3e0
cmp dword [esp + 0x24], 0
jne 0x42d320
cmp ax, 0xd
je 0x42d3ed
cmp ax, 0xa
jne 0x42d320
sub ebx, 2
jmp 0x42d458
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x24], 0
jne 0x42d458
jmp 0x42d3f1
mov esi, dword [esp + 0x20]
cmp ax, 0xa
jne 0x42d3fc
sub ebx, 2
jmp 0x42d458
cmp ax, 0xd
jne 0x42d458
sub ebx, 2
cmp dword [esi + 4], 0
je 0x42d41e
push 2
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0042d5f0
mov dword [esp + 0x14], eax
jmp 0x42d435
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x18]
push ecx
push 2
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [esp + 0x10], 0xa
je 0x42d458
cmp dword [esi + 4], 0
je 0x42d449
add dword [esi + 0xc], 2
jmp 0x42d458
mov ecx, dword [esi]
push 1
push 0
push 0xfffffffffffffffe
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x2c]
mov edx, ebx
sub edx, edi
sar edx, 1
pop ebp
mov dword [eax], edx
xor ecx, ecx
mov word [ebx], cx
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret 0x10
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret 0x10
Function at 0x42d480
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x4e4898]
sub esp, 8
push ebx
push esi
push edi
mov ebx, 0x1000
push ebx
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x42d5e1
mov al, byte [esp + 0xf]
push ebp
mov ebp, edi
lea esp, [esp]
mov ecx, dword [esp + 0x24]
cmp ecx, 0xffffffff
je 0x42d4c6
test ecx, ecx
je 0x42d559
dec ecx
mov dword [esp + 0x24], ecx
mov esi, dword [esp + 0x1c]
cmp dword [esi + 4], 0
je 0x42d4e3
push 1
lea ecx, [esp + 0x17]
push ecx
push esi
call fcn.0042d5f0
mov dword [esp + 0x14], eax
jmp 0x42d4fa
mov ecx, dword [esi]
push 0
lea edx, [esp + 0x18]
push edx
push 1
lea eax, [esp + 0x1f]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x14], 1
mov al, byte [esp + 0x13]
jne 0x42d55d
test al, al
je 0x42d511
mov byte [ebp], al
mov al, byte [esp + 0x13]
inc ebp
mov esi, ebp
sub esi, edi
lea edx, [ebx - 1]
cmp esi, edx
jle 0x42d53b
mov eax, dword [0x4e4898]
add ebx, 0x1000
push ebx
push edi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, eax
mov al, byte [esp + 0x13]
lea ebp, [esi + edi]
test al, al
je 0x42d559
cmp dword [esp + 0x20], 0
jne 0x42d4b0
cmp al, 0xd
je 0x42d566
cmp al, 0xa
jne 0x42d4b0
dec ebp
jmp 0x42d5c7
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x20], 0
jne 0x42d5c7
jmp 0x42d56a
mov esi, dword [esp + 0x1c]
cmp al, 0xa
jne 0x42d571
dec ebp
jmp 0x42d5c7
cmp al, 0xd
jne 0x42d5c7
dec ebp
cmp dword [esi + 4], 0
je 0x42d58f
push 1
lea ecx, [esp + 0x17]
push ecx
push esi
call fcn.0042d5f0
mov dword [esp + 0x14], eax
jmp 0x42d5a6
mov ecx, dword [esi]
push 0
lea edx, [esp + 0x18]
push edx
push 1
lea eax, [esp + 0x1f]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x42d5c7
cmp dword [esi + 4], 0
je 0x42d5b8
inc dword [esi + 0xc]
jmp 0x42d5c7
mov edx, dword [esi]
push 1
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x28]
mov eax, ebp
sub eax, edi
mov dword [ecx], eax
mov byte [ebp], 0
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret 0x10
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret 0x10
Function at 0x42d5f0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 0
push edi
jne 0x42d611
push esi
call fcn.0042c330
mov dword [esi + 0x14], 1
mov dword [esi + 0xc], 0
mov ebx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ebx, edi
jl 0x42d686
mov eax, dword [esi + 0x10]
add eax, dword [esi + 4]
mov ecx, edi
sub eax, ebx
dec ecx
je 0x42d673
dec ecx
je 0x42d65e
sub ecx, 2
je 0x42d64b
push edi
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov ax, word [eax]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov dl, byte [eax]
mov eax, dword [esp + 0x14]
mov byte [eax], dl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [esi + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
sub ecx, ebx
add ecx, dword [esi + 4]
push ebx
push ecx
push ebp
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
sub edi, ebx
add ebp, ebx
push 0
cmp edi, eax
jl 0x42d6cf
mov eax, dword [esi]
lea edx, [esp + 0x18]
push edx
push edi
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi + 0xc], 0
pop esi
add eax, ebx
pop ebx
ret 0xc
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp edi, eax
jle 0x42d6f2
mov edi, eax
mov ecx, dword [esi + 4]
push edi
push ecx
push ebp
call sub.MSVCRT.dll_memcpy
sub dword [esi + 0xc], edi
add esp, 0xc
pop ebp
lea eax, [ebx + edi]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x42d710
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 1
push edi
mov dword [esp + 8], 0
jne 0x42d745
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 1
push 0
neg eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], edx
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ecx, edi
jle 0x42d7ba
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
sub eax, ecx
mov ecx, edi
dec ecx
je 0x42d7a7
dec ecx
je 0x42d792
sub ecx, 2
je 0x42d77f
mov ecx, dword [esp + 0x14]
push edi
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cx, word [edx]
mov word [eax], cx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cl, byte [edx]
mov byte [eax], cl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
push esi
call fcn.0042c330
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x42d7e7
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
push edi
push edx
add ecx, eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc

Function at 0x430ac2
Capabilities:
Get graphical window text

Disassembly:
push edi
push dword [esp + 8]
push dword [0x4e5a80]
call fcn.0044150d
mov edi, eax
test edi, edi
je 0x430b26
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x430aeb
push dword [esp + 0xc]
push edi
call eax
jmp 0x430b26
push ebx
push esi
push dword [edi]
call dword [sym.imp.USER32.DLL_GetWindowTextLengthW]
push dword [esp + 0x14]
mov esi, eax
push esi
call fcn.00443be0
mov ebx, eax
xor eax, eax
mov word [ebx], ax
lea eax, [esi + 1]
push eax
push ebx
push dword [edi]
call dword [sym.imp.USER32.DLL_GetWindowTextW]
push ebx
call sub.MSVCRT.dll_wcslen
pop ecx
sub esi, eax
push esi
call fcn.00443c80
pop esi
pop ebx
pop edi
ret 8
Function at 0x4324a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push dword [0x4e5aa8]
call fcn.00441681
xor edi, edi
mov ebx, eax
cmp dword [0x4e572c], edi
jne 0x432576
call fcn.0043269c
mov esi, 0xa4
push esi
push edi
push 0x4e5688
call sub.MSVCRT.dll_memset
mov dword [0x4e568c], esi
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x114]
inc esi
push eax
mov dword [0x4e5688], 0x13
mov dword [0x4e5698], 0x431e89
mov dword [0x4e569c], 0x431e67
mov dword [0x4e56f0], 0x431ec7
mov dword [0x4e56f4], 0x431eec
mov dword [0x4e5694], 0x431ea4
mov dword [0x4e5680], esi
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x432570
cmp dword [ebp - 0x104], esi
je 0x43256a
cmp dword [ebp - 0x104], 2
jne 0x432570
cmp dword [ebp - 0x110], 5
jb 0x43256a
jne 0x432570
cmp dword [ebp - 0x10c], edi
jne 0x432570
mov dword [0x4e5680], edi
mov dword [0x4e572c], esi
mov eax, dword [ebp + 0x20]
push edi
push dword [0x4e489c]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [ebx]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push edi
push str.BUTTON
push edi
call dword [sym.imp.USER32.DLL_CreateWindowExW]
mov dword [ebp + 0x18], eax
cmp eax, edi
je 0x43260d
push dword [ebp + 8]
push dword [0x4e5a80]
call fcn.00441470
mov ebx, dword [ebp + 0x1c]
mov esi, eax
mov dword [esi + 0x10], ebx
cmp ebx, edi
je 0x4325db
push ebx
call fcn.0043621a
test eax, eax
je 0x4325db
push edi
push edi
push ebx
call fcn.004362fc
mov dword [esi + 0x18], eax
jmp 0x4325de
mov dword [esi + 0x18], edi
push 0x4321d2
push 0xfffffffffffffffc
push dword [ebp + 0x18]
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
call dword [sym.imp.USER32.DLL_SetWindowLongW]
push 0x4e5688
push dword [ebp + 0x18]
mov dword [0x4e5684], eax
push esi
push dword [ebp + 8]
call fcn.0043282a
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x435121
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov edi, eax
mov bl, pe_nt_image_headers32
test edi, edi
je 0x43519d
push 9
call esi
test bl, al
je 0x43519d
push 0x11
call esi
test bl, al
jne 0x43519d
push 0x10
call esi
test bl, al
jne 0x43519d
push 0x12
call esi
test bl, al
jne 0x43519d
push 5
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetClassNameW]
push 4
lea eax, [esp + 0x14]
push str.Rich
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x43519d
push eax
push eax
push 0x44e
push edi
call dword [sym.imp.USER32.DLL_SendMessageW]
test eax, 0x800
jne 0x43519d
xor eax, eax
jmp 0x43521f
push ebp
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x4351c6
push 0x11
call esi
test bl, al
jne 0x4351be
push 0x10
call esi
test bl, al
jne 0x4351be
push 0x12
call esi
test bl, al
je 0x4351c6
push 1
push ebp
call fcn.004350da
mov esi, dword [sym.imp.USER32.DLL_GetPropW]
test edi, edi
je 0x4351dc
push str.PB_Hotkey
push edi
call esi
test eax, eax
jne 0x43521c
push 0x45a918
push ebp
call esi
mov esi, eax
test esi, esi
je 0x43521c
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x43521c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x10], eax
jne 0x43521c
dec esi
push esi
push dword [0x4e5a7c]
call fcn.0044150d
test eax, eax
je 0x43521c
mov eax, dword [eax + 8]
jmp 0x43521e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4360a5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push edi
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor edi, edi
mov dword [0x4e57a4], eax
cmp eax, edi
je 0x4360d6
push str.AlphaBlend
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e57a8], eax
lea eax, [ebp - 0x114]
push eax
mov dword [0x4e57a0], 1
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x436126
cmp dword [ebp - 0x104], 1
je 0x436137
cmp dword [ebp - 0x104], 2
jne 0x436126
cmp dword [ebp - 0x110], 5
jb 0x436137
jne 0x436126
cmp dword [ebp - 0x10c], edi
jne 0x436126
mov dword [0x4e57a0], edi
cmp dword [0x4e57a0], edi
je 0x43613d
call fcn.00435fec
test eax, eax
jne 0x43613d
mov dword [0x4e57a0], edi
pop edi
leave
ret

Function at 0x437b8d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x4e5b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov eax, dword [ecx + 0x6c]
mov dword [ebp - 4], ecx
cmp eax, 2
je 0x437bb8
cmp eax, 3
je 0x437bb8
cmp eax, 8
jne 0x437c97
fldz
fcom dword [ebp + 8]
fnstsw ax
test ah, 0x41
jne 0x437bc9
fstp dword [ebp + 8]
jmp 0x437bd9
fstp st(0)
fld1
fcom dword [ebp + 8]
fnstsw ax
test ah, 5
jnp 0x437bc4
fstp st(0)
push ebx
push esi
mov esi, dword [ecx + 0x9c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ebx, ebx
jmp 0x437c0e
fld dword [esi + 4]
fld dword [ebp + 8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x437c14
fld dword [esi + 4]
fld dword [ebp + 8]
fcompp
fnstsw ax
test ah, 5
jnp 0x437c18
mov ebx, esi
mov esi, dword [esi]
test esi, esi
jne 0x437bec
jmp 0x437c3f
mov eax, esi
jmp 0x437c3b
push 0x18
push 0
push dword [0x4e4898]
call edi
test eax, eax
je 0x437c3f
mov dword [eax], esi
test ebx, ebx
je 0x437c32
mov dword [ebx], eax
jmp 0x437c3b
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x9c], eax
test eax, eax
jne 0x437c63
push 0x18
push 0
push dword [0x4e4898]
call edi
test eax, eax
je 0x437c94
and dword [eax], 0
test ebx, ebx
je 0x437c5a
mov dword [ebx], eax
jmp 0x437c63
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x9c], eax
mov edx, dword [ebp + 0xc]
fld dword [ebp + 8]
mov ecx, 0xff
fstp dword [eax + 4]
mov esi, edx
and esi, ecx
mov dword [eax + 8], esi
mov esi, edx
sar esi, 8
and esi, ecx
mov dword [eax + 0xc], esi
mov esi, edx
sar esi, 0x10
and esi, ecx
sar edx, 0x18
and edx, ecx
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edx
pop edi
pop esi
pop ebx
leave
ret 8