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

Disassembly:
push 0xffffffffffffffff
push 0x451a43
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.0042b61a
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 0
call fcn.00402b10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
call fcn.00441a0b
mov esi, 0x45792c
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 2
call fcn.00441a0b
mov dword [esp + 0x30], esi
push 1
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 3
call fcn.00413c10
mov eax, dword [eax]
push 0x456828
push eax
call fcn.004343ff
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 0x41322e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x413242
push 1
push 0x456828
lea ecx, [esp + 0x1c]
call fcn.004027c0
push 3
push 0x457af0
lea ecx, [esp + 0x1c]
call fcn.004027c0
mov eax, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x4c]
call fcn.0042b6ad
test eax, eax
je 0x413340
mov bl, 5
lea esp, [esp]
lea ecx, [esp + 0x44]
call fcn.0042b3fb
mov edx, dword [esp + 0x44]
push 0x10
lea ecx, [esp + 0x48]
mov esi, eax
call dword [edx + 0x38]
test eax, eax
je 0x4132de
lea ecx, [esp + 0x44]
call fcn.0042b5e1
test eax, eax
jne 0x4132de
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x48]
call fcn.0042b836
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 4
call fcn.00441bbf
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 0x4132de
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 0x413338
cmp dword [edi + 0x50], eax
je 0x413338
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
call fcn.0042b836
mov edx, dword [esp + 0x38]
push eax
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], bl
call fcn.00441bbf
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 0x413338
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x413270
lea ecx, [esp + 0x1c]
call fcn.00420a70
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.0044cbec
mov ecx, dword [eax + 4]
call fcn.00446d5d
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x6c]
xor esi, esi
test eax, eax
mov byte [esp + 0x64], 6
jle 0x4133e8
lea esp, [esp]
test esi, esi
jl 0x4134b3
cmp esi, eax
jge 0x4134b3
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + esi*4]
push eax
push ebx
mov ecx, edi
call fcn.004129d0
cmp esi, dword [esp + 0x24]
mov ebp, eax
jge 0x4134b3
mov edx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
push eax
mov ecx, edi
call fcn.00412c70
test eax, eax
je 0x4133dd
push 0xffff0002
push ebp
push 0
push 0
push 0
push 0
push 0
push 0x4566bf
push 0x23
mov ecx, edi
call fcn.0044152f
mov eax, dword [esp + 0x24]
add esi, 1
cmp esi, eax
jl 0x413380
cmp dword [edi + 0x50], 0
je 0x41342c
lea ecx, [esp + 0x30]
call fcn.00420a70
mov eax, dword [esp + 0x38]
xor esi, esi
test eax, eax
jle 0x41342c
test esi, esi
jl 0x4134b3
cmp esi, eax
jge 0x4134b3
mov eax, dword [esp + 0x34]
mov eax, dword [eax + esi*4]
push eax
push ebx
mov ecx, edi
call fcn.004129d0
mov eax, dword [esp + 0x38]
add esi, 1
cmp esi, eax
jl 0x413401
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.0044cbec
mov ecx, dword [eax + 4]
call fcn.00446d72
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 2
call fcn.00441a5d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
call fcn.00441a5d
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 0x41348d
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.0042b63e
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.0044143d
int3