Function at 0x411f70
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbfc2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x532ab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
call fcn.004011d0
mov dword [ebp - 4], 0
mov dword [esi], vtable.CAgentExe.0
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 2
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 3
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 4
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 5
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 6
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [ebp - 4], 8
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x40], eax
mov byte [ebp - 4], 9
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x44], eax
mov byte [ebp - 4], 0xa
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 0xb
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 0xc
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x50], eax
mov byte [ebp - 4], 0xd
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x54], eax
mov byte [ebp - 4], 0xe
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x58], eax
mov byte [ebp - 4], 0xf
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x5c], eax
mov byte [ebp - 4], 0x10
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x60], eax
mov byte [ebp - 4], 0x11
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x64], eax
mov byte [ebp - 4], 0x12
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x6c], eax
mov byte [ebp - 4], 0x13
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x70], eax
mov byte [ebp - 4], 0x14
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x74], eax
mov byte [ebp - 4], 0x15
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x78], eax
mov byte [ebp - 4], 0x16
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x7c], eax
mov byte [ebp - 4], 0x17
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x80], eax
mov byte [ebp - 4], 0x18
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x88], eax
mov byte [ebp - 4], 0x19
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x8c], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x1a
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
mov edx, dword [eax]
mov edi, dword [esi + 0x74]
lea ecx, [edx - 0x10]
sub edi, 0x10
cmp ecx, edi
je 0x41226c
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x412260
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x412260
call fcn.00401d10
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x412258
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi + 0x74], eax
jmp 0x41226c
push dword [edx - 0xc]
lea ecx, [esi + 0x74]
push edx
call fcn.00401be0
mov word [esi + 0x84], 0
mov byte [esi + 0x86], 0
mov byte [esi + 0x90], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4