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

Disassembly:
sub esp, 0xc0
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [edi + 0x32d8]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, edx
jne 0x1005633b
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.100ff704
add esp, 0xc0
ret
cmp eax, 4
jne 0x10056455
call fcn.10051f50
test eax, eax
je 0x100563ed
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 0x100563b7
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 0x100563e9
cmp eax, ebx
jne 0x100563ed
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.10051f50
test eax, eax
je 0x10056414
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], ecx
jmp 0x10056418
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.100227d0
add esp, 0x18
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ff704
add esp, 0xc0
ret
cmp eax, 1
push ebp
mov ebp, 3
je 0x10056711
cmp eax, ebp
je 0x10056711
cmp eax, 0xa
je 0x10056711
cmp eax, 0xb
je 0x10056711
cmp eax, 2
jne 0x10056a34
mov eax, dword [esi]
cmp eax, 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], ebp
jne 0x10056575
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.1004e720
add esp, 0xc
test eax, eax
je 0x10056a34
test byte [esi + 8], 2
je 0x1005651f
mov al, byte [esp + 0x38]
test al, al
jbe 0x10056a34
movzx esi, al
push esi
lea edx, [esp + 0x3d]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.10101480
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.100227d0
add esp, 0x24
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ff704
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.10101480
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.100227d0
add esp, 0x24
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ff704
add esp, 0xc0
ret
cmp eax, ebx
jne 0x10056a34
xor ebp, ebp
test byte [esi + 0x10], 1
mov dword [esp + 0x44], 8
je 0x100565b6
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.10056090
add esp, 0x18
mov ebp, eax
mov eax, dword [esi + 0x10]
test al, 2
je 0x100565d3
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 0x100565ed
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 0x10056607
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 0x1005665f
mov ebx, dword [esi + 0xc]
test ebx, ebx
mov byte [esp + 0x4c], 8
je 0x1005664a
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebp
test ax, ax
je 0x1005662e
or byte [esp + 0x4c], 1
push 2
call ebp
test ax, ax
je 0x1005663c
or byte [esp + 0x4c], 2
push 4
call ebp
test ax, ax
je 0x1005664a
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 0x10056684
cmp ebp, ebx
jne 0x10056684
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 0x100566df
cmp dword [edi + 0x32fc], ebx
je 0x100566df
mov eax, dword [edi + 0x37cc]
cmp eax, 0x398
jae 0x100566df
push ebp
lea ecx, [esp + 0x50]
push ecx
lea edx, [edi + eax + 0x337c]
push edx
call fcn.10101480
add esp, 0xc
add dword [edi + 0x37cc], ebp
pop ebp
pop esi
mov dword [edi + 0x37d0], 4
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ff704
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.100227d0
add esp, 0x18
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ff704
add esp, 0xc0
ret
mov ecx, dword [esi]
cmp ecx, 1
mov dword [esp + 0x40], ebp
jne 0x100568d7
cmp eax, ebp
jne 0x1005672e
mov dword [esp + 0x44], 0x14
jmp 0x1005674e
cmp eax, 0xa
jne 0x10056739
mov dword [esp + 0x44], ebx
jmp 0x1005674e
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 0x1005676e
and eax, 2
setne dl
add edx, 2
jmp 0x10056774
and eax, 2
setne dl
mov word [esp + 0x4a], dx
movzx edx, word [esi + 4]
cmp dx, 0x2c
jne 0x1005683e
cmp ecx, ebx
je 0x1005683e
cmp eax, ebx
je 0x100567e8
lea eax, [esp + 0x40]
push eax
mov edx, 0xc
mov eax, edi
mov word [esp + 0x4c], 0x37
mov word [esp + 0x4e], bp
call fcn.1004f530
lea ecx, [esp + 0x44]
push ecx
mov edx, 0xc
mov eax, edi
mov word [esp + 0x50], 0x2a
mov word [esp + 0x52], bp
call fcn.1004f530
add esp, 8
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ff704
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.1004f530
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.1004f530
add esp, 8
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ff704
add esp, 0xc0
ret
cmp dx, 0x13
jne 0x100568c1
cmp ecx, ebx
je 0x100568c1
cmp eax, ebx
jne 0x10056a34
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.1004f530
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.1004f530
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.1004f530
add esp, 0xc
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ff704
add esp, 0xc0
ret
lea ecx, [esp + 0x40]
push ecx
mov edx, 0xc
mov eax, edi
call fcn.1004f530
jmp 0x10056a31
cmp ecx, ebx
jne 0x10056a34
xor edx, edx
xor ebp, ebp
cmp eax, 3
mov dword [esp + 0xc], edx
jne 0x100568f6
mov dword [esp + 0x44], 0x1e
jmp 0x10056916
cmp eax, 0xa
jne 0x10056901
mov dword [esp + 0x44], edx
jmp 0x10056916
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 0x1005693e
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 0x10056948
mov edx, 1
test cl, 4
je 0x10056950
or edx, 2
test cl, 8
je 0x10056958
or edx, 4
test cl, 0x10
je 0x10056960
or edx, 8
test cl, 0x20
je 0x10056968
or edx, 0x10
test cl, 0x40
je 0x10056970
or edx, 0x20
test ecx, 0x800
je 0x10056982
movzx ebp, word [esi + 0xc]
or edx, 0x400
cmp dword [edi + 0x32fc], 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 0x10056a20
mov ecx, dword [edi + 0x335c]
cmp ecx, 6
jae 0x10056a20
mov word [edi + ecx*2 + 0x3308], ax
mov eax, dword [edi + 0x335c]
mov cx, word [esp + 0x4a]
mov word [edi + eax*2 + 0x3314], cx
mov edx, dword [edi + 0x335c]
mov ax, word [esp + 0x4c]
mov word [edi + edx*2 + 0x3320], ax
mov ecx, dword [edi + 0x335c]
mov edx, dword [esp + 0x4e]
mov dword [edi + ecx*4 + 0x332c], edx
mov eax, dword [edi + 0x335c]
mov ecx, dword [esp + 0x52]
pop ebp
pop esi
mov dword [edi + eax*4 + 0x3344], ecx
add dword [edi + 0x335c], 1
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ff704
add esp, 0xc0
ret
lea edx, [esp + 0x40]
push edx
mov edx, 0x16
mov eax, edi
call fcn.1004f530
add esp, 4
mov ecx, dword [esp + 0xc8]
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.100ff704
add esp, 0xc0
ret