Function at 0x412fe0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x44d568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x44]
call fcn.004272eb
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 0
call fcn.00402340
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
call fcn.0043d5cb
mov esi, 0x452798
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 2
call fcn.0043d5cb
mov dword [esp + 0x30], esi
push 1
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 3
call fcn.00412240
mov eax, dword [eax]
push 0x451828
push eax
call fcn.0043003f
add esp, 8
test eax, eax
mov eax, dword [esp + 0x70]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41308e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4130a2
push 1
push 0x451828
lea ecx, [esp + 0x1c]
call fcn.00401ef0
push 3
push 0x452960
lea ecx, [esp + 0x1c]
call fcn.00401ef0
mov eax, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x4c]
call fcn.0042737e
test eax, eax
je 0x4131a0
mov bl, 5
lea esp, [esp]
lea ecx, [esp + 0x44]
call fcn.004270cc
mov edx, dword [esp + 0x44]
push 0x10
lea ecx, [esp + 0x48]
mov esi, eax
call dword [edx + 0x38]
test eax, eax
je 0x41313e
lea ecx, [esp + 0x44]
call fcn.004272b2
test eax, eax
jne 0x41313e
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x48]
call fcn.00427507
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 4
call fcn.0043d77f
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x64], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41313e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
push 0x10
lea ecx, [esp + 0x48]
call dword [eax + 0x38]
test eax, eax
jne 0x413198
cmp dword [edi + 0x50], eax
je 0x413198
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
call fcn.00427507
mov edx, dword [esp + 0x38]
push eax
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], bl
call fcn.0043d77f
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x64], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413198
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x4130d0
lea ecx, [esp + 0x1c]
call fcn.0041d5a0
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.0044877b
mov ecx, dword [eax + 4]
call fcn.0044291d
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x6c]
xor esi, esi
test eax, eax
mov byte [esp + 0x64], 6
jle 0x413248
lea esp, [esp]
test esi, esi
jl 0x413313
cmp esi, eax
jge 0x413313
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + esi*4]
push eax
push ebx
mov ecx, edi
call fcn.00412830
cmp esi, dword [esp + 0x24]
mov ebp, eax
jge 0x413313
mov edx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
push eax
mov ecx, edi
call fcn.00412ad0
test eax, eax
je 0x41323d
push 0xffff0002
push ebp
push 0
push 0
push 0
push 0
push 0
push 0x4516bf
push 0x23
mov ecx, edi
call fcn.0043d0ef
mov eax, dword [esp + 0x24]
add esi, 1
cmp esi, eax
jl 0x4131e0
cmp dword [edi + 0x50], 0
je 0x41328c
lea ecx, [esp + 0x30]
call fcn.0041d5a0
mov eax, dword [esp + 0x38]
xor esi, esi
test eax, eax
jle 0x41328c
test esi, esi
jl 0x413313
cmp esi, eax
jge 0x413313
mov eax, dword [esp + 0x34]
mov eax, dword [eax + esi*4]
push eax
push ebx
mov ecx, edi
call fcn.00412830
mov eax, dword [esp + 0x38]
add esi, 1
cmp esi, eax
jl 0x413261
mov ecx, dword [edi + 0x1c]
push 0
push 1
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x64], 3
call fcn.0044877b
mov ecx, dword [eax + 4]
call fcn.00442932
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 2
call fcn.0043d61d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
call fcn.0043d61d
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x64], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4132ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x44]
mov dword [esp + 0x64], 0xffffffff
call fcn.0042730f
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 8
call fcn.0043cffd
int3