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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov esi, ecx
movsx edx, byte [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x4f6014]
xor eax, ebp
mov dword [esp + 0x118], eax
mov dword [ebx + 4], 0
mov dword [ebx], 0
push dword [ebp + 0x38]
push dword [ebp + 0x2c]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov dword [esp + 0x3c], edx
push edx
call fcn.00456d40
test al, al
je 0x45780a
mov dword [esp + 8], esi
add esi, 0x1ac
mov ecx, esi
shr ecx, 0xe
mov eax, 1
shl eax, cl
mov dword [esp + 0x34], eax
mov eax, esi
shr eax, 0x13
mov dword [esp + 0x30], eax
mov eax, dword [eax*4 + 0x4fdb64]
bt eax, ecx
jae 0x457101
push esi
call fcn.004434f0
add esp, 4
jmp 0x45710d
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x505b64], 1
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x14], eax
mov ecx, esi
push esi
call fcn.0046d930
mov eax, dword [ebp + 0x3c]
test eax, 0x180
mov dword [esp + 0x2c], esi
je 0x45715a
and eax, 0x800
je 0x45715a
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
xor ecx, dword [eax + 0xd8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
xor ecx, dword [eax + 0xdc]
mov dword [esp + 0x10], ecx
jmp 0x45715e
mov eax, dword [esp + 8]
mov esi, dword [eax + 0xe8]
mov eax, dword [eax + 0xec]
mov ecx, esi
add ecx, 0xffffffff
mov edi, eax
adc edi, 0x7fffffff
add ecx, 2
adc edi, 0
cmp ecx, 2
mov ecx, dword [ebp + 0x30]
mov edx, dword [ecx]
sbb edi, 0
mov ecx, dword [ecx + 4]
jae 0x4571c1
xor edx, esi
xor ecx, eax
or ecx, edx
je 0x457850
mov ecx, 0x7fffffff
mov edx, 0xffffffff
mov esi, 0xffffffff
add esi, 1
mov edi, 0x7fffffff
adc edi, 0
test eax, eax
cmovs esi, edx
mov dword [esp + 0x20], esi
cmovs edi, ecx
jmp 0x4571e1
sub edx, esi
sbb ecx, eax
seto al
mov esi, ecx
sar esi, 0x1f
lea edi, [esi - 0x80000000]
test al, al
cmove esi, edx
mov dword [esp + 0x20], esi
test al, al
cmove edi, ecx
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 8]
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
xor edi, edi
mov edx, 0
mov ecx, 0
test al, 1
je 0x45735d
mov ecx, esi
call fcn.00455a10
lea ecx, [esi + 0x19c]
call fcn.0046d900
mov edx, eax
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
test al, 1
jne 0x457228
xor ecx, ecx
jmp 0x45735d
mov edi, dword [esi + 0x1ec]
test edi, edi
je 0x457359
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
mov dword [esp + 0xe4], 0xffffffff
mov dword [esp + 0xe0], 0xffffffff
mov ecx, dword [ebp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
sub esp, 0x3c
movsd xmm0, qword [esp + 0x9c]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x94]
movsd qword [esp + 4], xmm0
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
movsx eax, byte [esp + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp], eax
lea ecx, [esp + 0xac]
mov esi, edx
call fcn.004778f0
xor ebx, ebx
test esi, esi
setne bl
mov ecx, edi
call dword [section..00cfg]
push dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x78]
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.004779a0
jmp 0x4577e3
mov cl, 1
xor edi, edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
test al, 0x10
mov dword [esp + 0xc], edx
jne 0x4573a5
test cl, cl
je 0x457650
lea eax, [esi + 4]
test edx, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], eax
je 0x4575f8
mov ecx, edx
push ebx
call fcn.00454eb0
jmp 0x457611
push pe_nt_image_headers32
call fcn.004a7eb0
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0x34]
movsd xmm0, qword [eax]
movsd qword [esp + 0x70], xmm0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], eax
sub esp, 0x3c
movsd xmm0, qword [esp + 0xac]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0xa4]
movsd qword [esp + 4], xmm0
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
movsx eax, byte [esp + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp], eax
mov ecx, edi
call fcn.004778f0
push esi
call fcn.00454b50
add esp, 4
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4575d9
xor esi, esi
mov byte [esp + 7], 1
mov dword [esp + 0x18], edi
jmp 0x457486
mov eax, ecx
mov byte [esp + 7], cl
mov eax, ebx
shr eax, 1
inc esi
cmp ebx, 1
mov ebx, eax
jbe 0x4575d2
test bl, 1
je 0x457476
mov eax, dword [0x4fbb5c]
mov ecx, dword [0x4f9e7c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x457534
mov ecx, dword [0x4fbb58]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
sar ecx, 2
cmp ecx, esi
jbe 0x457824
cmp dword [eax + esi*4], 0
je 0x457476
mov eax, dword [0x4fbb5c]
mov ecx, dword [0x4f9e7c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x457583
mov ecx, dword [0x4fbb58]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
sar ecx, 2
cmp ecx, esi
jbe 0x457824
mov edi, dword [eax + esi*4]
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
call dword [section..00cfg]
mov ecx, edi
mov edi, dword [esp + 0x18]
push edi
call dword [esp + 0x2c]
xor ecx, ecx
test al, al
jne 0x457470
movzx ecx, byte [esp + 7]
jmp 0x457470
push 0x4fbb5c
call fcn.004a7f57
add esp, 4
cmp dword [0x4fbb5c], 0xffffffff
jne 0x4574ac
push 0xc
call fcn.004a7eb0
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [0x4fbb58], eax
push 0x4fbb5c
call fcn.004a7fcd
add esp, 4
jmp 0x4574ac
push 0x4fbb5c
call fcn.004a7f57
add esp, 4
cmp dword [0x4fbb5c], 0xffffffff
jne 0x4574eb
push 0xc
call fcn.004a7eb0
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [0x4fbb58], eax
push 0x4fbb5c
call fcn.004a7fcd
add esp, 4
jmp 0x4574eb
cmp byte [esp + 7], 0
je 0x457634
xor esi, esi
test edi, edi
je 0x45775d
mov ecx, edi
call fcn.004779a0
push edi
call fcn.004a7ee0
add esp, 4
jmp 0x45775d
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x457842
mov ecx, esi
push 1
push ebx
call fcn.00456b20
mov edi, eax
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x4576ed
mov eax, dword [esp + 0x18]
test eax, eax
je 0x457657
mov ecx, edi
push eax
call fcn.004779d0
jmp 0x4576e9
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
and cl, 1
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0xc]
test cl, cl
jne 0x457385
mov esi, edi
jmp 0x45775d
mov ecx, dword [ebp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
sub esp, 0x3c
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x74]
movsd qword [esp + 4], xmm0
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
movsx eax, byte [esp + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp], eax
mov ecx, edi
call fcn.00477a70
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0xf0]
test dword [0x4eb354], eax
je 0x45774b
mov eax, dword [esp + 0x24]
cmp al, 0x58
movzx eax, al
mov ecx, 0x42
cmovne ecx, eax
lea eax, [esp + 0x70]
movsx edx, cl
mov ecx, esi
push edi
push dword [ebp + 0x30]
push edx
push eax
call fcn.00457860
cmp byte [esp + 0x53], 0
jns 0x457733
push dword [esp + 0x48]
call fcn.004a7ee0
add esp, 4
mov eax, dword [esp + 0x78]
mov dword [esp + 0x50], eax
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0x48], xmm0
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x457759
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, dword [esp + 0x18]
movzx ebx, byte [esp + 0x53]
mov edi, ebx
test bl, bl
jns 0x45776c
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x4577b9
push 2
call fcn.00440a00
add esp, 4
test al, al
je 0x4577b9
lea ecx, [esp + 0x70]
push 2
push 0x774
push str....._base_trace_event_trace_log.cc
call fcn.00440a60
lea eax, [esp + 0x78]
test bl, bl
jns 0x4577a1
mov ecx, dword [esp + 0x48]
jmp 0x4577a5
lea ecx, [esp + 0x48]
push edi
push ecx
push eax
call fcn.004158b0
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.00440e70
test esi, esi
je 0x4577cd
mov ecx, esi
call fcn.004779a0
push esi
call fcn.004a7ee0
add esp, 4
cmp byte [esp + 0x53], 0
mov ebx, dword [ebp + 8]
jns 0x4577e3
push dword [esp + 0x48]
call fcn.004a7ee0
add esp, 4
mov esi, dword [esp + 0x2c]
mov ecx, esi
push 0
call fcn.0046d930
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
test dword [ecx*4 + 0x4fdb64], eax
je 0x45780a
push esi
call fcn.004435f0
add esp, 4
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.004a8de3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x38
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x587
push str....._buildtools_third_partylibc_trunkinclude_vector
push str._s:_d:_assertion__s_failed:__s
call fcn.00416514
mov ecx, dword [esp + 0x28]
call fcn.00451e10
jmp 0x457607
int3