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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov edi, edx
lea ecx, [esi + 0x80]
mov dword [esp], ecx
call fcn.0052eb24
xor ecx, ecx
cmp eax, edx
je 0x53887a
mov eax, dword [edx - 8]
mov edx, dword [edx - 4]
add eax, 0xffffffff
adc edx, 0xffffffff
xor ebx, ebx
inc ebx
jmp 0x53887c
xor ebx, ebx
mov dword [edi + 4], ecx
mov dword [edi], ebx
mov dword [edi + 8], eax
mov eax, 0xf4240
mov dword [edi + 0xc], edx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x14], 0
mul dword [esi + 0xb0]
imul esi, dword [esi + 0xb4], 0xf4240
mov edi, eax
mov ebx, edx
mov eax, ecx
xor edx, edx
mov ecx, 0x3e8
div ecx
add eax, edi
adc esi, ebx
shrd eax, esi, 3
shr esi, 3
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov eax, dword [0x7f50bc]
cmp eax, 5
jb 0x538a1b
mov edi, dword [0x7f2fdc]
lea esi, [esp + 0x30]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esi], 5
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
call fcn.00513e14
mov ebx, edx
push esi
mov dword [esp + 0x10], eax
push eax
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x538a1b
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x40]
movsd xmm0, qword [esp + 0x30]
mov dword [esp + 8], ebx
mov dword [ecx + 8], eax
mov eax, dword [0x7f2fdc]
movsd qword [ecx], xmm0
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
add eax, 0x1c
mov dword [esp + 4], edx
lea edx, [esp + 0x8c]
and dword [edx + 0x10], 0
mov dword [edx + 0x14], esi
mov dword [edx], ecx
mov ecx, dword [esp + 4]
mov dword [edx + 4], esi
mov dword [edx + 8], ebx
lea ebx, [esp + 0xa4]
mov dword [esp + 4], eax
mov dword [edx + 0xc], ecx
mov ecx, ebx
call fcn.0052f9c5
lea esi, [esp + 0x78]
mov edx, ebx
mov ecx, esi
push 0x76a474
call fcn.0052f9f9
pop eax
mov ecx, dword [esp]
lea eax, [esp + 0x3c]
mov dword [ebx], str.ACK___Delay__us
mov dword [ebx + 4], 3
and dword [ebx + 0x10], 0
mov edx, dword [esp + 0xc]
mov dword [eax], ecx
lea ecx, [esp + 0x68]
mov dword [ecx], eax
lea eax, [esp + 0x20]
mov dword [ecx + 4], 0x5245b6
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], 2
mov dword [ecx + 8], eax
lea eax, [esp + 0x5c]
mov dword [ecx + 0xc], fcn.0045fea0
mov ecx, edi
mov dword [eax], esi
mov dword [eax + 4], ebx
lea ebx, [esp + 0x50]
mov dword [eax + 8], 0x767e50
mov dword [ebx], eax
mov eax, dword [esp + 4]
mov dword [ebx + 4], 1
mov dword [ebx + 8], eax
push ebx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x10]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
lea ecx, [esp + 0x20]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x120]
test bl, bl
cmovne ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp]
call fcn.0052eb24
cmp eax, edx
mov dword [esp + 4], eax
je 0x538b6b
mov eax, dword [edx - 8]
mov ecx, ebx
mov ebx, edx
mov edi, dword [edx - 4]
mov esi, dword [ebp + 0xc]
movzx edx, cl
mov ecx, dword [ebx - 0xc]
mov dword [esp + 0xc], eax
add eax, 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 0x28], eax
mov eax, dword [ebx - 0x10]
mov dword [esp + 0x2c], ecx
mov ecx, esi
adc edi, 0xffffffff
or edx, 2
mov dword [esp], eax
push 0
call fcn.0052e929
pop eax
mov edx, dword [esp + 0x28]
mov ecx, esi
push edi
call fcn.0052e929
pop eax
mov edx, dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.0052e929
pop eax
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 0x80], eax
je 0x538ab7
mov edx, dword [ecx + 0x8c]
jmp 0x538abe
movzx edx, word [ecx + 0x88]
mov edi, dword [esp + 0x2c]
add ebx, 0xfffffff0
add edx, 0xffffffff
adc eax, 0xffffffff
mov esi, dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0052e929
pop eax
mov edx, dword [esp]
mov eax, edi
mov ecx, esi
not eax
not edx
add edx, dword [esp + 0xc]
adc eax, dword [esp + 8]
push eax
call fcn.0052e929
pop eax
cmp ebx, dword [esp + 4]
je 0x538b22
mov eax, dword [ebx - 8]
mov edx, dword [esp]
mov ecx, dword [ebx - 0x10]
mov esi, dword [ebx - 0xc]
mov dword [esp + 0xc], eax
not eax
mov dword [esp], ecx
add edx, eax
mov eax, dword [ebx - 4]
lea ebx, [ebx - 0x10]
mov dword [esp + 8], eax
not eax
adc edi, eax
mov eax, edi
mov edi, esi
jmp 0x538acb
cmp byte [esp + 0x10], 0
je 0x538b59
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0xc]
mov edx, dword [esi]
mov ecx, edi
push dword [esi + 4]
call fcn.0052e929
pop eax
mov edx, dword [esi + 8]
mov ecx, edi
push dword [esi + 0xc]
call fcn.0052e929
pop eax
mov edx, dword [esi + 0x10]
mov ecx, edi
push dword [esi + 0x14]
call fcn.0052e929
pop eax
mov eax, dword [ebp + 0x10]
add dword [eax], 1
adc dword [eax + 4], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x76ab18
call fcn.0062d7f0