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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
cmp byte [ecx + 0x413], 0
jne 0x4bdec8
cmp dword [ecx + 0x400], 0
mov esi, ecx
je 0x4bdeac
lea edi, [esp + 0xc]
mov edx, esi
mov ecx, edi
call fcn.004bd977
cmp byte [edi], 4
je 0x4bdd36
mov eax, dword [esp + 0xc]
cmp al, 4
jne 0x4bdeb3
mov eax, dword [esi + 0x404]
test eax, eax
je 0x4bdeac
mov edi, dword [esi + 0x40c]
lea ecx, [esi + 0x410]
push 3
pop ebx
mov edx, ebx
push 0x58be70
push eax
call fcn.004646c5
pop ecx
pop ecx
mov ecx, eax
mov ebp, edx
mov eax, edx
xor edx, edx
div ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 4], ecx
shl eax, 2
test edx, edx
je 0x4bdd9b
cmp byte [edi], 0
je 0x4bdda8
add eax, 4
setb cl
cmp ebp, 0xbfffffff
ja 0x4bdedc
test cl, cl
je 0x4bddeb
jmp 0x4bdedc
cmp ebp, 0xc0000000
jb 0x4bddeb
jmp 0x4bdedc
cmp edx, 1
je 0x4bddda
cmp edx, 2
je 0x4bdddd
lea ecx, [esp + 0xc]
mov eax, esp
mov edx, 0x53d520
mov dword [ecx], 0x53d518
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
and dword [ecx + 0xc], 0
call fcn.00537260
push 2
pop ebx
cmp ebp, 0xbfffffff
ja 0x4bdedc
or eax, ebx
cmp eax, 0x401
jae 0x4bdeee
xor ebx, ebx
mov ebp, edi
xor ecx, ecx
mov dword [esp + 8], eax
mov edx, eax
push 0x58bff4
push 0x400
push esi
call fcn.00464705
add esp, 0xc
mov edi, edx
mov edx, dword [esp + 4]
mov ecx, ebp
mov dword [esp + 4], edi
push edi
mov dword [esp + 0x28], eax
push eax
push dword [esp + 0x30]
call fcn.0042202a
add esp, 0xc
cmp byte [ebp], 0
je 0x4bde81
mov edx, dword [esp + 0x24]
mov edi, eax
mov ecx, eax
push 0x58bf08
push dword [esp + 8]
call fcn.0047dc4f
pop ecx
pop ecx
mov ebp, dword [esp + 8]
mov ecx, edi
neg ecx
and ecx, 3
cmp ecx, ebx
je 0x4bde6b
cmp edx, ebx
je 0x4bded0
mov byte [eax + ebx], 0x3d
inc ebx
jmp 0x4bde5c
add edi, ecx
jae 0x4bde85
push 0x2a
pop edx
mov ecx, 0x58bf18
push 0x58bf44
call fcn.005376f0
mov ebp, dword [esp + 8]
lea edi, [esp + 0xc]
mov edx, esi
mov dword [esi + 0x408], ebp
mov ecx, edi
call fcn.004bd977
cmp byte [edi], 4
je 0x4bdea5
mov eax, dword [esp + 0xc]
cmp al, 4
jne 0x4bdeb3
and dword [esi + 0x404], 0
mov byte [esp + 0xc], 4
jmp 0x4bdebf
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0xc]
call fcn.00474cb2
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edx
push 0x53d530
call fcn.005372f0
push 0x2b
pop edx
mov ecx, 0x58bf54
push 0x58bfe4
call fcn.005376f0
mov eax, esp
push 0x16
pop edx
mov ecx, str.buffer_is_large_enough
push 0x58be98
push 0x58a638
push eax
call fcn.00537670
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
lea eax, [esi + 0x90]
mov edx, dword [ebp + 0xc]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x505dc0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov eax, dword [edx]
test eax, eax
mov dword [esi + 8], eax
je 0x4be184
mov eax, dword [ebp + 0x10]
and dword [esi + 0x98], 0
mov dword [esi + 0x18], 2
mov byte [esi + 7], 1
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
call fcn.004f1452
and word [esi + 0x30], 0
cmp al, 2
mov byte [esi + 0x32], 0
jne 0x4bdf8e
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
jmp 0x4bdfb6
lea ecx, [esi + 0x30]
mov byte [esi + 7], 1
mov dword [esi + 0xc], eax
call fcn.004f14b8
mov ecx, dword [esi + 0xc]
test cl, 1
jne 0x4be083
mov eax, ecx
shr eax, 0x10
mov dword [esi + 0x10], eax
mov al, ch
mov dword [esi + 0xc], eax
mov edx, dword [esi + 8]
lea ecx, [esi + 0x18]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x98], 1
push dword [esi + 0x14]
push ecx
push edx
call eax
add esp, 0xc
mov ecx, dword [esi + 0x18]
movsd xmm0, qword [esi + 0x1c]
mov edx, dword [esi + 0x2c]
xor eax, eax
mov byte [esi + 7], 0
mov dword [esi + 8], ecx
cmp ecx, 2
movzx ecx, byte [esi + 0xc]
movsd qword [esi + 0x68], xmm0
movsd xmm0, qword [esi + 0x24]
mov dword [esi + 0x78], edx
movzx edx, byte [esi + 0x10]
cmovne ecx, eax
and dword [esi + 0x98], 0
movsd qword [esi + 0x70], xmm0
call fcn.004f1432
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 8]
cmp ecx, 2
je 0x4be095
movsd xmm0, qword [esi + 0x68]
movsd xmm1, qword [esi + 0x70]
mov eax, dword [esi + 0x78]
test ecx, ecx
mov dword [esi + 0x30], ecx
movsd qword [esi + 0x34], xmm0
movsd qword [esi + 0x3c], xmm1
mov dword [esi + 0x44], eax
je 0x4be0a0
movsd xmm0, qword [esi + 0x38]
movsd xmm1, qword [esi + 0x40]
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x50], xmm1
mov eax, dword [esi + 0x48]
test eax, eax
mov dword [esi + 8], eax
jne 0x4be196
lea edx, [esi + 0x38]
lea ecx, [esi + 0x18]
mov dword [esi + 0x98], 2
call fcn.004511b2
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
xor edi, edi
jmp 0x4be0b0
or dword [esi + 0x98], 0xffffffff
lea ecx, [esi + 0x18]
call fcn.0045472f
mov edx, dword [ebp + 8]
mov dword [edx], 2
jmp 0x4be16e
mov edi, dword [esi + 0x34]
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
test edi, edi
je 0x4be07f
mov ebx, dword [esi + 0x40]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x58], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x98], 3
call fcn.004a7870
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4be12d
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x98], 4
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x24], eax
push 0x10
pop ecx
push 4
pop edx
call fcn.004eca76
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
xor edx, edx
mov ecx, 0x58d4bc
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x4be161
mov eax, dword [esi + 8]
mov dword [esi + 0x98], 5
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x1c], eax
push 8
pop ecx
push 4
pop edx
call fcn.004eca76
mov ecx, dword [esi + 8]
xor edx, edx
inc edx
mov dword [eax], ecx
mov ecx, dword [esi + 0x14]
mov dword [eax + 4], ecx
mov ecx, 0x588b14
mov edi, dword [ebp + 8]
mov dword [edi], edx
mov edx, edi
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
mov eax, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x36
pop edx
mov ecx, 0x588bc0
push 0x588bf8
call fcn.005381fc
lea eax, [esi + 0x48]
lea edx, [esi + 0x80]
lea ecx, [esi + 0x18]
mov dword [esi + 0x98], 2
mov dword [edx], eax
xor eax, eax
mov dword [ecx], str.gai_background_task_failed:_4eW
mov dword [edx + 4], 0x4f6835
inc eax
mov dword [ecx + 4], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 8], edx
mov edx, 0x576558
mov dword [ecx + 0xc], eax
call fcn.00537260
ud2