Function at 0x43ea40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1e00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x52251c]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xe74]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov eax, dword [eax + 0x1c]
push 0x407
push eax
mov byte [ebp - 4], 4
call esi
push eax
call fcn.004c1de6
mov edi, eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004c1de6
cmp edi, eax
jne 0x43eac5
mov ecx, ebx
call fcn.0046ae40
mov byte [ebp - 4], 2
jmp 0x43f471
mov eax, dword [ebx + 0xe70]
push 0
push 0
push 0x407
mov ecx, dword [eax + 0x1c]
push ecx
call esi
push eax
call fcn.004c1de6
lea edx, [ebp - 0x14]
mov ecx, eax
push edx
call fcn.004c27b1
lea ecx, [ebp - 0x14]
call fcn.004bdc60
lea ecx, [ebp - 0x14]
call fcn.004bdbd1
mov eax, dword [0x5272b4]
test eax, eax
je 0x43eb2c
mov eax, dword [0x5272b0]
lea ecx, [ebp - 0x14]
push eax
call fcn.004bd7a3
test eax, eax
jle 0x43eb2c
mov ecx, dword [0x5272ac]
mov edx, dword [0x5272b0]
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.004bd420
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jg 0x43eb3f
mov byte [ebp - 4], 2
jmp 0x43f471
lea ecx, [ebp - 0x14]
push 0
push ecx
mov ecx, ebx
call fcn.0047b690
test eax, eax
je 0x43eb59
mov byte [ebp - 4], 2
jmp 0x43f471
lea edx, [ebp - 0x30]
push 6
push edx
lea ecx, [ebp - 0x14]
call fcn.004bd709
mov eax, dword [eax]
mov esi, str.res:__
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43eb96
test cl, cl
je 0x43eb92
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43eb96
add eax, 2
add esi, 2
test cl, cl
jne 0x43eb6e
xor eax, eax
jmp 0x43eb9b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x30]
sete bl
call fcn.004c5787
test bl, bl
je 0x43ec80
push 0x23
lea ecx, [ebp - 0x14]
call fcn.004c5c4e
test eax, eax
jle 0x43ec74
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x30]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.004bd68d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004c58c0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004c5787
lea eax, [ebp - 0x30]
push 5
push eax
lea ecx, [ebp - 0x14]
call fcn.004bd709
mov eax, dword [eax]
mov esi, 0x51d7e4
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43ec2e
test cl, cl
je 0x43ec2a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43ec2e
add eax, 2
add esi, 2
test cl, cl
jne 0x43ec06
xor eax, eax
jmp 0x43ec33
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x30]
sete bl
call fcn.004c5787
test bl, bl
je 0x43ec74
push 0x2f
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.004bd3e3
push str.file:___
lea ecx, [ebp - 0x14]
call fcn.004bd7a3
cmp eax, 0xffffffff
jne 0x43ec74
push str.file:___
push str.file:__
lea ecx, [ebp - 0x14]
call fcn.004bd420
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0043e5a0
mov ecx, dword [ebp - 0x24]
push 0
call fcn.004d0b16
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov dword [ebp - 0x34], eax
call esi
push 0x10
mov ebx, eax
call esi
push 0x12
mov edi, eax
call esi
test bx, bx
mov dword [ebp - 0x2c], eax
jl 0x43ed18
test di, di
jl 0x43ed18
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0x578]
test eax, eax
je 0x43ed86
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call fcn.004c54fc
lea ecx, [esi + 0x804]
call fcn.0048ae90
test eax, eax
je 0x43ed86
lea eax, [ebp - 0x20]
push 1
push eax
mov ecx, esi
call fcn.0047b690
test eax, eax
je 0x43ed01
mov byte [ebp - 4], 2
jmp 0x43f471
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004c58c0
mov edx, dword [ebp - 0x14]
mov ecx, esi
push edx
call fcn.0043e5a0
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004c58c0
lea ecx, [ebp - 0x14]
call fcn.004bdc60
lea ecx, [ebp - 0x14]
call fcn.004bdbd1
push 0x51c7bc
lea ecx, [ebp - 0x14]
call fcn.004bd7a3
cmp eax, 3
jl 0x43ee63
push 0x51c7bc
lea ecx, [ebp - 0x14]
call fcn.004bd7a3
cmp eax, 5
jg 0x43ee63
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.004c5c4e
test eax, eax
jl 0x43f1d5
push 0x2f
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.004bd3e3
jmp 0x43f1d5
push 0x20
lea ecx, [ebp - 0x14]
call fcn.004c5c4e
test eax, eax
jle 0x43ed18
push 0x20
lea ecx, [ebp - 0x14]
call fcn.004c5c4e
mov esi, eax
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004bd709
inc esi
lea ecx, [ebp - 0x30]
push esi
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004bd5d4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.004bdc60
lea ecx, [ebp - 0x1c]
call fcn.004bdc60
lea ecx, [ebp - 0x1c]
call fcn.004bdbd1
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
push edx
push eax
lea ecx, [esi + 0x784]
call fcn.00489a10
cmp eax, 0xffffffff
je 0x43ee46
push 0
push ecx
lea edx, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x34], esp
push edx
call fcn.004c54fc
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 8
call fcn.004c54fc
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0046b860
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.004c5787
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004c5787
mov byte [ebp - 4], 2
jmp 0x43f471
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.004c5787
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004c5787
jmp 0x43ed1b
mov edx, dword [0x52251c]
mov dword [ebp - 0x1c], edx
test bx, bx
mov byte [ebp - 4], 9
jge 0x43eec3
test di, di
jl 0x43ef13
cmp word [ebp - 0x2c], 0
jl 0x43ef0e
add esi, 0x6b4
push esi
lea ecx, [ebp - 0x1c]
call fcn.004c58c0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push 0x51cd48
call fcn.004bd420
push eax
lea ecx, [ebp - 0x14]
call fcn.004bd179
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004c58c0
jmp 0x43f1b1
test di, di
jge 0x43ef09
cmp word [ebp - 0x2c], 0
jl 0x43ef09
add esi, 0x6b8
lea ecx, [ebp - 0x1c]
push esi
call fcn.004c58c0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push edx
push 0x51cd48
call fcn.004bd420
push eax
lea ecx, [ebp - 0x14]
call fcn.004bd179
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004c58c0
jmp 0x43f1b1
test bx, bx
jge 0x43ef70
test di, di
jge 0x43ef54
cmp word [ebp - 0x2c], 0
jl 0x43ef54
add esi, 0x6bc
lea ecx, [ebp - 0x1c]
push esi
call fcn.004c58c0
mov ecx, dword [ebp - 0x14]
push ecx
push 0x51cd48
lea ecx, [ebp - 0x1c]
call fcn.004bd420
push eax
lea ecx, [ebp - 0x14]
call fcn.004bd179
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push edx
call fcn.004c58c0
jmp 0x43f1b1
test bx, bx
jge 0x43ef70
test di, di
jl 0x43ef70
cmp word [ebp - 0x2c], 0
jge 0x43ef70
add esi, 0x6c0
jmp 0x43ee8f
mov eax, dword [ebp - 0x14]
mov esi, str.localhost
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43efa0
test cl, cl
je 0x43ef9c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43efa0
add eax, 2
add esi, 2
test cl, cl
jne 0x43ef78
xor eax, eax
jmp 0x43efa5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x43efd4
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x30]
push eax
push 0x51c648
push ecx
call fcn.004c5a90
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.004c58c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
jmp 0x43f1ac
lea edx, [ebp - 0x30]
push 4
push edx
lea ecx, [ebp - 0x14]
call fcn.004bd709
mov eax, dword [eax]
mov esi, str.ftp.
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43f011
test cl, cl
je 0x43f00d
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43f011
add eax, 2
add esi, 2
test cl, cl
jne 0x43efe9
xor eax, eax
jmp 0x43f016
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x30]
sete bl
call fcn.004c5787
test bl, bl
je 0x43f052
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x30]
push eax
push str.ftp:__
push ecx
call fcn.004c5a90
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.004c58c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
jmp 0x43f1ac
lea edx, [ebp - 0x30]
push 6
push edx
lea ecx, [ebp - 0x14]
call fcn.004bd709
mov eax, dword [eax]
mov esi, str.about:
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43f08f
test cl, cl
je 0x43f08b
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43f08f
add eax, 2
add esi, 2
test cl, cl
jne 0x43f067
xor eax, eax
jmp 0x43f094
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x30]
sete bl
call fcn.004c5787
test bl, bl
jne 0x43f1b1
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x43f13c
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.004c54fc
call fcn.0041c1d0
add esp, 4
test eax, eax
jne 0x43f13c
mov ecx, dword [0x5272b8]
push 0
push ecx
mov eax, dword [ecx - 8]
mov ecx, esp
test eax, eax
je 0x43f114
mov dword [ebp - 0x34], esp
push 0x5272b8
call fcn.004c54fc
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
mov byte [ebp - 4], 0xd
call fcn.004c54fc
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0046b860
jmp 0x43f127
lea eax, [ebp - 0x14]
mov dword [ebp - 0x34], esp
push eax
call fcn.004c54fc
mov ecx, esi
call fcn.0046b7d0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004c5787
mov byte [ebp - 4], 2
jmp 0x43f471
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, 0x5c
je 0x43f1b1
cmp al, 0x2f
je 0x43f1b1
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call fcn.004c54fc
call fcn.0041bfa0
add esp, 4
test eax, eax
jne 0x43f1b1
push 0x51e884
lea ecx, [ebp - 0x14]
call fcn.004bd7a3
test eax, eax
jg 0x43f1b1
push 0x51c7bc
lea ecx, [ebp - 0x14]
call fcn.004bd7a3
test eax, eax
jg 0x43f1b1
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x30]
push eax
push 0x51c648
push ecx
call fcn.004c5a90
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.004c58c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
call fcn.004c5787
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x28]
push edx
call fcn.004c58c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0043e5a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004c5787
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004c58c0
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x43f1fc
mov eax, dword [0x52733c]
test eax, eax
jne 0x43f1fc
cmp word [ebp - 0x2c], 0
jge 0x43f300
mov edx, dword [0x52251c]
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.004c5712
test esi, esi
je 0x43f263
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x43f263
mov eax, dword [esi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
test eax, eax
je 0x43f269
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x43f23c
mov eax, dword [eax + 0x1c]
push eax
call ebx
test eax, eax
je 0x43f269
mov eax, dword [esi + 0xf8]
mov ecx, dword [eax + 0x190]
test ecx, ecx
je 0x43f269
add eax, 0x208
lea ecx, [ebp - 0x2c]
push eax
call fcn.004c58c0
jmp 0x43f269
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [ebp - 0x24]
push 0
push 0
push 0
push 1
push 0
mov ecx, edi
call fcn.00450380
mov esi, eax
test esi, esi
je 0x43f2da
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x43f2da
mov ecx, dword [esi + 0x1c]
push ecx
call ebx
test eax, eax
je 0x43f2da
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x43f2a4
mov eax, dword [eax + 0x1c]
push eax
call ebx
test eax, eax
je 0x43f2da
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx - 8]
test eax, eax
jle 0x43f2da
mov eax, dword [esi + 0xf8]
lea ecx, [ebp - 0x2c]
push ecx
mov dword [eax + 0x190], 1
mov ecx, dword [esi + 0xf8]
add ecx, 0x208
call fcn.004c58c0
mov eax, dword [edi + 0x148]
test eax, eax
je 0x43f2f2
mov eax, dword [esi + 0xd4]
or al, 2
mov dword [esi + 0xd4], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.004c5787
jmp 0x43f309
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [ebp - 0x24]
test esi, esi
je 0x43f365
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x43f365
mov edx, dword [esi + 0x1c]
push edx
call ebx
test eax, eax
je 0x43f365
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x43f32e
mov eax, dword [eax + 0x1c]
push eax
call ebx
test eax, eax
je 0x43f365
lea eax, [ebp - 0x28]
mov ecx, 0x527304
push eax
call fcn.004c58c0
mov ecx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, dword [esi + 0xf8]
call fcn.0042ca30
mov ecx, esi
call fcn.00406d00
lea edx, [ebp - 0x18]
add edi, 0xe78
push edx
push 0xffffffffffffffff
mov ecx, edi
call fcn.00401ba0
cmp eax, 0xffffffff
jne 0x43f46a
push 1
push 0x2f
lea ecx, [ebp - 0x30]
call fcn.004bd113
lea eax, [ebp - 0x34]
push 1
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.004bd68d
mov esi, dword [ebp - 0x30]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43f3cc
test cl, cl
je 0x43f3c8
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43f3cc
add eax, 2
add esi, 2
test cl, cl
jne 0x43f3a4
xor eax, eax
jmp 0x43f3d1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x34]
sete bl
call fcn.004c5787
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004c5787
test bl, bl
je 0x43f41d
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004bd709
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.004c58c0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.004c5787
jmp 0x43f427
push 0x2f
lea ecx, [ebp - 0x18]
call fcn.004c5b8a
lea edx, [ebp - 0x18]
mov ecx, edi
push edx
push 0xffffffffffffffff
call fcn.00401ba0
cmp eax, 0xffffffff
jne 0x43f46a
mov edx, dword [ebp - 0x24]
mov eax, 1
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, dword [edx + 0xe70]
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], eax
call fcn.004bf1da
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004c5787
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004c5787
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.004c5787
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004c5787
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret