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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x240
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x7f218c]
mov dword [esp + 0xd0], 2
mov dword [esp + 8], edx
mov dword [esp + 0xe0], ecx
lea edi, [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4da7e9
mov eax, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x184], edx
mov dword [esp + 0x188], esi
mov dword [esp + 0x18c], ecx
and dword [esp + 0x190], 0
jmp 0x4da7eb
xor eax, eax
lea ebx, [esp + 0x180]
lea esi, [esp + 0x80]
mov dword [ebx], eax
mov ecx, esi
mov edx, ebx
push 0x73a9e8
call fcn.0052f9f9
pop eax
mov ecx, dword [ebp + 8]
call fcn.00475272
lea edx, [esp + 0xc]
add eax, 0xcc
lea ecx, [esp + 0x24]
mov dword [ebx], esi
mov dword [edx], ebx
mov dword [edx + 4], 1
mov dword [edx + 8], edi
lea edi, [esp + 0xc8]
mov dword [ebx + 4], ecx
mov dword [ecx], eax
mov dword [ebx + 8], 0x73a77c
mov ecx, edi
call fcn.005de0b3
movsd xmm1, qword [edi + 8]
movsd xmm0, qword [edi]
movsd xmm2, qword [edi + 0x10]
movsd qword [esi + 8], xmm1
movsd xmm1, qword [edi + 0x18]
movsd qword [esi], xmm0
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 0x18], xmm1
cmp dword [esi + 8], 2
je 0x4da886
lea ecx, [esp + 0x88]
lea edx, [esp + 0x80]
call fcn.005de28d
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 8]
test eax, eax
je 0x4da906
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc8], 0x767490
mov dword [esp + 0xcc], 2
and dword [esp + 0xd8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], fcn.005d37d7
mov edx, str.tracing::span::active__
mov dword [esp + 0x180], ecx
mov dword [esp + 0x184], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x80]
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0xd4], 1
push eax
push 0x15
call fcn.0046f5dc
pop eax
pop ecx
mov esi, edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0047528a
lea edx, [eax + 0x64]
mov ecx, ebx
push esi
call fcn.004dab65
pop eax
cmp byte [esp + 0x180], 9
je 0x4daaff
push 0xb8
push ebx
lea edi, [esp + 0xd0]
push edi
call fcn.00616830
add esp, 0xc
mov eax, dword [0x7f50bc]
cmp eax, 5
jb 0x4daaf3
mov ebx, dword [0x7f2198]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x54], 5
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
call fcn.00513e14
mov esi, eax
mov edi, edx
lea eax, [esp + 0x54]
push eax
push esi
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4daae1
mov eax, dword [esp + 0x5c]
movsd xmm0, qword [esp + 0x54]
mov dword [esp + 0x4c], esi
mov esi, dword [0x7f2198]
mov dword [esp + 0x50], edi
mov dword [esp + 0x78], eax
movsd qword [esp + 0x70], xmm0
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
test edi, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
je 0x4da9e3
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
and dword [esp + 0x1c], 0
xor eax, eax
inc eax
mov dword [esp + 4], eax
mov eax, ecx
jmp 0x4da9ed
mov dword [esp + 4], 0
xor eax, eax
lea ecx, [esp + 0xa0]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], eax
push 0x73a9f8
call fcn.0052f9f9
pop eax
mov ecx, dword [esp + 4]
mov dword [esp + 0xc], 0x73aa10
mov dword [esp + 0x10], 1
and dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0x7b0e68
and dword [esp + 0x18], 0
mov eax, 0
cmp ecx, edi
jae 0x4daa52
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x24]
add esi, 0x1c
mov dword [esp + 0x24], eax
lea ecx, [esp + 0xb4]
mov edx, edi
push 0x73a9f8
call fcn.0052f9f9
pop eax
lea eax, [esp + 0xc8]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 2
mov dword [esp + 0x6c], esi
mov ecx, ebx
mov dword [esp + 0x60], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x2c], 0x737ff8
mov dword [esp + 0x30], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x38], 0x73aa18
push eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x58]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
mov esi, dword [esp + 8]
lea ebx, [esp + 0x180]
lea edi, [esp + 0xc8]
mov ecx, edi
call fcn.004dac40
jmp 0x4da908
lea ecx, [esp + 0x180]
call fcn.004dac35
mov ecx, edi
call fcn.0047528a
and dword [eax + 0xd8], 0
mov ecx, edi
call fcn.0047528a
mov ecx, dword [esp + 0x3c]
and dword [eax + 0xd4], 0
cmp dword [ecx + 0x3c], 1
jne 0x4dab48
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 0x40]
jne 0x4dab48
mov eax, dword [edi + 8]
cmp eax, dword [ecx + 0x44]
jne 0x4dab48
mov dword [ecx + 0x3c], 2
lea esi, [esp + 0x80]
mov ecx, esi
call fcn.0046f9d3
mov ecx, esi
call fcn.004d9b3b
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret