Function at 0x42df80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba512
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x644a10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov edi, 1
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CTcpAgent.0
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0x2710
call fcn.00451440
push ebx
push edi
mov dword [esi + 0x14], eax
mov edx, 0x4e20
mov ecx, 0x258
mov eax, 0x400
push edi
push ebx
mov dword [esi + 0x18], 0x1000
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0xea60
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esi + 0x3c], eax
cmp ecx, ebx
jne 0x42e029
push 0x80004005
call fcn.00423210
mov edx, dword [ebp + 8]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], 3
mov dword [esi + 0x58], ebx
xor eax, eax
mov word [esi + 0x5c], ax
mov dword [esi + 0x5e], ebx
mov dword [esi + 0x62], ebx
mov dword [esi + 0x66], ebx
mov dword [esi + 0x6a], ebx
mov dword [esi + 0x6e], ebx
mov dword [esi + 0x72], ebx
mov word [esi + 0x76], bx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
push ebx
push ebx
push 4
mov byte [ebp - 4], 2
mov dword [esi + 0x8c], 4
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esi + 0x88], eax
cmp ecx, ebx
jne 0x42e0ac
push 0x80004005
call fcn.00423210
mov edx, dword [0x64589c]
push edx
push 0x400
push 0x400
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 3
call fcn.00425320
lea edi, [esi + 0x17c]
mov dword [esi + 0x178], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x84], ebx
lea ecx, [edi + 0x104]
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], edi
mov dword [edi + 0xc4], ebx
call fcn.004560a0
lea eax, [ebp + 0xb]
push eax
lea edx, [ebp - 0xe]
lea ecx, [edi + 0x11c]
push edx
mov byte [ebp - 4], 5
call fcn.0043fcb0
mov byte [ebp - 4], 6
cmp dword [edi + 4], ebx
je 0x42e154
lea ecx, [edi + 0x11c]
call fcn.00460460
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.MSVCR100.dll_free]
mov ecx, dword [edi + 0x44]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
mov dword [edi + 4], ebx
mov dword [edi + 0x44], ebx
mov dword [edi], ebx
mov dword [edi + 0xc4], ebx
add esp, 8
mov dword [edi + 0x84], ebx
mov dword [esi + 0x2c8], ebx
mov eax, dword [esi + 0x2c8]
mov dword [esi + 0x2c4], ebx
mov dword [esi + 0x308], ebx
mov dword [esi + 0x348], ebx
cmp eax, ebx
je 0x42e198
push eax
call dword [sym.imp.MSVCR100.dll_free]
mov dword [esi + 0x2c8], ebx
mov dword [esi + 0x2c4], ebx
mov dword [esi + 0x308], ebx
add esp, 4
mov dword [esi + 0x348], ebx
mov dword [esi + 0x388], ebx
mov dword [esi + 0x38c], ebx
push 8
mov byte [ebp - 4], 8
mov dword [esi + 0x398], ebx
call sub.mfc100u.dll_new
add esp, 4
cmp eax, ebx
je 0x42e1c3
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x42e1c5
xor eax, eax
mov dword [esi + 0x394], eax
mov dword [esi + 0x390], eax
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