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

Disassembly:
push 0xffffffffffffffff
push 0x4493e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e7b0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebp, ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 2
call fcn.004202d5
push str..
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x58], 3
call fcn.00409b40
add esp, 0xc
mov byte [esp + 0x4c], 4
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.0042036a
mov esi, eax
mov byte [esp + 0x4c], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408010
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4080c4
mov bl, 6
lea ebx, [ebx]
lea ecx, [esp + 0x28]
call fcn.0041ffd9
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x2c]
call eax
test eax, eax
je 0x4080bc
lea ecx, [esp + 0x28]
call fcn.0042029a
test eax, eax
jne 0x4080bc
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
lea ecx, [esp + 0x30]
call fcn.00420518
call fcn.00408350
cmp eax, dword [ebp + 0x7c]
jae 0x4080bc
mov eax, dword [esp + 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.0040af90
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x54], 5
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.0040af90
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x58], bl
mov edx, esp
mov dword [esp + 0x28], esp
push edx
lea ecx, [esp + 0x38]
call fcn.00420518
mov ecx, ebp
mov byte [esp + 0x58], 3
call fcn.00407f80
test edi, edi
jne 0x408020
push 0x4523d8
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00409b40
add esp, 0xc
lea edx, [esp + 0x58]
push edx
push eax
lea eax, [esp + 0x20]
mov bl, 7
push eax
mov byte [esp + 0x58], bl
call fcn.00409a80
add esp, 0xc
mov byte [esp + 0x4c], 8
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.0042036a
mov esi, eax
mov byte [esp + 0x4c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40812d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408152
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4082a7
mov bl, 0xb
lea esp, [esp]
lea ecx, [esp + 0x28]
call fcn.0041ffd9
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x2c]
call eax
test eax, eax
jne 0x40829f
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00420518
mov byte [esp + 0x4c], 9
mov edx, dword [esp + 0x5c]
cmp dword [edx - 0xc], 0
jle 0x40827a
push 2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.00409920
mov esi, eax
push 0x4527dc
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x58], 0xa
call fcn.00409b40
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x58], bl
call fcn.00409a80
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 0xc
call fcn.0040b000
mov byte [esp + 0x4c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408217
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 0xa
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40823c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 9
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408261
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x20c]
push ecx
push 0
push 0x143
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x4c], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40829f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x408160
lea ecx, [esp + 0x28]
call fcn.0041fef3
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 2
call fcn.004202fb
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408308
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408330
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc