Function at 0x100562c0
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 0x1005630b
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.100ffa66
add esp, 0xc0
ret
cmp eax, 4
jne 0x10056425
call fcn.10051f00
test eax, eax
je 0x100563bd
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 0x10056387
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 0x100563b9
cmp eax, ebx
jne 0x100563bd
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.10051f00
test eax, eax
je 0x100563e4
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], ecx
jmp 0x100563e8
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.10022660
add esp, 0x18
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffa66
add esp, 0xc0
ret
cmp eax, 1
push ebp
mov ebp, 3
je 0x100566e1
cmp eax, ebp
je 0x100566e1
cmp eax, 0xa
je 0x100566e1
cmp eax, 0xb
je 0x100566e1
cmp eax, 2
jne 0x10056a04
mov eax, dword [esi]
cmp eax, 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], ebp
jne 0x10056545
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.1004e6c0
add esp, 0xc
test eax, eax
je 0x10056a04
test byte [esi + 8], 2
je 0x100564ef
mov al, byte [esp + 0x38]
test al, al
jbe 0x10056a04
movzx esi, al
push esi
lea edx, [esp + 0x3d]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.101017f0
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.10022660
add esp, 0x24
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffa66
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.101017f0
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.10022660
add esp, 0x24
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffa66
add esp, 0xc0
ret
cmp eax, ebx
jne 0x10056a04
xor ebp, ebp
test byte [esi + 0x10], 1
mov dword [esp + 0x44], 8
je 0x10056586
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.10056060
add esp, 0x18
mov ebp, eax
mov eax, dword [esi + 0x10]
test al, 2
je 0x100565a3
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 0x100565bd
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 0x100565d7
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 0x1005662f
mov ebx, dword [esi + 0xc]
test ebx, ebx
mov byte [esp + 0x4c], 8
je 0x1005661a
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebp
test ax, ax
je 0x100565fe
or byte [esp + 0x4c], 1
push 2
call ebp
test ax, ax
je 0x1005660c
or byte [esp + 0x4c], 2
push 4
call ebp
test ax, ax
je 0x1005661a
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 0x10056654
cmp ebp, ebx
jne 0x10056654
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 0x100566af
cmp dword [edi + 0x32fc], ebx
je 0x100566af
mov eax, dword [edi + 0x37cc]
cmp eax, 0x398
jae 0x100566af
push ebp
lea ecx, [esp + 0x50]
push ecx
lea edx, [edi + eax + 0x337c]
push edx
call fcn.101017f0
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.100ffa66
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.10022660
add esp, 0x18
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffa66
add esp, 0xc0
ret
mov ecx, dword [esi]
cmp ecx, 1
mov dword [esp + 0x40], ebp
jne 0x100568a7
cmp eax, ebp
jne 0x100566fe
mov dword [esp + 0x44], 0x14
jmp 0x1005671e
cmp eax, 0xa
jne 0x10056709
mov dword [esp + 0x44], ebx
jmp 0x1005671e
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 0x1005673e
and eax, 2
setne dl
add edx, 2
jmp 0x10056744
and eax, 2
setne dl
mov word [esp + 0x4a], dx
movzx edx, word [esi + 4]
cmp dx, 0x2c
jne 0x1005680e
cmp ecx, ebx
je 0x1005680e
cmp eax, ebx
je 0x100567b8
lea eax, [esp + 0x40]
push eax
mov edx, 0xc
mov eax, edi
mov word [esp + 0x4c], 0x37
mov word [esp + 0x4e], bp
call fcn.1004f4d0
lea ecx, [esp + 0x44]
push ecx
mov edx, 0xc
mov eax, edi
mov word [esp + 0x50], 0x2a
mov word [esp + 0x52], bp
call fcn.1004f4d0
add esp, 8
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffa66
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.1004f4d0
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.1004f4d0
add esp, 8
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffa66
add esp, 0xc0
ret
cmp dx, 0x13
jne 0x10056891
cmp ecx, ebx
je 0x10056891
cmp eax, ebx
jne 0x10056a04
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.1004f4d0
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.1004f4d0
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.1004f4d0
add esp, 0xc
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100ffa66
add esp, 0xc0
ret
lea ecx, [esp + 0x40]
push ecx
mov edx, 0xc
mov eax, edi
call fcn.1004f4d0
jmp 0x10056a01
cmp ecx, ebx
jne 0x10056a04
xor edx, edx
xor ebp, ebp
cmp eax, 3
mov dword [esp + 0xc], edx
jne 0x100568c6
mov dword [esp + 0x44], 0x1e
jmp 0x100568e6
cmp eax, 0xa
jne 0x100568d1
mov dword [esp + 0x44], edx
jmp 0x100568e6
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 0x1005690e
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 0x10056918
mov edx, 1
test cl, 4
je 0x10056920
or edx, 2
test cl, 8
je 0x10056928
or edx, 4
test cl, 0x10
je 0x10056930
or edx, 8
test cl, 0x20
je 0x10056938
or edx, 0x10
test cl, 0x40
je 0x10056940
or edx, 0x20
test ecx, 0x800
je 0x10056952
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 0x100569f0
mov ecx, dword [edi + 0x335c]
cmp ecx, 6
jae 0x100569f0
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.100ffa66
add esp, 0xc0
ret
lea edx, [esp + 0x40]
push edx
mov edx, 0x16
mov eax, edi
call fcn.1004f4d0
add esp, 4
mov ecx, dword [esp + 0xc8]
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.100ffa66
add esp, 0xc0
ret