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

Disassembly:
push 0xffffffffffffffff
push 0x451793
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.0042b38a
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 0
call fcn.00402ae0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
call fcn.0044178b
mov esi, 0x45692c
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 2
call fcn.0044178b
mov dword [esp + 0x30], esi
push 1
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 3
call fcn.00413a10
mov eax, dword [eax]
push 0x455828
push eax
call fcn.004341f7
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 0x41304e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x413062
push 1
push 0x455828
lea ecx, [esp + 0x1c]
call fcn.00402790
push 3
push 0x456af0
lea ecx, [esp + 0x1c]
call fcn.00402790
mov eax, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x4c]
call fcn.0042b41d
test eax, eax
je 0x413162
mov bl, 5
lea esp, [esp]
lea ecx, [esp + 0x44]
call fcn.0042b16b
mov edx, dword [esp + 0x44]
push 0x10
lea ecx, [esp + 0x48]
mov esi, eax
call dword [edx + 0x38]
test eax, eax
je 0x4130fe
lea ecx, [esp + 0x44]
call fcn.0042b351
test eax, eax
jne 0x4130fe
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x48]
call fcn.0042b5a6
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 4
call fcn.0044193f
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 0x4130fe
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 0x41315a
mov eax, dword [edi + 0x50]
test eax, eax
je 0x41315a
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
call fcn.0042b5a6
mov edx, dword [esp + 0x38]
push eax
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], bl
call fcn.0044193f
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 0x41315a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x413090
lea ecx, [esp + 0x1c]
call fcn.00420770
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.0044c96c
mov ecx, dword [eax + 4]
call fcn.00446add
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x6c]
xor esi, esi
test eax, eax
mov byte [esp + 0x64], 6
jle 0x413206
jmp 0x4131a0
test esi, esi
jl 0x4132d0
cmp esi, eax
jge 0x4132d0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + esi*4]
push eax
push ebx
mov ecx, edi
call fcn.004127f0
mov ebp, eax
cmp esi, dword [esp + 0x24]
jge 0x4132d0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
push eax
mov ecx, edi
call fcn.00412a90
test eax, eax
je 0x4131fd
push 0xffff0002
push ebp
push 0
push 0
push 0
push 0
push 0
push 0x4556bf
push 0x23
mov ecx, edi
call fcn.004412af
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x4131a0
mov eax, dword [edi + 0x50]
test eax, eax
je 0x413249
lea ecx, [esp + 0x30]
call fcn.00420770
mov eax, dword [esp + 0x38]
xor esi, esi
test eax, eax
jle 0x413249
test esi, esi
jl 0x4132d0
cmp esi, eax
jge 0x4132d0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + esi*4]
push eax
push ebx
mov ecx, edi
call fcn.004127f0
mov eax, dword [esp + 0x38]
inc esi
cmp esi, eax
jl 0x413220
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.0044c96c
mov ecx, dword [eax + 4]
call fcn.00446af2
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 2
call fcn.004417dd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
call fcn.004417dd
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 0x4132aa
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.0042b3ae
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.004411bd
int3