Function at 0x4ad180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56071e
mov eax, dword fs:[0]
push eax
sub esp, 0xa80
mov eax, dword [0x5c04b4]
xor eax, esp
mov dword [esp + 0xa78], eax
push ebx
push esi
push edi
mov eax, dword [0x5c04b4]
xor eax, esp
push eax
lea eax, [esp + 0xa90]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x34], edi
mov ebx, dword [ebp + 0x14]
xor eax, eax
push 0x1fe
push eax
mov word [esp + 0x8c], ax
lea eax, [esp + 0x8e]
push eax
call sub.MSVCR120.dll_memset
xor eax, eax
mov dword [esp + 0x24], 0
add esp, 0xc
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 7
mov dword [esp + 0x58], 0x575378
mov word [esp + 0x40], ax
mov dword [esp + 0xa98], eax
mov eax, 0x574c4c
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x10]
lea esi, [eax + ebx]
test eax, eax
jne 0x4ad22f
mov esi, 0x574c4c
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x84]
mov ecx, dword [ebp + 0xc]
push 0x100
push eax
mov dword [esp + 0x44], esi
call fcn.004399f0
add esp, 8
lea ecx, [esp + 0x20]
call fcn.004aebb0
mov byte [esp + 0xa98], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, dword [esp + 0x28]
mov dword [eax], 0x1c
mov eax, dword [esp + 0x30]
neg eax
sbb eax, eax
and eax, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 8]
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x28]
mov dword [ecx + 8], eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x24]
call fcn.00430c90
mov ecx, dword [esp + 0x30]
neg ecx
push esi
sbb ecx, ecx
and ecx, dword [esp + 0x2c]
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x24]
call fcn.00430c90
mov ecx, dword [esp + 0x30]
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x28]
mov dword [ecx + 0x14], eax
test dword [ebx + 4], 0x100
mov eax, dword [esp + 0x30]
je 0x4ad36f
neg eax
sbb eax, eax
and eax, dword [esp + 0x28]
mov dword [eax + 0x18], 1
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x30]
add eax, ebx
mov dword [esp + 0x18], eax
mov edx, ecx
mov dword [esp + 0x14], ecx
mov esi, dword [eax + 4]
test esi, esi
jne 0x4ad30c
mov eax, ecx
jmp 0x4ad34a
push esi
lea ecx, [esp + 0x24]
call fcn.004d2430
test eax, eax
je 0x4ad35c
push esi
push dword [esp + 0x1c]
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [esp + 0x34]
add esp, 0xc
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
add eax, ecx
add eax, esi
cmp eax, dword [esp + 0x2c]
ja 0x4ad360
add ecx, esi
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x14]
mov edx, eax
cmp eax, 0xffffffff
je 0x4ad360
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x28]
mov dword [ecx + 0xc], edx
jmp 0x4ad3a0
mov ecx, dword [esp + 0x30]
xor edx, edx
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x28]
mov dword [ecx + 0xc], edx
jmp 0x4ad3a0
mov esi, dword [ebx + 0xc]
lea ecx, [esp + 0x20]
add esi, ebx
neg eax
push esi
sbb eax, eax
mov dword [esp + 0x20], esi
and eax, dword [esp + 0x2c]
mov dword [eax + 0x18], 0
call fcn.00430c90
mov ecx, dword [esp + 0x30]
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
test dword [ebx + 4], 0x100
je 0x4ad45a
mov esi, dword [0x5c6b7c]
test esi, esi
je 0x4ad45a
cmp dword [esi + 0x170], 0
jne 0x4ad45a
lea ecx, [esi + 0x16c]
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 8]
test eax, eax
je 0x4ad402
push 0
lea ecx, [esp + 0x44]
push ecx
push dword [esp + 0x20]
push 0x4660
call eax
add esp, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x16c]
jmp 0x4ad40a
mov dword [esp + 0x18], 0x1b67
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x4ad432
cmp dword [esi + 0x170], 0
je 0x4ad432
mov ecx, esi
call fcn.004f5900
push esi
mov esi, dword [sym.imp.MSVCR120.dll_free]
call esi
add esp, 4
jmp 0x4ad438
mov esi, dword [sym.imp.MSVCR120.dll_free]
cmp dword [esp + 0x18], 0
jne 0x4ad460
cmp dword [esp + 0x54], 8
jb 0x4ad450
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
jmp 0x4ad464
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], ecx
jmp 0x4ad464
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov ecx, dword [esp + 0x1c]
test byte [ebx + 4], 4
jne 0x4ad503
mov eax, dword [ebx + 8]
cmp eax, dword [edi + 0x3263]
setae al
test al, al
je 0x4ad503
cmp byte [edi + 0x223e], 0
jne 0x4ad494
cmp byte [edi + 0x225a], 0
je 0x4ad503
push 0
push 0
lea eax, [esp + 0x8c]
push eax
push ecx
push 0
push 0
push dword [ebp + 8]
lea eax, [esp + 0x2a0]
push ecx
push eax
mov ecx, edi
call fcn.004acc70
cmp byte [edi + 0x223e], 0
je 0x4ad4dc
cmp dword [ebx + 8], 0x40000000
lea eax, [esp + 0x284]
push ecx
push eax
sbb eax, eax
mov ecx, edi
inc eax
push eax
call fcn.00469e60
cmp byte [edi + 0x225a], 0
je 0x4ad503
cmp dword [ebx + 8], 0x40000000
lea eax, [esp + 0x284]
push 1
push eax
sbb eax, eax
mov ecx, edi
inc eax
push eax
push 1
call fcn.0046aaf0
test byte [ebx + 4], 2
jne 0x4ad548
mov eax, dword [ebx + 8]
cmp eax, dword [edi + 0x3267]
setae al
test al, al
je 0x4ad548
mov ecx, dword [esp + 0x30]
mov edx, ecx
neg edx
sbb edx, edx
and edx, dword [esp + 0x28]
cmp dword [ebx + 8], 0x10000000
setb al
movzx eax, al
push eax
push dword [ebx + 8]
push ecx
push edx
push 0x10002
push 2
mov ecx, edi
call fcn.0049ec60
test byte [ebx + 4], 1
jne 0x4ad790
mov ecx, dword [ebx + 8]
cmp ecx, 0x10000000
setae al
test al, al
je 0x4ad790
mov dword [esp + 0x18], 2
cmp ecx, 0xc0000000
jb 0x4ad57e
mov dword [esp + 0x18], 3
mov dword [esp + 0x14], 0
mov byte [esp + 0xa98], 2
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.004ad030
test dword [ebx + 4], 0x100
je 0x4ad66f
lea ecx, [esp + 0x70]
call fcn.004509e0
mov byte [esp + 0xa98], 3
push dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
push ecx
mov dword [esp + 0x3c], esp
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x4ad5d8
mov ecx, dword [esi]
mov eax, dword [eax]
inc ecx
mov esi, dword [esp + 0x1c]
mov dword [eax], ecx
mov byte [esp + 0xaa0], 4
mov eax, dword [esp + 0x24]
push eax
push ebx
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xaac], 3
call fcn.004ad810
push dword [esp + 0x18]
mov eax, dword [esp + 0x84]
mov ecx, edi
push 0
push 0
mov edx, eax
push 0
neg edx
push eax
mov eax, dword [ebp + 0x10]
sbb edx, edx
and edx, dword [esp + 0x8c]
push edx
push 0x1001
push eax
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.00497fa0
mov byte [esp + 0xa98], 2
mov dword [esp + 0x70], vtable.CParamStructHelper_struct_CCE_REPORT_EVENT_PARAMS_.0
mov byte [esp + 0xa98], 2
mov eax, dword [esp + 0x74]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
mov dword [esp + 0x70], vtable.CBuffer.0
test eax, eax
je 0x4ad763
push eax
call ebx
add esp, 4
jmp 0x4ad763
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4ad738
cmp dword [esi + 4], 0
jbe 0x4ad738
mov edi, dword [ebx + 0xc]
lea ecx, [esp + 0x5c]
add edi, ebx
call fcn.004509e0
mov byte [esp + 0xa98], 6
push dword [esp + 0x3c]
push ecx
mov eax, esp
mov dword [esp + 0x40], esp
mov dword [eax], esi
mov ecx, dword [esi]
mov eax, dword [eax]
inc ecx
mov dword [eax], ecx
mov byte [esp + 0xaa0], 7
lea eax, [esp + 0x64]
push edi
push ebx
push eax
mov byte [esp + 0xaac], 6
call fcn.004ad810
push dword [esp + 0x18]
mov eax, dword [esp + 0x70]
mov ecx, eax
push 0
push 0
neg ecx
push 0
push eax
mov eax, dword [ebp + 0x10]
sbb ecx, ecx
and ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x4c]
push 0x1001
push eax
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.00497fa0
mov byte [esp + 0xa98], 2
mov dword [esp + 0x5c], vtable.CParamStructHelper_struct_CCE_REPORT_EVENT_PARAMS_.0
mov byte [esp + 0xa98], 2
mov eax, dword [esp + 0x60]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
mov dword [esp + 0x5c], vtable.CBuffer.0
test eax, eax
je 0x4ad732
push eax
call ebx
add esp, 4
mov esi, dword [esp + 0x14]
jmp 0x4ad763
push dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, edi
push 0
push 0
push 0
push dword [ebp + 0x18]
push ebx
push 0x1001
push eax
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.00497fa0
mov ebx, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0xa98], 1
test esi, esi
je 0x4ad78a
dec dword [esi]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jne 0x4ad78a
push dword [esp + 0x14]
call ebx
add esp, 4
mov dword [esp + 0x14], 0
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0xa98], 0
mov dword [esp + 0x20], vtable.CParamStructHelper_struct__WARNING_LOG_RECORD_HEADER_VER2_.0
mov byte [esp + 0xa98], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], vtable.CBuffer.0
test eax, eax
je 0x4ad7be
push eax
call esi
add esp, 4
mov dword [esp + 0xa98], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x4ad7e0
mov eax, dword [esp + 0x58]
push dword [esp + 0x40]
mov eax, dword [eax + 8]
call eax
add esp, 4
mov ecx, dword [esp + 0xa90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa78]
xor ecx, esp
call fcn.00553510
mov esp, ebp
pop ebp
ret 0x18