Function at 0x10012210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1012b220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x1016e0e4]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov ebp, dword [0x1018e62c]
mov bl, 4
test ebp, ebp
mov byte [esp + 0x44], bl
je 0x10012671
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.1011fe5a
push 0x1016bfd4
lea ecx, [esp + 0x14]
call fcn.1011dcfb
test eax, eax
jl 0x10012302
push 1
push 0x4ba
mov ecx, esi
call fcn.1012371b
mov ecx, eax
call fcn.101238dc
push 0x1016a074
lea ecx, [esp + 0x14]
call fcn.1011dcfb
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.1011dbe5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 5
call fcn.1011fe5a
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], bl
call fcn.1011fd13
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
push 0x4ba
call fcn.1012371b
mov ecx, eax
call fcn.10123809
jmp 0x10012668
push 0x1016bfac
lea ecx, [esp + 0x14]
call fcn.1011dcfb
test eax, eax
jl 0x10012382
push 0x1016a074
lea ecx, [esp + 0x14]
call fcn.1011dcfb
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.1011dbe5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 6
call fcn.1011fe5a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], bl
call fcn.1011fd13
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
push 0x4bc
call fcn.10123773
push 1
push 0x4bc
mov ecx, esi
call fcn.1012371b
mov ecx, eax
call fcn.101238dc
jmp 0x10012668
push 0x1016bf88
lea ecx, [esp + 0x14]
call fcn.1011dcfb
test eax, eax
jl 0x10012402
push 0x1016a074
lea ecx, [esp + 0x14]
call fcn.1011dcfb
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.1011dbe5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 7
call fcn.1011fe5a
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], bl
call fcn.1011fd13
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
push 0x4b6
call fcn.10123773
push 1
push 0x4b6
mov ecx, esi
call fcn.1012371b
mov ecx, eax
call fcn.101238dc
jmp 0x10012668
push 0x1016bf64
lea ecx, [esp + 0x14]
call fcn.1011dcfb
test eax, eax
jl 0x10012482
push 0x1016a074
lea ecx, [esp + 0x14]
call fcn.1011dcfb
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.1011dbe5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 8
call fcn.1011fe5a
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], bl
call fcn.1011fd13
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
push 0x4b8
call fcn.10123773
push 1
push 0x4b8
mov ecx, esi
call fcn.1012371b
mov ecx, eax
call fcn.101238dc
jmp 0x10012668
push 0x1016bf40
lea ecx, [esp + 0x14]
call fcn.1011dcfb
test eax, eax
jl 0x10012502
push 0x1016a074
lea ecx, [esp + 0x14]
call fcn.1011dcfb
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.1011dbe5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 9
call fcn.1011fe5a
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], bl
call fcn.1011fd13
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
push 0x4bf
call fcn.10123773
push 1
push 0x4bf
mov ecx, esi
call fcn.1012371b
mov ecx, eax
call fcn.101238dc
jmp 0x10012668
push 0x1016bf14
lea ecx, [esp + 0x14]
call fcn.1011dcfb
test eax, eax
jl 0x10012582
push 0x1016a074
lea ecx, [esp + 0x14]
call fcn.1011dcfb
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.1011dbe5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 0xa
call fcn.1011fe5a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], bl
call fcn.1011fd13
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
push 0x4b7
call fcn.10123773
push 1
push 0x4b7
mov ecx, esi
call fcn.1012371b
mov ecx, eax
call fcn.101238dc
jmp 0x10012668
push 0x1016bef4
lea ecx, [esp + 0x14]
call fcn.1011dcfb
test eax, eax
jl 0x10012668
push 1
push 0x518
mov ecx, esi
call fcn.1012371b
mov ecx, eax
call fcn.101238dc
push 0x1016a074
lea ecx, [esp + 0x14]
call fcn.1011dcfb
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.1011dbe5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 0xb
call fcn.1011fe5a
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], bl
call fcn.1011fd13
mov eax, dword [esp + 0x14]
push 0x1016bee8
push eax
call fcn.10030ae7
add esp, 8
test eax, eax
je 0x1001264d
mov ecx, dword [esp + 0x14]
push 0x1016bee0
push ecx
call fcn.10030ae7
add esp, 8
test eax, eax
je 0x1001264d
mov edx, dword [esp + 0x14]
push 0x1016bedc
push edx
call fcn.10030ae7
add esp, 8
test eax, eax
je 0x1001264d
push 0x518
mov ecx, esi
call fcn.1012371b
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0xf1
push eax
jmp 0x10012666
push 0x518
mov ecx, esi
call fcn.1012371b
mov ecx, dword [eax + 0x1c]
push 0
push 1
push 0xf1
push ecx
call edi
test ebp, ebp
jne 0x10012269
pop edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], 3
call fcn.1011fd13
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 2
call fcn.1011fd13
lea ecx, [esp + 0x38]
mov byte [esp + 0x44], 1
call fcn.1011fd13
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 0
call fcn.1011fd13
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.1011fd13
mov ecx, dword [esp + 0x3c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret