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

Disassembly:
sub esp, 0xc0
mov eax, dword [0x101b7324]
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 0x1005639b
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.100ffae6
add esp, 0xc0
ret
cmp eax, 4
jne 0x100564b5
call fcn.10051f60
test eax, eax
je 0x1005644d
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 0x10056417
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 0x10056449
cmp eax, ebx
jne 0x1005644d
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.10051f60
test eax, eax
je 0x10056474
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], ecx
jmp 0x10056478
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.10022690
add esp, 0x18
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffae6
add esp, 0xc0
ret
cmp eax, 1
push ebp
mov ebp, 3
je 0x10056771
cmp eax, ebp
je 0x10056771
cmp eax, 0xa
je 0x10056771
cmp eax, 0xb
je 0x10056771
cmp eax, 2
jne 0x10056a94
mov eax, dword [esi]
cmp eax, 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], ebp
jne 0x100565d5
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.1004e6f0
add esp, 0xc
test eax, eax
je 0x10056a94
test byte [esi + 8], 2
je 0x1005657f
mov al, byte [esp + 0x38]
test al, al
jbe 0x10056a94
movzx esi, al
push esi
lea edx, [esp + 0x3d]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.10101870
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.10022690
add esp, 0x24
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffae6
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.10101870
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.10022690
add esp, 0x24
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffae6
add esp, 0xc0
ret
cmp eax, ebx
jne 0x10056a94
xor ebp, ebp
test byte [esi + 0x10], 1
mov dword [esp + 0x44], 8
je 0x10056616
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.100560f0
add esp, 0x18
mov ebp, eax
mov eax, dword [esi + 0x10]
test al, 2
je 0x10056633
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 0x1005664d
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 0x10056667
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 0x100566bf
mov ebx, dword [esi + 0xc]
test ebx, ebx
mov byte [esp + 0x4c], 8
je 0x100566aa
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebp
test ax, ax
je 0x1005668e
or byte [esp + 0x4c], 1
push 2
call ebp
test ax, ax
je 0x1005669c
or byte [esp + 0x4c], 2
push 4
call ebp
test ax, ax
je 0x100566aa
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 0x100566e4
cmp ebp, ebx
jne 0x100566e4
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 0x1005673f
cmp dword [edi + 0x32fc], ebx
je 0x1005673f
mov eax, dword [edi + 0x37cc]
cmp eax, 0x398
jae 0x1005673f
push ebp
lea ecx, [esp + 0x50]
push ecx
lea edx, [edi + eax + 0x337c]
push edx
call fcn.10101870
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.100ffae6
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.10022690
add esp, 0x18
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffae6
add esp, 0xc0
ret
mov ecx, dword [esi]
cmp ecx, 1
mov dword [esp + 0x40], ebp
jne 0x10056937
cmp eax, ebp
jne 0x1005678e
mov dword [esp + 0x44], 0x14
jmp 0x100567ae
cmp eax, 0xa
jne 0x10056799
mov dword [esp + 0x44], ebx
jmp 0x100567ae
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 0x100567ce
and eax, 2
setne dl
add edx, 2
jmp 0x100567d4
and eax, 2
setne dl
mov word [esp + 0x4a], dx
movzx edx, word [esi + 4]
cmp dx, 0x2c
jne 0x1005689e
cmp ecx, ebx
je 0x1005689e
cmp eax, ebx
je 0x10056848
lea eax, [esp + 0x40]
push eax
mov edx, 0xc
mov eax, edi
mov word [esp + 0x4c], 0x37
mov word [esp + 0x4e], bp
call fcn.1004f500
lea ecx, [esp + 0x44]
push ecx
mov edx, 0xc
mov eax, edi
mov word [esp + 0x50], 0x2a
mov word [esp + 0x52], bp
call fcn.1004f500
add esp, 8
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffae6
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.1004f500
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.1004f500
add esp, 8
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffae6
add esp, 0xc0
ret
cmp dx, 0x13
jne 0x10056921
cmp ecx, ebx
je 0x10056921
cmp eax, ebx
jne 0x10056a94
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.1004f500
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.1004f500
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.1004f500
add esp, 0xc
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffae6
add esp, 0xc0
ret
lea ecx, [esp + 0x40]
push ecx
mov edx, 0xc
mov eax, edi
call fcn.1004f500
jmp 0x10056a91
cmp ecx, ebx
jne 0x10056a94
xor edx, edx
xor ebp, ebp
cmp eax, 3
mov dword [esp + 0xc], edx
jne 0x10056956
mov dword [esp + 0x44], 0x1e
jmp 0x10056976
cmp eax, 0xa
jne 0x10056961
mov dword [esp + 0x44], edx
jmp 0x10056976
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 0x1005699e
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 0x100569a8
mov edx, 1
test cl, 4
je 0x100569b0
or edx, 2
test cl, 8
je 0x100569b8
or edx, 4
test cl, 0x10
je 0x100569c0
or edx, 8
test cl, 0x20
je 0x100569c8
or edx, 0x10
test cl, 0x40
je 0x100569d0
or edx, 0x20
test ecx, 0x800
je 0x100569e2
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 0x10056a80
mov ecx, dword [edi + 0x335c]
cmp ecx, 6
jae 0x10056a80
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.100ffae6
add esp, 0xc0
ret
lea edx, [esp + 0x40]
push edx
mov edx, 0x16
mov eax, edi
call fcn.1004f500
add esp, 4
mov ecx, dword [esp + 0xc8]
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.100ffae6
add esp, 0xc0
ret