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

Disassembly:
sub esp, 0xc0
mov eax, dword [0x101ad3b4]
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 0x10052a2b
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.100f611a
add esp, 0xc0
ret
cmp eax, 4
jne 0x10052b45
call fcn.1004f1a0
test eax, eax
je 0x10052add
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 0x10052aa7
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 0x10052ad9
cmp eax, ebx
jne 0x10052add
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.1004f1a0
test eax, eax
je 0x10052b04
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], ecx
jmp 0x10052b08
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.10020e60
add esp, 0x18
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100f611a
add esp, 0xc0
ret
cmp eax, 1
push ebp
mov ebp, 3
je 0x10052e01
cmp eax, ebp
je 0x10052e01
cmp eax, 0xa
je 0x10052e01
cmp eax, 0xb
je 0x10052e01
cmp eax, 2
jne 0x10053124
mov eax, dword [esi]
cmp eax, 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], ebp
jne 0x10052c65
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.1004b890
add esp, 0xc
test eax, eax
je 0x10053124
test byte [esi + 8], 2
je 0x10052c0f
mov al, byte [esp + 0x38]
test al, al
jbe 0x10053124
movzx esi, al
push esi
lea edx, [esp + 0x3d]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.100f7fd0
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.10020e60
add esp, 0x24
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100f611a
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.100f7fd0
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.10020e60
add esp, 0x24
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100f611a
add esp, 0xc0
ret
cmp eax, ebx
jne 0x10053124
xor ebp, ebp
test byte [esi + 0x10], 1
mov dword [esp + 0x44], 8
je 0x10052ca6
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.10052780
add esp, 0x18
mov ebp, eax
mov eax, dword [esi + 0x10]
test al, 2
je 0x10052cc3
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 0x10052cdd
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 0x10052cf7
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 0x10052d4f
mov ebx, dword [esi + 0xc]
test ebx, ebx
mov byte [esp + 0x4c], 8
je 0x10052d3a
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebp
test ax, ax
je 0x10052d1e
or byte [esp + 0x4c], 1
push 2
call ebp
test ax, ax
je 0x10052d2c
or byte [esp + 0x4c], 2
push 4
call ebp
test ax, ax
je 0x10052d3a
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 0x10052d74
cmp ebp, ebx
jne 0x10052d74
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 0x10052dcf
cmp dword [edi + 0x3300], ebx
je 0x10052dcf
mov eax, dword [edi + 0x37d0]
cmp eax, 0x398
jae 0x10052dcf
push ebp
lea ecx, [esp + 0x50]
push ecx
lea edx, [edi + eax + 0x3380]
push edx
call fcn.100f7fd0
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.100f611a
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.10020e60
add esp, 0x18
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100f611a
add esp, 0xc0
ret
mov ecx, dword [esi]
cmp ecx, 1
mov dword [esp + 0x40], ebp
jne 0x10052fc7
cmp eax, ebp
jne 0x10052e1e
mov dword [esp + 0x44], 0x14
jmp 0x10052e3e
cmp eax, 0xa
jne 0x10052e29
mov dword [esp + 0x44], ebx
jmp 0x10052e3e
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 0x10052e5e
and eax, 2
setne dl
add edx, 2
jmp 0x10052e64
and eax, 2
setne dl
mov word [esp + 0x4a], dx
movzx edx, word [esi + 4]
cmp dx, 0x2c
jne 0x10052f2e
cmp ecx, ebx
je 0x10052f2e
cmp eax, ebx
je 0x10052ed8
lea eax, [esp + 0x40]
push eax
mov edx, 0xc
mov eax, edi
mov word [esp + 0x4c], 0x37
mov word [esp + 0x4e], bp
call fcn.1004c6a0
lea ecx, [esp + 0x44]
push ecx
mov edx, 0xc
mov eax, edi
mov word [esp + 0x50], 0x2a
mov word [esp + 0x52], bp
call fcn.1004c6a0
add esp, 8
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100f611a
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.1004c6a0
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.1004c6a0
add esp, 8
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100f611a
add esp, 0xc0
ret
cmp dx, 0x13
jne 0x10052fb1
cmp ecx, ebx
je 0x10052fb1
cmp eax, ebx
jne 0x10053124
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.1004c6a0
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.1004c6a0
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.1004c6a0
add esp, 0xc
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.100f611a
add esp, 0xc0
ret
lea ecx, [esp + 0x40]
push ecx
mov edx, 0xc
mov eax, edi
call fcn.1004c6a0
jmp 0x10053121
cmp ecx, ebx
jne 0x10053124
xor edx, edx
xor ebp, ebp
cmp eax, 3
mov dword [esp + 0xc], edx
jne 0x10052fe6
mov dword [esp + 0x44], 0x1e
jmp 0x10053006
cmp eax, 0xa
jne 0x10052ff1
mov dword [esp + 0x44], edx
jmp 0x10053006
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 0x1005302e
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 0x10053038
mov edx, 1
test cl, 4
je 0x10053040
or edx, 2
test cl, 8
je 0x10053048
or edx, 4
test cl, 0x10
je 0x10053050
or edx, 8
test cl, 0x20
je 0x10053058
or edx, 0x10
test cl, 0x40
je 0x10053060
or edx, 0x20
test ecx, 0x800
je 0x10053072
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 0x10053110
mov ecx, dword [edi + 0x3360]
cmp ecx, 6
jae 0x10053110
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.100f611a
add esp, 0xc0
ret
lea edx, [esp + 0x40]
push edx
mov edx, 0x16
mov eax, edi
call fcn.1004c6a0
add esp, 4
mov ecx, dword [esp + 0xc8]
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.100f611a
add esp, 0xc0
ret