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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [esp + 0x98], eax
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
lea eax, [ecx + 0x18]
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x2c], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1003faea
movdqu xmm0, xmmword [edi]
sub esp, 0x10
movdqu xmmword [esp], xmm0
call fcn.1007bf40
add esp, 0x10
mov dword [esp + 0x20], esi
mov ebx, dword [esi + 0x34]
test ebx, ebx
je 0x1003f5e5
mov edi, eax
mov ecx, ebx
shr ecx, 1
and ecx, 0x55555555
mov eax, ebx
sub eax, ecx
mov ecx, 0x33333333
mov edx, eax
and edx, ecx
shr eax, 2
and eax, ecx
add eax, edx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul esi, ecx, 0x1010101
shr esi, 0x18
cmp esi, 1
jbe 0x1003facd
cmp edi, ebx
jb 0x1003fbc3
mov eax, edi
xor edx, edx
div ebx
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1003f5e5
mov ecx, dword [eax]
test ecx, ecx
je 0x1003f5e5
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
lea eax, [ebx - 1]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
cmp eax, edi
jne 0x1003f5c6
mov eax, dword [ecx + 8]
xor eax, dword [esp + 0xc]
mov edx, dword [ecx + 0xc]
xor edx, dword [esp + 0x18]
or edx, eax
jne 0x1003f5df
mov eax, dword [ecx + 0x10]
xor eax, dword [esp + 0x10]
mov edx, dword [ecx + 0x14]
xor edx, dword [esp + 0x30]
or edx, eax
je 0x1003f5f6
jmp 0x1003f5df
cmp esi, 1
jbe 0x1003fad7
cmp eax, ebx
jb 0x1003f5d9
xor edx, edx
div ebx
mov eax, edx
cmp eax, dword [esp + 0x14]
jne 0x1003f5e5
mov ecx, dword [ecx]
test ecx, ecx
jne 0x1003f599
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor edi, edi
jmp 0x1003f7be
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
xor eax, dword [0x1013ad34]
mov edx, dword [esi]
xor edx, dword [0x1013ad30]
or edx, eax
jne 0x1003f849
mov eax, dword [0x1013ad38]
xor eax, dword [esi + 8]
mov edx, dword [0x1013ad3c]
xor edx, dword [esi + 0xc]
or edx, eax
jne 0x1003f849
mov ebx, dword [ecx + 0x20]
xor eax, eax
cmp ebx, eax
je 0x1003f82a
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], eax
mov edi, dword [ebx + 0x1c]
cmp edi, dword [ebx + 0x20]
je 0x1003f752
lea edx, [edi + 0x10]
xor eax, eax
dec eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], edx
push edx
call fcn.10094680
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0x10]
mov eax, dword [esi + 4]
xor eax, dword [0x1013ad34]
mov ecx, dword [esi]
xor ecx, dword [0x1013ad30]
or ecx, eax
jne 0x1003f9dd
mov eax, dword [0x1013ad38]
xor eax, dword [esi + 8]
mov ecx, dword [0x1013ad3c]
xor ecx, dword [esi + 0xc]
or ecx, eax
jne 0x1003f9dd
cmp byte [edx + 0xc1], 0
jne 0x1003f719
mov word [edx + 0xc1], 0x101
cmp dword [edx + 4], 1
jne 0x1003f719
mov esi, dword [esp + 0x90]
cmp esi, dword [esp + 0x94]
je 0x1003f739
mov dword [esp + 0x18], edi
test esi, esi
je 0x1003fc71
mov edi, ebx
mov ebx, edx
mov ecx, esi
push dword [esp + 0xc]
call fcn.10094d50
add esi, 0x18
mov dword [esp + 0x90], esi
mov esi, dword [ebp + 0xc]
mov edx, ebx
mov ebx, edi
mov edi, dword [esp + 0x18]
mov eax, dword [edx + 4]
and eax, 0xfffffffe
cmp eax, 2
je 0x1003f88c
lea ecx, [esp + 0x40]
call fcn.100946f0
add edi, 0x28
jmp 0x1003f65f
lea ecx, [esp + 0x8c]
push dword [esp + 0xc]
mov esi, edx
call fcn.100210a0
mov edx, esi
mov esi, dword [ebp + 0xc]
jmp 0x1003f719
mov ebx, dword [ebx]
mov eax, dword [esp + 0x30]
cmp ebx, eax
jne 0x1003f65c
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1003f86d
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
cmp esi, edi
je 0x1003f79a
mov ecx, dword [ebx + 0x14]
push esi
call fcn.1006eaf0
add esi, 0x18
jmp 0x1003f788
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x10]
jne 0x1003fa5d
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
cmp esi, ebx
jne 0x1003faf8
mov esi, dword [esp + 0x80]
test esi, esi
jne 0x1003fb86
test edi, edi
jne 0x1003fabf
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x1003f812
mov esi, dword [esp + 0x90]
mov eax, edi
cmp esi, edi
je 0x1003f802
add esi, 0xffffffe8
mov ecx, esi
call fcn.10094ce0
cmp esi, edi
jne 0x1003f7ed
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x90], edi
push eax
call fcn.100c1c31
add esp, 4
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.100c2603
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x1003f776
add ecx, 0x18
mov eax, esi
lea esi, [esp + 0x40]
push eax
push esi
call fcn.1010f7e0
mov ebx, dword [esi]
test ebx, ebx
je 0x1003f5e5
mov eax, dword [ebx]
mov esi, dword [ebp + 0xc]
jmp 0x1003f630
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x70]
push eax
push edx
call fcn.1006e160
jmp 0x1003f77a
mov dword [esp + 0x1c], edx
mov dword [edx + 4], 4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
cmp eax, edx
jne 0x1003fbca
sub edx, dword [esp + 0x14]
mov eax, edx
sar eax, 4
mov dword [esp + 0x10], eax
inc eax
cmp eax, 0x10000000
jae 0x1003fae0
mov ecx, edx
sar ecx, 3
cmp ecx, eax
cmovbe ecx, eax
mov dword [esp + 0x28], edx
cmp edx, 0x7ffffff0
mov esi, 0xfffffff
cmovb esi, ecx
test esi, esi
je 0x1003fbee
cmp esi, 0x10000000
jae 0x1003fae5
mov eax, esi
shl eax, 4
push eax
call fcn.100c1c01
add esp, 4
mov edx, dword [esp + 0x10]
shl edx, 4
add edx, eax
je 0x1003fc71
mov ecx, dword [esp + 0xc]
movdqu xmm0, xmmword [ecx]
movdqu xmmword [edx], xmm0
push dword [esp + 0x28]
push dword [esp + 0x18]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
call fcn.100c4df0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add esp, 0xc
shl esi, 4
add esi, ecx
add eax, 0x10
test edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], esi
jne 0x1003fbf5
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
xor eax, eax
lea esi, [esp + 0x64]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
add ecx, 0x88
push esi
call fcn.100a9400
mov ecx, dword [esp + 0x1c]
push esi
call fcn.100a8b30
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x1003fc09
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x1003f728
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x68]
mov edi, ecx
mov esi, ecx
cmp eax, ecx
je 0x1003f9c4
mov edx, eax
mov edi, edx
add edi, 0xfffffffc
push edi
call fcn.100942d0
add esp, 4
mov edx, edi
cmp edi, esi
jne 0x1003f9ac
mov edi, dword [esp + 0x64]
mov dword [esp + 0x68], esi
push edi
call fcn.100c1c31
add esp, 4
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x18]
jmp 0x1003f728
mov dword [esp + 0x18], ebx
movdqu xmm0, xmmword [edx + 8]
movdqa xmmword [esp + 0x70], xmm0
mov eax, dword [edx + 0x50]
mov dword [esp + 0x3c], eax
mov esi, dword [edx + 0x54]
add eax, 1
mov ecx, esi
adc ecx, 0
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], ecx
lea eax, [edx + 0x18]
mov dword [esp + 0x38], eax
push 0x40
mov ebx, edx
call fcn.100c1c01
add esp, 4
mov dword [esp + 0x34], eax
mov ecx, eax
push dword [ebx + 0x7c]
mov dword [esp + 0x20], ebx
push dword [ebx + 0x78]
push esi
push dword [esp + 0x48]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
call fcn.10087870
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x1003fca2
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x1003f6c1
mov ebx, edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x14]
mov dword [esp + 0xc], eax
push pe_nt_image_headers32
call fcn.100c1c01
add esp, 4
mov esi, eax
mov ecx, eax
mov eax, 0x1013ad30
push eax
push 0x1013ad40
push ebx
push edi
xor edx, edx
dec edx
push edx
push edx
push eax
push eax
call fcn.10087780
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xc]
push eax
call fcn.100eeae0
mov ecx, edi
push ebx
push edi
mov edi, dword [esp + 0x1c]
call fcn.1003f480
add ebx, 0x10
cmp ebx, dword [esp + 0x10]
je 0x1003f7a8
jmp 0x1003fa5f
push edi
call fcn.100c1c31
add esp, 4
jmp 0x1003f7d5
lea edx, [ebx - 1]
and edx, edi
jmp 0x1003f55c
and eax, dword [esp + 0x24]
jmp 0x1003f5d9
call fcn.100d5450
call fcn.100ebe10
mov ecx, dword [esp + 0x2c]
call fcn.10084100
jmp 0x1003f4ec
mov eax, dword [esi]
mov ecx, dword [eax + 0x50]
cmp ecx, dword [eax + 0x4c]
je 0x1003fb72
mov dword [esp + 0xc], 0
xor edi, edi
xor eax, eax
dec eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
lea ecx, [esp + 0x40]
call fcn.10094d10
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
add eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x40]
push edx
push eax
call fcn.100879e0
test eax, eax
jne 0x1003fb54
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x40]
push eax
call fcn.1008cb40
lea ecx, [esp + 0x40]
call fcn.10094ce0
mov eax, dword [esi]
mov ecx, dword [eax + 0x50]
sub ecx, dword [eax + 0x4c]
inc edi
sar ecx, 4
add dword [esp + 0xc], 0x10
cmp edi, ecx
jb 0x1003fb0c
add esi, 4
cmp esi, ebx
mov edi, dword [esp + 0x14]
je 0x1003f7be
jmp 0x1003faf8
mov ebx, edi
mov edi, dword [esp + 0x84]
mov eax, esi
cmp edi, esi
je 0x1003fbac
add edi, 0xfffffffc
push edi
call fcn.100942d0
add esp, 4
cmp edi, esi
jne 0x1003fb95
mov eax, dword [esp + 0x80]
mov dword [esp + 0x84], esi
push eax
call fcn.100c1c31
add esp, 4
mov edi, ebx
jmp 0x1003f7cd
mov edx, edi
jmp 0x1003f55c
test eax, eax
je 0x1003fc71
mov eax, dword [esp + 0xc]
movdqu xmm0, xmmword [eax]
mov eax, dword [esp + 0x10]
movdqu xmmword [eax], xmm0
add eax, 0x10
mov dword [esp + 0x10], eax
jmp 0x1003f95a
xor eax, eax
jmp 0x1003f8fe
push edx
mov esi, ecx
call fcn.100c1c31
add esp, 4
mov dword [esp + 0x14], esi
jmp 0x1003f95a
mov dword [esp + 0xc], eax
mov esi, ecx
mov eax, dword [esp + 0x84]
cmp eax, dword [esp + 0x88]
jae 0x1003fc3b
test eax, eax
je 0x1003fc71
mov edx, esi
mov ecx, dword [esi]
mov dword [esi], 0
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x84], eax
jmp 0x1003fc52
lea ecx, [esp + 0x80]
push esi
call fcn.10094310
lea eax, [esp + 0x80]
mov eax, dword [eax + 4]
cmp dword [esp + 0x80], eax
je 0x1003fc84
mov ecx, esi
add ecx, 4
mov esi, ecx
cmp ecx, dword [esp + 0xc]
jne 0x1003fc16
mov ecx, dword [esp + 0x64]
jmp 0x1003f98f
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
jmp 0x1003fc98
push str.back___called_on_an_empty_vector
push str._empty__
push 0x22a
push str....._buildtools_third_partylibc_trunkinclude_vector
push str._s:_d:_assertion__s_failed:__s
call fcn.100f2480
mov eax, dword [esi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push 1
call ebx
jmp 0x1003fa45