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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov esi, esp
mov dword [esi + 0xd0], ebp
mov dword [esi + 0xd4], esp
mov dword [esi + 0xe0], 0xffffffff
mov dword [esi + 0xdc], 0x481880
mov edi, dword [ebp + 8]
lea eax, [esi + 0xd8]
lea ebx, [esi + 0x24]
mov ecx, dword fs:[0]
mov dword [esi + 0xd8], ecx
mov dword fs:[0], eax
lea eax, [edi + 0x10]
mov dword [esi + 0x70], eax
cmp byte [edi + 0x20], 0
mov dword [esi + 0xe0], 0xffffffff
jne 0x481374
push 1
push edi
call fcn.0045fa80
add esp, 8
push edi
call fcn.0045fc00
add esp, 4
test eax, eax
je 0x481050
push 1
push dword [ebp + 0xc]
push edi
push ebx
call fcn.0045f2a0
add esp, 0x10
movzx eax, byte [esi + 0x24]
cmp eax, 6
jne 0x4812c7
push dword [ebp + 0xc]
push dword [esi + 0x70]
lea eax, [esi + 0x74]
push eax
call fcn.0046b4d0
add esp, 0xc
mov eax, dword [esi + 0x74]
cmp eax, 2
je 0x481346
test eax, eax
je 0x4810a0
mov edi, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
mov ecx, dword [ebp + 8]
test edi, edi
je 0x4813c2
mov dword [esi + 0x48], edi
mov dword [esi + 0x8c], edx
mov dword [esi + 0x4c], edx
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x84]
mov dword [esi + 0x88], edi
mov edi, dword [esi + 0x80]
cmp dword [edx], 0
mov dword [esi + 0x54], eax
mov dword [esi + 0x68], edi
mov dword [esi + 0x50], edi
je 0x4810c7
cmp dword [ecx + 0x18], 0
sete al
jmp 0x4810e5
push dword [ebp + 0xc]
push edi
push ebx
call fcn.0045f7a0
add esp, 0xc
movzx eax, byte [esi + 0x24]
test eax, eax
jne 0x481338
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [esi + 0x6c], eax
jne 0x480fd2
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call fcn.0045f7a0
add esp, 0xc
movzx eax, byte [esi + 0x24]
test eax, eax
je 0x481069
jmp 0x4812ae
push 0
mov edi, dword [ebp + 8]
push edi
call fcn.0045fa80
add esp, 8
cmp dword [edi + 0x10], 0
je 0x48117e
cmp dword [edi + 0x18], 0
jne 0x481192
jmp 0x481532
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov byte [esi + 6], 1
mov dword [esi + 0xe0], 0
push eax
call dword [ecx + 0x14]
add esp, 4
mov ecx, dword [ebp + 8]
mov byte [esi + 7], al
mov eax, dword [0x69b710]
mov eax, dword [eax]
test eax, eax
je 0x481156
movsd xmm0, qword [esi + 0x48]
movsd xmm1, qword [esi + 0x50]
lea eax, [esi + 0xbc]
mov byte [esi + 6], 0
mov dword [esi + 0xe0], 0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
movzx eax, byte [esi + 7]
mov dword [esi + 0xb8], 0
push eax
lea eax, [esi + 0xb8]
push eax
push ecx
call fcn.0045fd70
add esp, 0xc
cmp al, 0xc
jne 0x4813d3
cmp byte [esi + 7], 0
jne 0x4813ef
mov edi, dword [ebp + 8]
lea ebx, [esi + 0x24]
jmp 0x480f86
mov eax, dword [0x69a6c8]
movzx eax, byte [eax + 8]
test al, al
je 0x4810f3
movzx ecx, al
cmp ecx, 1
je 0x4811c2
cmp ecx, 2
jne 0x48119b
mov dword [esi + 0xe0], 0
mov al, 2
jmp 0x4811c2
mov eax, dword [edi + 0x18]
push dword [edi + 0x14]
call dword [eax + 0x14]
add esp, 4
test al, al
jne 0x481532
mov byte [edi + 0x20], 1
jmp 0x480f86
mov byte [esi + 6], 1
mov dword [esi + 0xe0], 0
push dword [0x69a6c8]
call fcn.0059e2f0
add esp, 4
mov ecx, dword [ebp + 8]
test al, al
je 0x4810f3
mov ecx, dword [0x69a6c8]
movzx eax, al
mov byte [esi + 6], 1
mov dword [esi + 0xe0], 0
mov ecx, dword [ecx]
push eax
push ecx
call fcn.005313d0
add esp, 8
mov ecx, dword [ebp + 8]
test al, al
je 0x4810f3
mov eax, dword [0x69a6c8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x48157d
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea edi, [esi + 0x94]
mov dword [esi + 8], 0x60a5d8
mov dword [esi + 0xc], 2
mov dword [esi + 0x18], 0
mov byte [esi + 6], 1
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 1
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ecx
lea ecx, [eax + 0x1c]
movlps qword [esi + 0x2c], xmm0
mov dword [esi + 0x34], 0
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x90], ecx
lea ecx, [esi + 0x90]
mov dword [esi + 0x58], ecx
lea ecx, [esi + 7]
mov dword [esi + 0x5c], fcn.00598a80
mov dword [esi + 0x60], ecx
lea ecx, [esi + 0x58]
mov dword [esi + 0x64], fcn.00595060
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x14], 2
mov dword [esi + 0x94], ecx
lea ecx, [esi + 8]
mov dword [esi + 0x98], ecx
lea ecx, [esi + 0x3c]
mov dword [esi + 0x9c], 0x609d18
push ecx
push eax
call fcn.00531b00
add esp, 8
mov ecx, dword [ebp + 8]
jmp 0x4810f3
cmp eax, 2
je 0x481350
cmp eax, 3
je 0x481346
xor ecx, ecx
jmp 0x4813f9
cmp eax, 5
jne 0x48139f
mov edi, dword [esi + 0x28]
mov eax, dword [0x69b710]
mov dword [esi + 0x3c], edi
mov eax, dword [eax]
cmp eax, 1
ja 0x481519
mov ebx, dword [0x69a6cc]
movzx eax, byte [ebx + 8]
test al, al
je 0x481519
movzx ecx, al
cmp ecx, 1
je 0x48130b
cmp ecx, 2
jne 0x481557
mov al, 2
movzx eax, al
push eax
push dword [ebx]
call fcn.005313d0
add esp, 8
test al, al
je 0x481519
mov eax, dword [ebx]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x48149b
push 0x60a574
jmp 0x48159c
cmp eax, 2
je 0x481350
cmp eax, 3
jne 0x4813f6
mov ebx, 1
jmp 0x48153f
sub esp, 4
push 9
call fcn.004e0c60
add esp, 8
mov edi, eax
push 0x28
push str.send_stream_capacity_unexpectedly_closed
push eax
call fcn.0048f9a0
add esp, 0xc
jmp 0x48152e
push 1
push dword [ebp + 0xc]
push edi
push ebx
call fcn.0045f2a0
add esp, 0x10
movzx eax, byte [esi + 0x24]
cmp eax, 5
je 0x48143d
cmp eax, 6
jne 0x48139f
xor ebx, ebx
push dword [ebp + 8]
jmp 0x481535
movsd xmm0, qword [esi + 0x34]
movsd xmm2, qword [esi + 0x24]
movsd xmm1, qword [esi + 0x2c]
movsd qword [esi + 0x18], xmm0
movsd qword [esi + 0x10], xmm1
movsd qword [esi + 8], xmm2
jmp 0x481520
xor ebx, ebx
push edx
push ecx
call fcn.00489980
add esp, 8
jmp 0x48153d
mov byte [esi + 8], 3
mov byte [esi + 9], al
lea eax, [esi + 8]
mov byte [esi + 6], 0
push eax
call fcn.0048f550
add esp, 4
jmp 0x48152c
xor edi, edi
jmp 0x48152e
mov ecx, dword [esi + 0x6c]
movzx eax, byte [esi + 0x25]
movsd xmm0, qword [esi + 8]
movsd xmm1, qword [esi + 0x10]
mov byte [esi + 0xa0], 3
xor ebx, ebx
mov byte [esi + 0xa1], al
lea eax, [esi + 0xa0]
mov dword [esi + 0xa4], ecx
movsd qword [esi + 0xa8], xmm0
movsd qword [esi + 0xb0], xmm1
push eax
call fcn.0048f550
jmp 0x48153a
mov edi, dword [esi + 0x28]
mov eax, dword [0x69b710]
mov dword [esi + 0x3c], edi
mov eax, dword [eax]
cmp eax, 1
ja 0x481519
mov ebx, dword [0x69a6c4]
movzx eax, byte [ebx + 8]
test al, al
je 0x481519
movzx ecx, al
cmp ecx, 1
je 0x481478
cmp ecx, 2
jne 0x48156a
mov al, 2
movzx eax, al
push eax
push dword [ebx]
call fcn.005313d0
add esp, 8
test al, al
je 0x481519
mov eax, dword [ebx]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x481597
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esi + 8], 0x60a5a0
mov dword [esi + 0xc], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0x3c]
movlps qword [esi + 0x2c], xmm0
mov dword [esi + 0x34], 0
mov dword [esi + 0x48], ecx
lea ecx, [esi + 0x48]
mov dword [esi + 0x4c], fcn.0050f9f0
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x14], 1
mov dword [esi + 0x58], ecx
lea ecx, [esi + 0x58]
mov dword [esi + 0x74], ecx
lea ecx, [eax + 0x1c]
mov dword [esi + 0x78], 1
mov dword [esi + 0x7c], ecx
lea ecx, [esi + 8]
mov dword [esi + 0x5c], ecx
lea ecx, [esi + 0x74]
mov dword [esi + 0x60], 0x609d18
push ecx
push eax
call fcn.00531b00
add esp, 8
mov edi, dword [esi + 0x3c]
mov byte [esi + 8], 2
mov dword [esi + 0xc], edi
lea eax, [esi + 8]
push eax
call fcn.0048f550
add esp, 4
mov edi, eax
xor ebx, ebx
jmp 0x48153f
xor ebx, ebx
push edi
call fcn.00489b30
add esp, 4
mov edi, eax
mov eax, dword [esi + 0xd8]
mov edx, edi
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
call fcn.0059e2f0
add esp, 4
test al, al
jne 0x48130b
jmp 0x481519
push ebx
call fcn.0059e2f0
add esp, 4
test al, al
jne 0x481478
jmp 0x481519
mov byte [esi + 6], 1
push 0x60a5a8
push 0x22
push 0x609c42
call fcn.005a0a40
add esp, 0xc
ud2
push 0x60a5e8
push 0x22
push 0x609c42
call fcn.005a0a40
add esp, 0xc
ud2