Function at 0x10056e00
Capabilities:
Enumerate pe sections
Log keystrokes via polling

Disassembly:
sub esp, 0xc0
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [edi + 0x32dc]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, edx
jne 0x10056e4b
mov eax, dword [esp + 0xcc]
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_SendInput]
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.101003d3
add esp, 0xc0
ret
cmp eax, 4
jne 0x10056f65
call fcn.10052a40
test eax, eax
je 0x10056efd
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi]
cmp eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
jne 0x10056ec7
mov dx, word [esi + 4]
mov ax, word [esi + 6]
mov ecx, dword [esi + 8]
mov word [esp + 0x14], dx
mov edx, dword [esi + 0xc]
mov word [esp + 0x16], ax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
jmp 0x10056ef9
cmp eax, ebx
jne 0x10056efd
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x3c], 3
mov dword [esp + 0x40], 1
call fcn.10052a40
test eax, eax
je 0x10056f24
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], ecx
jmp 0x10056f28
mov dword [esp + 0x44], esi
lea edx, [esp + 0xbc]
push edx
call dword [sym.imp.USER32.dll_GetCaretPos]
push 1
lea eax, [esp + 0xc]
push eax
push ebx
push ebx
lea ecx, [esp + 0x4c]
push 0xc
push ecx
call fcn.10022ee0
add esp, 0x18
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.101003d3
add esp, 0xc0
ret
cmp eax, 1
push ebp
mov ebp, 3
je 0x10057221
cmp eax, ebp
je 0x10057221
cmp eax, 0xa
je 0x10057221
cmp eax, 0xb
je 0x10057221
cmp eax, 2
jne 0x10057544
mov eax, dword [esi]
cmp eax, 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], ebp
jne 0x10057085
movzx ecx, word [esi + 4]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0xc4]
push eax
push ecx
mov dword [esp + 0x50], 7
call fcn.1004f170
add esp, 0xc
test eax, eax
je 0x10057544
test byte [esi + 8], 2
je 0x1005702f
mov al, byte [esp + 0x38]
test al, al
jbe 0x10057544
movzx esi, al
push esi
lea edx, [esp + 0x3d]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.10102150
push 1
lea ecx, [esp + 0x1c]
push ecx
push ebx
mov dword [esp + 0x60], esi
push ebx
add esi, 0xc
lea edx, [esp + 0x5c]
push esi
push edx
call fcn.10022ee0
add esp, 0x24
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.101003d3
add esp, 0xc0
ret
movzx esi, byte [esp + 0xc0]
push esi
lea eax, [esp + 0xc5]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.10102150
movzx eax, byte [esp + 0x44]
push 1
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
add eax, 0xc
push eax
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x6c], esi
call fcn.10022ee0
add esp, 0x24
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.101003d3
add esp, 0xc0
ret
cmp eax, ebx
jne 0x10057544
xor ebp, ebp
test byte [esi + 0x10], 1
mov dword [esp + 0x44], 8
je 0x100570c6
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xd4]
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
push 1
push ecx
push edx
lea eax, [esp + 0x60]
push eax
call fcn.10056ba0
add esp, 0x18
mov ebp, eax
mov eax, dword [esi + 0x10]
test al, 2
je 0x100570e3
mov byte [esp + 0x4c], 9
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov ebp, 4
test al, 8
je 0x100570fd
mov byte [esp + 0x4c], 0xa
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov ebp, 4
test al, 0x20
je 0x10057117
mov byte [esp + 0x4c], 0xc
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov ebp, 4
test eax, 0x800
je 0x1005716f
mov ebx, dword [esi + 0xc]
test ebx, ebx
mov byte [esp + 0x4c], 8
je 0x1005715a
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebp
test ax, ax
je 0x1005713e
or byte [esp + 0x4c], 1
push 2
call ebp
test ax, ax
je 0x1005714c
or byte [esp + 0x4c], 2
push 4
call ebp
test ax, ax
je 0x1005715a
or byte [esp + 0x4c], 4
mov byte [esp + 0x4f], bl
mov byte [esp + 0x4d], 0
mov byte [esp + 0x4e], 0
mov ebp, 4
xor ebx, ebx
mov esi, dword [esi + 0x10]
and esi, 1
jne 0x10057194
cmp ebp, ebx
jne 0x10057194
mov byte [esp + 0x4c], 8
mov byte [esp + 0x4d], 0
mov byte [esp + 0x4e], 0
mov byte [esp + 0x4f], 0
mov ebp, 4
cmp esi, ebx
mov dword [esp + 0x48], ebp
je 0x100571ef
cmp dword [edi + 0x3300], ebx
je 0x100571ef
mov eax, dword [edi + 0x37d0]
cmp eax, 0x398
jae 0x100571ef
push ebp
lea ecx, [esp + 0x50]
push ecx
lea edx, [edi + eax + 0x3380]
push edx
call fcn.10102150
add esp, 0xc
add dword [edi + 0x37d0], ebp
pop ebp
pop esi
mov dword [edi + 0x37d4], 4
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.101003d3
add esp, 0xc0
ret
push 1
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
add ebp, 0xc
lea ecx, [esp + 0x50]
push ebp
push ecx
call fcn.10022ee0
add esp, 0x18
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.101003d3
add esp, 0xc0
ret
mov ecx, dword [esi]
cmp ecx, 1
mov dword [esp + 0x40], ebp
jne 0x100573e7
cmp eax, ebp
jne 0x1005723e
mov dword [esp + 0x44], 0x14
jmp 0x1005725e
cmp eax, 0xa
jne 0x10057249
mov dword [esp + 0x44], ebx
jmp 0x1005725e
sub eax, 0xb
neg eax
sbb eax, eax
and eax, 0xffff0002
add eax, 0x10000
mov dword [esp + 0x44], eax
mov eax, dword [esi + 8]
mov dx, word [esi + 6]
mov ecx, eax
and ecx, 1
mov word [esp + 0x48], dx
mov edx, ebx
je 0x1005727e
and eax, 2
setne dl
add edx, 2
jmp 0x10057284
and eax, 2
setne dl
mov word [esp + 0x4a], dx
movzx edx, word [esi + 4]
cmp dx, 0x2c
jne 0x1005734e
cmp ecx, ebx
je 0x1005734e
cmp eax, ebx
je 0x100572f8
lea eax, [esp + 0x40]
push eax
mov edx, 0xc
mov eax, edi
mov word [esp + 0x4c], 0x37
mov word [esp + 0x4e], bp
call fcn.1004ff80
lea ecx, [esp + 0x44]
push ecx
mov edx, 0xc
mov eax, edi
mov word [esp + 0x50], 0x2a
mov word [esp + 0x52], bp
call fcn.1004ff80
add esp, 8
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.101003d3
add esp, 0xc0
ret
lea edx, [esp + 0x40]
mov esi, 2
push edx
lea edx, [esi + 0xa]
mov eax, edi
mov word [esp + 0x4c], 0x2a
mov word [esp + 0x4e], si
call fcn.1004ff80
lea eax, [esp + 0x44]
push eax
lea edx, [esi + 0xa]
mov eax, edi
mov word [esp + 0x50], 0x37
mov word [esp + 0x52], si
call fcn.1004ff80
add esp, 8
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.101003d3
add esp, 0xc0
ret
cmp dx, 0x13
jne 0x100573d1
cmp ecx, ebx
je 0x100573d1
cmp eax, ebx
jne 0x10057544
mov esi, 0x1d
lea ecx, [esp + 0x40]
push ecx
lea edx, [esi - 0x11]
mov eax, edi
mov word [esp + 0x4c], si
mov word [esp + 0x4e], 4
call fcn.1004ff80
lea edx, [esp + 0x44]
push edx
lea edx, [esi - 0x11]
mov eax, edi
mov word [esp + 0x50], 0x45
mov word [esp + 0x52], bx
call fcn.1004ff80
lea eax, [esp + 0x48]
push eax
lea edx, [esi - 0x11]
mov eax, edi
mov word [esp + 0x54], si
mov word [esp + 0x56], 5
call fcn.1004ff80
add esp, 0xc
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.101003d3
add esp, 0xc0
ret
lea ecx, [esp + 0x40]
push ecx
mov edx, 0xc
mov eax, edi
call fcn.1004ff80
jmp 0x10057541
cmp ecx, ebx
jne 0x10057544
xor edx, edx
xor ebp, ebp
cmp eax, 3
mov dword [esp + 0xc], edx
jne 0x10057406
mov dword [esp + 0x44], 0x1e
jmp 0x10057426
cmp eax, 0xa
jne 0x10057411
mov dword [esp + 0x44], edx
jmp 0x10057426
sub eax, 0xb
neg eax
sbb eax, eax
and eax, 0xffff0003
add eax, 0x10000
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x10]
mov eax, ecx
and eax, 0x8000
neg eax
sbb eax, eax
and eax, 3
test cl, 1
je 0x1005744e
mov ebx, dword [esi + 4]
mov dword [esp + 0x38], ebx
mov ebx, dword [esi + 8]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x38]
test cl, 2
je 0x10057458
mov edx, 1
test cl, 4
je 0x10057460
or edx, 2
test cl, 8
je 0x10057468
or edx, 4
test cl, 0x10
je 0x10057470
or edx, 8
test cl, 0x20
je 0x10057478
or edx, 0x10
test cl, 0x40
je 0x10057480
or edx, 0x20
test ecx, 0x800
je 0x10057492
movzx ebp, word [esi + 0xc]
or edx, 0x400
cmp dword [edi + 0x3300], 0
mov word [esp + 0x4a], dx
mov edx, dword [esp + 0xc]
mov word [esp + 0x48], ax
mov word [esp + 0x4c], bp
mov dword [esp + 0x4e], ebx
mov dword [esp + 0x52], edx
je 0x10057530
mov ecx, dword [edi + 0x3360]
cmp ecx, 6
jae 0x10057530
mov word [edi + ecx*2 + 0x330c], ax
mov eax, dword [edi + 0x3360]
mov cx, word [esp + 0x4a]
mov word [edi + eax*2 + 0x3318], cx
mov edx, dword [edi + 0x3360]
mov ax, word [esp + 0x4c]
mov word [edi + edx*2 + 0x3324], ax
mov ecx, dword [edi + 0x3360]
mov edx, dword [esp + 0x4e]
mov dword [edi + ecx*4 + 0x3330], edx
mov eax, dword [edi + 0x3360]
mov ecx, dword [esp + 0x52]
pop ebp
pop esi
mov dword [edi + eax*4 + 0x3348], ecx
add dword [edi + 0x3360], 1
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.101003d3
add esp, 0xc0
ret
lea edx, [esp + 0x40]
push edx
mov edx, 0x16
mov eax, edi
call fcn.1004ff80
add esp, 4
mov ecx, dword [esp + 0xc8]
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.101003d3
add esp, 0xc0
ret